Hello everyone, I am working on creating a Synthetic Monitoring(using template Website by Zabbix) for internal web applications using Zabbix, and I am wondering is it possible from a Pseudo Host to monitor items or triggers on a different host?
In my setup I have two hosts that monitor single web application, each of these hosts uses separate zabbix proxy to monitor web application. In those hosts, among other things I have items for two web nodes that I am monitoring.
Since I get false positives from time to time with disaster severity, I got idea to create a Pseudo Host, lets call it **Synthetic Monitoring Critical Alerts**.
In that pseudo host, I would create a trigger that targets lets say Web node status items inside two separate host and trigger would activate only if both web nodes are down on both hosts, I have tried to accomplish this with sample expression in trigger:
However doing this, creates a trigger on the hosts WebApp1 by Proxy01 and WebApp1 by Proxy02, instead of pseudo host Synthetic Monitoring Critical Alerts. Also, on the pseudo host I tried creating an item that would point to and item from lets say host WebApp1 by Proxy01, but since it is a dependent item, I could not reference it from another host.
Did someone try creating a similar setup or cross-host triggers? Any input on this is appreciated.
In my setup I have two hosts that monitor single web application, each of these hosts uses separate zabbix proxy to monitor web application. In those hosts, among other things I have items for two web nodes that I am monitoring.
Since I get false positives from time to time with disaster severity, I got idea to create a Pseudo Host, lets call it **Synthetic Monitoring Critical Alerts**.
In that pseudo host, I would create a trigger that targets lets say Web node status items inside two separate host and trigger would activate only if both web nodes are down on both hosts, I have tried to accomplish this with sample expression in trigger:
Code:
last(/WebApp1 by Proxy01/website.web_primary_status)<>"Online" and last(/WebApp1 by Proxy01/website.web_secondary_status)<>"Online" and last(/WebApp1 by Proxy02/website.web_primary_status)<>"Online" and last(/WebApp1 by Proxy02/website.web_secondary_status)<>"Online"
Did someone try creating a similar setup or cross-host triggers? Any input on this is appreciated.
Comment