Alert on two query condition

Hello,

I would like to set up an alert that fires when an and condition is met between two queries. So, let’s say;
Query A: software_uptime
Query B: hardware_uptime
If A < 1 and B > 1, I want to let the alert fire. The queries A and B both contain the same keys.I am using a Zabbix datasource.

afbeelding
afbeelding
The desired format:
afbeelding

Thanks for your help in advance!

If you’re using zabbix datasource, refrain from using Grafana Alerting.

You already got Zabbix Triggers to do this calculation job, I would advice you to try to keep your business logic together in zabbix and use Grafana only to visualize the data. (In your case there’s the Triggers Pannel to show the alerts of triggers)

1 Like