Ad Widget

Collapse

How to suprress events generated from an UNKNOWN state/status to OK state/status

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chipmunk
    Junior Member
    • Mar 2015
    • 3

    #1

    How to suprress events generated from an UNKNOWN state/status to OK state/status

    Hello, I need help on how to suppress OK actions from events that are generated by a trigger of web scenario item when action condition has TRIGGER.VALUE=OK

    I have a web scenario item that monitors a healthcheck url endpoint. It would accept status codes like 200, 299, etc.

    Then I set up a trigger that reference to that item. The expression of the trigger would look like this:
    {SAMPLE_tmpl:web.test.rspcode[HEALTHCHECK,HEALCHECK_STEP].last(#1)}#200&{SAMPLE_tmpl:web.test.rspcode[HEALTHCHECK,HEALCHECK_STEP].last(#1)}#0

    The problem I have here is that every time I recreate/update a new web scenario using the api call, the OK actions/events would be generated even if the previous state is not PROBLEM. I believe the previous state is UNKNOWN.

    What’s weird is other triggers of other item types would not get triggered, only the triggers that references the web scenario would generate a spam of OK events.

    I also tried to set up a maintenance to suppress the actions/event but they were still get generated after the maintenance expired.

    Currently using zabbix version 2.2.2
    Any help would be greatly appreciated. Thank you very much.
    Attached Files
Working...