Hi,
I have create a dashboard widget showing Host Availability for a certain Host Group. The widget automatically shows available, non-available, unknown (I presume this is for maintenance) and total number of host in the Host Group.
I would like to replicate these "metrics' as items in my Zabbix Server host.
I have created an Aggregate Item
grpssum["LONDONHOST","agent.ping",last]
which give me the same figure as the "total" in the widget. I am wondering how it is possible to generate the number of "Not Available" hosts in a similar way?
grpssum["LONDONHOST","agent.ping=0",last] <= doesn't work
How does the widget fetch the data?
Thanks!
I have create a dashboard widget showing Host Availability for a certain Host Group. The widget automatically shows available, non-available, unknown (I presume this is for maintenance) and total number of host in the Host Group.
I would like to replicate these "metrics' as items in my Zabbix Server host.
I have created an Aggregate Item
grpssum["LONDONHOST","agent.ping",last]
which give me the same figure as the "total" in the widget. I am wondering how it is possible to generate the number of "Not Available" hosts in a similar way?
grpssum["LONDONHOST","agent.ping=0",last] <= doesn't work
How does the widget fetch the data?
Thanks!