Ad Widget

Collapse

Multiple Host Triggers

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • moranp
    Junior Member
    • Jan 2005
    • 2

    #1

    Multiple Host Triggers

    Hi,

    Is there a way to set triggers for multiple servers, for instance am running 2 webservers in active active mode, now if one fails thats a warning. However I wish to be able to check both webservers are not running to send a major alert.

    Is this possible and if so has anyone got a example I may use ?
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Sure:

    1. One of WEB servers is down

    ({server1.http.last(0)}=0)|({server2.http.last(0)} =0)


    or

    (({server1.http.last(0)}=0)&({server2.http.last(0) }=1))|(({server2.http.last(0)}=0)&({server1.http.l ast(0)}=1))

    2. Both server are down

    ({server1.http.last(0)}=0)&({server2.http.last(0)} =0)
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • moranp
      Junior Member
      • Jan 2005
      • 2

      #3
      Thanks

      Fantastic, just what I wanted

      Comment

      Working...