Ad Widget

Collapse

Triggers Flapping Between True and False

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • predatorz
    Senior Member
    • Mar 2007
    • 109

    #1

    Triggers Flapping Between True and False

    Hi, currently using zabbix 1.4.2..
    Notice that my triggers for simple check keep flapping true and false when the host that zabbix is monitoring is down for a period of time. Attached are the screenshots for the triggers and data collected in zabbix frontend. Why is the trigger going true and false when it is supposed to stay true till host back online? Did i write my trigger wrongly? the host is being monitored by internal IP address, which i specify in the host.

    Last edited by predatorz; 24-08-2007, 08:54.
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Do the math with these values. ZABBIX calculates everything perfectly.

    Perhaps you need something similar to (assuming you are running 1.4.2):

    {host:ftp.count(900,0,"ne")}=0
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • predatorz
      Senior Member
      • Mar 2007
      • 109

      #3
      Thanks Alexei.

      Okay, read through the count function in the latest manual.

      Have changed trigger to {Template:ftp.count(900,0,"eq")}=5
      Monitoring for any flaps again.

      Comment

      • predatorz
        Senior Member
        • Mar 2007
        • 109

        #4
        Hi,
        Intervals of checking: 180s
        all checks are simple check

        Suppose that i want zabbix to alert me via email if service/etc is down for 15 mins.
        I use the count function, is my below trigger correct?

        {Template:icmpping.count(900, 0,"eq")}=5 --> i believe that when zabbix gets 5 counts of '0', it will alert me(Trigger: TRUE meaning that host is down) and when zabbix get back a count of '1' after host is up it will turn TRIGGER back to FALSE).

        Is my understanding of zabbix correct or am i messed up in my thinking?
        Last edited by predatorz; 27-08-2007, 08:44.

        Comment

        • predatorz
          Senior Member
          • Mar 2007
          • 109

          #5
          I am using this trigger to check for service availability via simple check.
          Intervals of simple check:180s
          {Template:ssh.count(900,1,"lt")}=5
          Action is set to send email when trigger turns true and false.
          The host is down for extended period of time, but the trigger keep turning turn and false, generating a lot of emails, but from the data zabbix gathered is all '0'. Am i messed up in my thinking of how trigger works? Picture attached.

          Comment

          • predatorz
            Senior Member
            • Mar 2007
            • 109

            #6
            Update: After changing my trigger to use avg function, it does not flap anymore even for hosts that are down for extended period of time.

            Comment

            Working...