Ad Widget

Collapse

"Problems" overview shows outdated alerts

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rsterenb
    Member
    • Apr 2015
    • 31

    #1

    "Problems" overview shows outdated alerts

    Zabbix 4.2.5.

    I have a Zabbix Trapper item that collects text from failed checks, and a trigger that shows when the length of the item value is greater than 0. This works.

    However, if the item value changes, this does not show in the "Problems" screen. When I click the problem -> History, I can see that the text which is shown in the Problems screen does not match with the Latest data.

    Am I missing something? Is there any way I can fix this?


    Thanks,
    Rob


    Click image for larger version

Name:	Screenshot_20190807_102927.png
Views:	713
Size:	14.8 KB
ID:	383807
    Click image for larger version

Name:	Screenshot_20190807_103443.png
Views:	648
Size:	73.2 KB
ID:	383808
  • rsterenb
    Member
    • Apr 2015
    • 31

    #2
    I've checked and applied "Show latest values" but that doesn't solve the issue, it just adds an extra column.

    The issue is that in the "Problem" column, the trigger alert says:
    Code:
    DNS Zone Query - Timeout: assistantxxx.xxx,optimaflexxxxxx.xxx,travelinfoxxxxx.xxx
    According to "Latest data" it should show (for a number of days now):
    Code:
    DNS Zone Query - Timeout: optimaflexxxxxx.xxx
    Except.. it does not.

    I created the trigger with this name:
    Code:
    DNS Zone Query - Timeout: {ITEM.VALUE}
    I was expecting that {ITEM.VALUE} will also change the text shown in the Problems screen. Am I mistaken there?

    Comment

    • rsterenb
      Member
      • Apr 2015
      • 31

      #3
      Oooh.. Well, that kinda sucks. :/ Would have been nice if there was an {ITEM.CURRENTVALUE} or something similar macro instead so I can choose what I want to see in the Problems screen..

      In the docs I read:
      https://www.zabbix.com/documentation...ed_by_location: {ITEM.LASTVALUE} -> "Supported since 1.4.3. It is alias to {{HOST.HOST}:{ITEM.KEY}.last()}."
      https://www.zabbix.com/documentation...gers/functions: Trigger function "last()" -> "last() is always equal to last(#1)"

      Would this overcome the issue I'm having: {{HOST.HOST}:{ITEM.KEY}.last()}
      Otherwise I don't see how to show the current, latest or however you want to call it value in problem events.

      Comment

      • rsterenb
        Member
        • Apr 2015
        • 31

        #4
        I see. Quite a discussion of something that a lot of people found useful and that got removed.
        Tx for the info!

        Comment

        Working...