diff --git a/application/controllers/HostsController.php b/application/controllers/HostsController.php index 206a444..f77281a 100644 --- a/application/controllers/HostsController.php +++ b/application/controllers/HostsController.php @@ -39,7 +39,7 @@ class HostsController extends IcingadbGraphiteController $db = $this->getDb(); $hosts = Host::on($db)->with('state'); - $hosts->filter(Filter::equal('state.performance_data', '*')); + $hosts->filter(Filter::like('state.performance_data', '*')); $this->applyRestrictions($hosts); diff --git a/application/controllers/ServicesController.php b/application/controllers/ServicesController.php index 7355738..212ad1f 100644 --- a/application/controllers/ServicesController.php +++ b/application/controllers/ServicesController.php @@ -39,7 +39,7 @@ class ServicesController extends IcingadbGraphiteController $services = Service::on($db) ->with('state') ->with('host'); - $services->filter(Filter::equal('state.performance_data', '*')); + $services->filter(Filter::like('state.performance_data', '*')); $this->applyRestrictions($services);