Ad Widget

Collapse

Zabbix accumulating mails and sending every hour in a batch

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • moshikoy
    Member
    • Aug 2017
    • 56

    #1

    Zabbix accumulating mails and sending every hour in a batch

    Hi,
    I have encountered a weird issue with Zabbix
    I have several Actions with with Operations that are sending an email to a certain user group.

    When one of these actions is triggered.
    It does what is in the action operations, which is running a command and sending email (configured to start in immediately)

    However, Zabbix is gathering and sending them emails to my mail server in a batch every hour and 59 minutes (example 1:59, 2:59, 3:59 ...) then i get dozens of emails all together.

    Now, obviously I'd like to receive an immediate email notification and not have zabbix gather all the emails for the past hour and sending them at the same time

    Any idea what is causing zabbix to gather them emails?

    -Mosh
  • moshikoy
    Member
    • Aug 2017
    • 56

    #2
    This is how the maillog looks on the mail server

    root@mailsrv:/var/log/exim4# cat mainlog | grep zabbix@ | awk '{print $1" "$2" "$3}'
    2017-08-30 06:59:14 1dmu9q-0005i3-ET
    2017-08-30 09:59:14 1dmwy2-0007cK-Gg
    2017-08-30 10:59:14 1dmxu6-0008QC-I4
    2017-08-30 10:59:14 1dmxu6-0008QE-Jd
    2017-08-30 10:59:14 1dmxu6-0008QH-L6
    2017-08-30 10:59:14 1dmxu6-0008QK-MX
    2017-08-30 10:59:14 1dmxu6-0008QN-O1
    2017-08-30 10:59:14 1dmxu6-0008QQ-PU
    2017-08-30 10:59:14 1dmxu6-0008QT-Qt
    2017-08-30 10:59:14 1dmxu6-0008Qc-SI
    2017-08-30 11:59:14 1dmyqA-000064-Ti
    2017-08-30 11:59:15 1dmyqA-000066-VI
    2017-08-30 11:59:15 1dmyqB-000069-0Q
    2017-08-30 11:59:15 1dmyqB-00006C-1r
    2017-08-30 11:59:15 1dmyqB-00006F-3G
    2017-08-30 11:59:15 1dmyqB-00006I-4g
    2017-08-30 11:59:15 1dmyqB-00006L-66
    2017-08-30 11:59:15 1dmyqB-00006U-7X
    2017-08-30 11:59:15 1dmyqB-00006Y-8y
    2017-08-30 11:59:15 1dmyqB-00006c-AO
    2017-08-30 11:59:15 1dmyqB-00006g-Bn
    2017-08-30 12:59:15 1dmzmF-0000K4-DQ
    2017-08-30 12:59:15 1dmzmF-0000K6-F3
    2017-08-30 12:59:15 1dmzmF-0000K9-GS
    2017-08-30 12:59:15 1dmzmF-0000KC-Iu
    2017-08-30 12:59:15 1dmzmF-0000KI-KJ
    2017-08-30 12:59:15 1dmzmF-0000KN-Lj
    2017-08-30 13:59:16 1dn0iJ-0000Qt-Ne
    2017-08-30 13:59:16 1dn0iK-0000Qx-Ax
    2017-08-30 13:59:16 1dn0iK-0000R0-Ca
    2017-08-30 13:59:16 1dn0iK-0000R3-Dy
    2017-08-30 13:59:16 1dn0iK-0000R7-FP
    2017-08-30 14:59:16 1dn1eO-0000a2-HF
    2017-08-30 14:59:16 1dn1eO-0000a5-In
    2017-08-30 14:59:16 1dn1eO-0000a8-KC
    2017-08-30 14:59:16 1dn1eO-0000aB-Me
    2017-08-30 14:59:16 1dn1eO-0000aE-OI
    2017-08-30 14:59:16 1dn1eO-0000aH-Pj
    2017-08-30 14:59:16 1dn1eO-0000aK-RA
    2017-08-30 14:59:16 1dn1eO-0000aO-Sd
    2017-08-30 14:59:16 1dn1eO-0000aQ-U7
    2017-08-30 14:59:17 1dn1eO-0000ab-VX
    2017-08-30 15:59:17 1dn2aT-0000wm-0e
    2017-08-30 15:59:17 1dn2aT-0000wo-9x

    Comment

    • moshikoy
      Member
      • Aug 2017
      • 56

      #3
      Up

      Hey there
      anyone got a clue on this?

      Comment

      • frater
        Senior Member
        • Oct 2010
        • 340

        #4
        Why don't you check the mail headers first and check if your statement is true and the culprit is really Zabbix.
        I'm not saying it isn't. Just saying it's possible.

        I can't help you though...
        I'm not using mail alerts.
        Zabbix agents on Linux, FreeBSD, Windows, AVM-Fritz!box, DD-WRT and QNAP

        Comment

        Working...