Ad Widget

Collapse

log monitoring trigger help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • batchenr
    Senior Member
    • Sep 2016
    • 440

    #1

    log monitoring trigger help

    Hi,

    using zabbix 3.0 centos 6.7

    trying to monitor some log that i want to fire a trigger when :
    When it detects the string ","Failed response from google"" in the log, 3 times for the last hour.

    i did it like this -
    Code:
    {web3.com:log[/var/log/http.log,"Failed response from google"].count(#3,3600)}
    Code:
    {web3.com:log[/var/log/http.log,"Failed response from google"].regexp(""Failed response from google"",3600)}=1
    seems to work but the triggers stays forever, tried a few more ways nothing works.

    thanks
  • batchenr
    Senior Member
    • Sep 2016
    • 440

    #2
    Originally posted by batchenr
    Hi,

    using zabbix 3.0 centos 6.7

    trying to monitor some log that i want to fire a trigger when :
    When it detects the string ","Failed response from google"" in the log, 3 times for the last hour.

    i did it like this -
    Code:
    {web3.com:log[/var/log/http.log,"Failed response from google"].count(#3,3600)}
    Code:
    {web3.com:log[/var/log/http.log,"Failed response from google"].regexp(""Failed response from google"",3600)}=1
    seems to work but the triggers stays forever, tried a few more ways nothing works.

    thanks
    someone ? please suggest..

    Comment

    Working...