Ad Widget

Collapse

cluster monitor

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • HEMA1
    Member
    • Jun 2008
    • 33

    #1

    cluster monitor

    Hey!
    Does any one know how to create a trigger on:
    If 2 of 5 servers is down, I am expecting something like {Host1:status.sum(20)}=0 & {Host2:status.sum(20)}=0 & {Host3:status.sum(20)}=0 & and so on ???
    Any ideas?
  • nelsonab
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2006
    • 1233

    #2
    My first though is to use an aggregate host and go from there. You'll want to be sure that the item you are aggregating has a maximum value of 1 and a minimum of 0 (or something equally rigid). Then if the status you are aggregating falls to three throw a trigger.
    RHCE, author of zbxapi
    Ansible, the missing piece (Zabconf 2017): https://www.youtube.com/watch?v=R5T9NidjjDE
    Zabbix and SNMP on Linux (Zabconf 2015): https://www.youtube.com/watch?v=98PEHpLFVHM

    Comment

    • HEMA1
      Member
      • Jun 2008
      • 33

      #3
      Tnx

      TNX grpsum did the trick

      Comment

      Working...