I am trying to use Zabbix web API to get the number of all items (belonging to hosts) on a Zabbix server, but it looks difficult to exclude those items belonging to templates. The only way I found is the following.
1. Get the list of host ids
2. Count items host by host
3. Add the counts together.
Is there a simpler way to do it?
1. Get the list of host ids
2. Count items host by host
3. Add the counts together.
Is there a simpler way to do it?