diff --git a/modules/monitoring/library/Monitoring/Controller.php b/modules/monitoring/library/Monitoring/Controller.php index 7c41f3e5a..0d14b0858 100644 --- a/modules/monitoring/library/Monitoring/Controller.php +++ b/modules/monitoring/library/Monitoring/Controller.php @@ -60,7 +60,7 @@ class Controller extends IcingaWebController 'Content-Disposition', 'inline; filename=' . $this->getRequest()->getActionName() . '.json' ) - ->appendBody(Json::encode($query->getQuery()->fetchAll())) + ->appendBody(Json::encode($query->fetchAll())) ->sendResponse(); exit; case 'csv':