Ad Widget

Collapse

3 triggers configured, only 1 trigger monitored?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • degenaro
    Junior Member
    • Mar 2017
    • 9

    #1

    3 triggers configured, only 1 trigger monitored?

    I have 3 triggers defined for host X, all WARNING: Name1, Name2, Name3.

    When I navigate to the Monitors tab for status: any, I see only 1 trigger: Name1. The lower right says displaying 1 of 1 found.

    How come? Where are the other 2? I'm pretty sure this is a newbie problem, but I'm not seeing it yet...

    Thanks.

    Lou.
  • batchenr
    Senior Member
    • Sep 2016
    • 440

    #2
    Originally posted by degenaro
    I have 3 triggers defined for host X, all WARNING: Name1, Name2, Name3.

    When I navigate to the Monitors tab for status: any, I see only 1 trigger: Name1. The lower right says displaying 1 of 1 found.

    How come? Where are the other 2? I'm pretty sure this is a newbie problem, but I'm not seeing it yet...

    Thanks.

    Lou.
    1. is this a triggers you set on your own or templates?
    2.when you go to hosts tab you can see how many triggers every host have - do you see 1 or 3 ?
    if you see 1 then there is only 1 trigger connected and you should figure out
    where did you set the other 2
    if you see 3 and when you get in you see 1 - its filter issue, press on ALL tab

    Comment

    • degenaro
      Junior Member
      • Mar 2017
      • 9

      #3
      I figured it out. In addition to group:all and host: all, I need to set trigger status:any and then click the blue Filter button. Now all my triggers show up, PROBLEM and OK too.

      I was trying to set trigger status and hit enter or the refresh button on my browser and that did not yield the desired result.

      Comment

      • degenaro
        Junior Member
        • Mar 2017
        • 9

        #4
        Still no joy, though.

        In Configuration I changed the names of my triggers. Under Monitoring these changes appeared. Yay!

        I have 2 triggers that are the exact opposite of each other. Name1 says PROBLEM while Name 2 says OK as expected. I then swap the expressions of Name1 and Name2. But the Monitoring -> Triggers still shows the same status even though the expressions have been swapped. And the Last change column shows a date 21 hours old even though I just changed the Expression minutes ago. Why?

        I then add 2 new triggers Name10 and Name20 which are clones of Name1 and Name2 respectively. Under Monitoring both of these triggers show as OK and Last change Never. Why?

        Comment

        • degenaro
          Junior Member
          • Mar 2017
          • 9

          #5
          The expressions for my triggers are:

          {myhost:web.test.error["[degenaro] DUCC Broker"].str(OK)}=0

          and

          {myhost:web.test.error["[degenaro] DUCC Broker"].str(OK)}=1

          I look in the zabbix logs and see no evidence that the triggers are being evaluated. Should I? If there is nothing obvious that I'm doing wrong, is there some tracing I can turn on?

          Comment

          Working...