Ad Widget

Collapse

Create trigger that compares services running on two different hosts

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pyritejoe
    Junior Member
    • Aug 2022
    • 15

    #1

    Create trigger that compares services running on two different hosts

    Appologies if this is something already asked. I did some minor searching and either don't have the correct key words or something. I am trying to setup a trigger that will only go off if a service is not running on two seperate hosts. The service is scheduled job service and I need it to only trigger if both hosts do not have it running. Any help would be greatly appreciated.
    Edit: I am running zabbix 7.0.8 and below is the current template setup is below

    Problem: last(/Systemd Processes/custom.systemd.check[postfix])=0
    Recovery: last(/Systemd Processes/custom.systemd.check[postfix])=1​
    Last edited by pyritejoe; 03-07-2025, 17:55.
Working...