Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-5341

mail actions will send the first and the last {item.value} of a trigger when the trigger is set as "normal + Multiple PROBLEM event"

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.8.14
    • Fix Version/s: None
    • Component/s: Server (S)
    • Environment:
      Zabbix 1.8.14 installed from EPEL package on CentOS6.3 with MySQL 5.5

      Description

      I have a log item: log[/var/log/some.log,"FATAL ERROR","us-ascii",100] which update every 30 seconds.
      what I'm trying to do is get each FATAL ERROR by mail.
      to test it I've setup the following trigger expression:

      {Template_test:log[/var/log/some.log,"FATAL ERROR","us-ascii",100].regexp("FATAL")}

      =1
      and an action attache to this trigger.
      when more then 1 FATAL ERROR events will enter the log within the 30 second update, the trigger will fire an action more then once and the equal amount of mails will be sent,
      BUT the first email will sent will have the ITEM.VALUE equal the first error line and the rest of the emails will have the ITEM.VALUE equa the last line that enter the log withing the 30 second update.

      What I would expect is, for each trigger, the action will have the ITEM.VALUE equal the log line that triggered the event.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              c0m4 Rudy Attias
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: