Ad Widget

Collapse

eventlog trigger by mistake for a certain time

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • zabbixlan
    Junior Member
    • Feb 2022
    • 15

    #1

    eventlog trigger by mistake for a certain time

    Good afternoon

    I ask for help in creating a trigger for the eventlog, namely, it is necessary for the trigger to work after 3 reboots per hour

    Items
    eventlog[System,,Information,,6005,,skip]

    created this but does not work, what is the error, who knows?
    count(/HOST/eventlog[System,,Information,,6005,,skip],1h,,6005)>=3



  • Answer selected by zabbixlan at 17-10-2022, 11:15.
    Semiadmin
    Senior Member
    • Oct 2014
    • 1625

    Since your item only receives entries with an eventid 6005, there is no need to specify the eventid in the trigger:
    count(/HOST/eventlog[System,,Information,,6005,,skip],1h)>=3

    Comment

    • Semiadmin
      Senior Member
      • Oct 2014
      • 1625

      #2
      The count function in this trigger is looking for log entries with the text "6005", not entries with the eventid 6005

      Comment


      • zabbixlan
        zabbixlan commented
        Editing a comment
        Good afternoon Tell me how to specify to search with the identifier 6005 and not just 6005?
    • Semiadmin
      Senior Member
      • Oct 2014
      • 1625

      #3
      Since your item only receives entries with an eventid 6005, there is no need to specify the eventid in the trigger:
      count(/HOST/eventlog[System,,Information,,6005,,skip],1h)>=3

      Comment

      Working...