Real-time availability status panel from Zabbix agent

I’d like to have a panel with simple indication for a number of servers I have: online - green, offline - red. The data source is Zabbix - Status - Agent ping. It has 1 as value if there’s a connection to a box and doesn’t have any value when there’s now connection. So it is timestamp of the latest 1 value which one should use to find out if the box is online.

I can not find a proper way to make a visualization out of that info. Could you help, please?
Thank you.

Solved it myself with using the Status panel plugin ( ) and setting “Relative time” in query settings to “now-1m”