MonitoringState: filter host_name, not name

fixes #189
This commit is contained in:
Thomas Gelf 2018-12-12 14:29:40 +01:00
parent 5c08a71bd7
commit 079352d3b8

View file

@ -67,7 +67,7 @@ class MonitoringState
return $this;
}
$hostFilter = Filter::expression('host', '=', $hosts);
$hostFilter = Filter::expression('host_name', '=', $hosts);
$hostStatus = $backend->select()->from('hostStatus', array(
'hostname' => 'host_name',