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

Zabbix Log Monitoring - Duplicate alerts

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Cannot Reproduce
    • Icon: Critical Critical
    • None
    • 2.0.0
    • Server (S)
    • Zabbix Server running in Linux OS and all agents are Linux.

      I am configured Zabbix to monitor my Jboss Server logs for Errors and exclude some know errors. This setup is working with one issue. Zabbix will send me alerts when there is a new "ERROR" entry in the log file. But sometimes I get multiple alerts for the same event. For example, I got 5 alerts with the same time stamp "2012-06-25 07:55:56,864 ERROR". The duplicate alerts count is not constant, sometimes I get 2 sometimes 5 or 11.

      I checked the Monitoring > Latest data in the GUI, and found that there is no duplicate entries.

      I have given my configuration of the log monitoring below.

      Item configuration:

      • Description: Server Error Monitoring.
      • Key: log["/SERVER/jboss/jboss-5/server/ps/log/server.log","ERROR",UTF-8,200,skip]
      • Type: Zabbix Agent (Active)
      • Type of information: Log
      • Interval :30

      Trigger configuration:

      • Descriptopn: Found Error in Server Log.
      • Expression: (( {SERVER Error Monitoring - PS:log["/SERVER/jboss/jboss-5/server/ps/log/server.log","ERROR",UTF-8,200,skip].regexp("can not execute")}

        )=0) & ((

        {SERVER Error Monitoring - PS:log["/SERVER/jboss/jboss-5/server/ps/log/server.log","ERROR",UTF-8,200,skip].regexp("Unexpected redirect")}

        )=0)

      • Event generation: Normal + Multiple TRUE events

      Action configuration:

      • Name: alert mail
      • Event source: Trigger
      • Enable escalations: Uncheck
      • Default subject/message: Default
      • Recovery message: Uncheck
      • Action conditions: Trigger value = PROBLEM
      • Action operations: Send message to User "Admin"

        1. zabb1.png
          zabb1.png
          24 kB
        2. zabbix_error.png
          zabbix_error.png
          126 kB
        3. zabbix_server.debug.log
          1.97 MB

            Unassigned Unassigned
            arunssasidhar Arun Sasidhar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: