changed how zabbix syncs

This commit is contained in:
Luca Haid
2025-04-14 13:54:09 +02:00
parent 7c30a356dc
commit a55ee900d8
2 changed files with 3 additions and 5 deletions

View File

@@ -58,7 +58,7 @@ class Zabbix {
return $response['result'];
} elseif ($ip) {
$response = $this->zabbixRequest('host.get', array(
'search' => array('ip' => array($ip))
'search' => array('host' => array($ip))
));
return $response['result'];
}