Ad Widget

Collapse

Unable to get trigger status to go from PROBLEM back to OK +Zabbix 3.0

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zeb1026
    Junior Member
    • Jul 2016
    • 6

    #1

    Unable to get trigger status to go from PROBLEM back to OK +Zabbix 3.0

    Here is my item
    logrt["/var/log/bgtest.log",".*Busy Threads=([3-9][0-9]|[1-9][0-9]{2,}).*",,,skip,] (Collecting every 60 seconds)

    Here is my Trigger Expression -
    ({TRIGGER.VALUE}=0 and {bgtest-logfile-count-smps:logrt["/var/log/bgtest.log",".*Busy Threads=([3-9][0-9]|[1-9][0-9]{2,}).*",,,skip,].count(1m,"Busy Threads","like")}>16) or ({TRIGGER.VALUE}=1 and {bgtest-logfile-count-smps:logrt["/var/log/bgtest.log",".*Busy Threads=([3-9][0-9]|[1-9][0-9]{2,}).*",,,skip,].count(5m,"Busy Threads","like")}<10) or ({TRIGGER.VALUE}=1 and {bgtest-logfile-count-smps:logrt["/var/log/bgtest.log",".*Busy Threads=([3-9][0-9]|[1-9][0-9]{2,}).*",,,skip,].nodata(300)}=0)

    When I apply this template to my host and write the errors to the log... The trigger goes into a problem state. This is expected...
    However
    If I go 5 min with no data the trigger does not reset to OK.
    Or if I write only one message to the log each minute (to keep below the threshold) the trigger does not reset to OK.
Working...