Ad Widget

Collapse

get log details in email

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • majorkuso
    Junior Member
    • Oct 2019
    • 26

    #1

    get log details in email

    I have zabbix agent monitoring event viewer, but when I get emails I do not get the full event info. How do I set it so it isn't a problem, just sends logs?

    item eventlog[Security,,,,^4624$]

    trigger {dc1:eventlog[Security,,,,^4624$].logeventid(^4624$)}=1
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    Try writing a macro {ITEM.VALUE} that indicates the value of the item in the action message.

    Comment

    • majorkuso
      Junior Member
      • Oct 2019
      • 26

      #3
      ok, but how do I keep the trigger from going into a problem state? this prevents it from sending further logs.

      Comment

      • Atsushi
        Senior Member
        • Aug 2013
        • 2028

        #4
        If you do not set the state of the trigger to failure, Zabbix will not be able to notify you when the conditions set for the trigger are met. If you want to generate an event each time the trigger condition is met, try selecting Multiple in the PROBLEM event generation mode in the trigger settings.

        Comment

        • majorkuso
          Junior Member
          • Oct 2019
          • 26

          #5
          ok so even though the event is showing as a problem it really isn't one, I select Multiple and I get the emails as expected.

          Comment

          Working...