Hi,
I am trying to use the host.get jsonrpc API to retrieve host information but for certain hosts I get an empty array as an answer.
Even when I search the host in the web interface and search for the host id I see in the web interface I still get no hosts as result of the API call.
If I search for 2 hostids, one of them a hostid that does not show, I get a single host as reply, so the API seems to be working.
I have not been able to determine a pattern in the missing hosts.
NEVER MIND: it was a permission issue. The user had no permission to read the missing hosts.
I am trying to use the host.get jsonrpc API to retrieve host information but for certain hosts I get an empty array as an answer.
Even when I search the host in the web interface and search for the host id I see in the web interface I still get no hosts as result of the API call.
If I search for 2 hostids, one of them a hostid that does not show, I get a single host as reply, so the API seems to be working.
I have not been able to determine a pattern in the missing hosts.
NEVER MIND: it was a permission issue. The user had no permission to read the missing hosts.