Update api.zabbix.php

This commit is contained in:
Namhyeon Go 2019-04-15 16:02:59 +09:00 committed by GitHub
parent 3b920ba0e5
commit 6bfa4e9c63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,10 +8,9 @@
loadHelper("zabbix.api");
$zbx = get_zabbix_config();
$data = array();
$data['authenticate'] = zabbix_authenticate($zbx['host'], $zbx['username'], $zbx['password']);
$data['authenticate'] = zabbix_authenticate();
$data['hosts'] = zabbix_retrieve_hosts();
$data['items'] = array();