Ad Widget

Collapse

Get number of items by web API

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Liki Lee
    Junior Member
    • Dec 2020
    • 26

    #1

    Get number of items by web API

    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?
Working...