Best practices for calculating Server Availability % (SLA) with Zabbix and Grafana

Hello everyone,

I am looking for the most reliable way to display Server Availability as a percentage in a Grafana dashboard using data coming from Zabbix.

The Requirement: I need a Stat Panel that shows the SLA for the selected time range (e.g., Last 24h, 7 days, 30 days). The goal is to ensure that even short periods of downtime (less than a minute) are accurately reflected in the final percentage, avoiding “false 100%” results due to data dilution over long periods.

My Questions:

  1. Which Zabbix metrics or keys are considered “industry standard” for high-precision availability reporting in Grafana?

  2. What is the recommended workflow in Grafana (Transformations vs. Query Functions) to calculate this percentage correctly for multiple servers at once?

  3. Are there specific plugin functions or backend Zabbix configurations (like IT Services/SLA) that work better for visualization in Grafana?

I would appreciate any ideas, dashboard examples, or transformation logic that you use for professional infrastructure monitoring.

Thanks!

Hello @sabinosoliasbruno Welcome to grafana community
Zabbix metrics
icmpping,agent.ping,net.tcp.service[tcp,80]
Query functions preferred , you can use transformation Aggregation like reduce, sort by , add field from calculation.

Hello @infofcc3 , thanks for your feedback. Your idea was really usefull.
Now, I intend to have a dashboard which can show downtime of my servers, can you help me?