Ad Widget

Collapse

Trigger terms won't work in certain combinations

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gadget
    Junior Member
    • Jan 2006
    • 14

    #1

    Trigger terms won't work in certain combinations

    I've set up a trigger condition:

    ({Web.SRV.web4:net.tcp.service[ftp].last(0)}=0)

    ...which works.

    Another trigger condition:

    ({Web.SRV.web4:icmpping.last(0)}=1)

    ...works fine too.

    Now a combination of both these condition looks like this:

    ({Web.SRV.web4:net.tcp.service[ftp].last(0)}=0) & ({Web.SRV.web4:icmpping.last(0)}=1)

    ...and should become TRUE if the server is alive BUT httpd is down.

    But the value never gets ON or OFF but is always UNKNOWN!

    What am I doing wrong?
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    WHen you add or change a trigger it becomes UNKNOWN. Then, it changes status to either ON or OFF if and only if new values for each trigger's item is received. Perhaps (for example) you have refresh rate set to 5 minutes for FTP check and you waited only 4 minutes?
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • gadget
      Junior Member
      • Jan 2006
      • 14

      #3
      Originally posted by Alexei
      Perhaps (for example) you have refresh rate set to 5 minutes for FTP check and you waited only 4 minutes?
      No, every item I've set up has 30 seconds refresh time. It took me half an hour just to discover that these expressions never get a defined state, so that can't be the reason. Anyway, since I have set up depencencies I don't need this expression anymore. Nevertheless I think this might be a bug...

      Comment

      Working...