Hi,
I have the following php class for communicating with the api in php
Everything works ok but instead of it returning hosts as part of its test i get
"Retrieved maximum of five hosts: Array ( [0] => )"
returned.
What I would like to do is to code a page which will show a set of critical servers and services and their state without having to login to zabbix. So that users can see if there is a current issue. I've fiddled around with the api trying to get data out of different tables but all i get is the array return above.
It pulls off the api version etc so is managing to successfully connect.
Thanks in advance.
I have the following php class for communicating with the api in php
Everything works ok but instead of it returning hosts as part of its test i get
"Retrieved maximum of five hosts: Array ( [0] => )"
returned.
What I would like to do is to code a page which will show a set of critical servers and services and their state without having to login to zabbix. So that users can see if there is a current issue. I've fiddled around with the api trying to get data out of different tables but all i get is the array return above.
It pulls off the api version etc so is managing to successfully connect.
Thanks in advance.