Want to make average uptime for group of devices

Greetings!

I want to make average uptime among a few devices, for example i have 10 devices(monitoring by zabbix ICMP ping default template), one of them have 30% uptime, other ones are 100%. Average uptime is 93%.
Unfortunately didnt find something useful for my
Have a Zabbix+Grafana monitoring system. Any suggestions?

Usually you would get something like Prometheus to monitor the systems and get Grafana to visualize / display the uptime from that Prometheus data store.

Have a look at https://www.robustperception.io/what-percentage-of-time-is-my-service-down-for which might help.