I have an odd problem my Nagios install fills up /var/spool/mqueue-client with emails about services that ok as it triesto send the email t "$". Normal email notifications for warning, critical, recovery etc work as expected and go to the correct email address:
Checking the /var/log/syslog it seems to be the following an event handler is executed for the OK alert when it shouldn't b:
Code: Select all
Aug 9 12:28:13 nagios-01v nagios: SERVICE ALERT: tksrvrlog-02;Swap space;OK;SOFT;3;SWAP OK - 100% free (204796 MB out of 204796 MB)
Aug 9 12:28:13 nagios-01v nagios: SERVICE EVENT HANDLER: tksrvrlog-02;Swap space;OK;SOFT;3;notify-service-by-email
Aug 9 12:28:13 nagios-01v sendmail[25673]: r79ASD78025673: from=nagios, size=367, class=0, nrcpts=1, msgid=<201308091028.r79ASD78025673@nbsrvnagi-01v.domain.com >, relay=nagios@localhost
Code: Select all
V8
T1376044670
K1376044674
N1
P30470
MDeferred: Connection timed out with [10.1.17.243]
Fbs
$_nagios@localhost
${daemon_flags}c u
Snagios
Anagios@nbsrvnagi-01v.diasemi.com
MDeferred: Connection timed out with [10.1.17.243]
C:$
rRFC822; $@nbsrvnagi-01v.diasemi.com
RPFD:$
H?P?Return-Path: <g>
H??Received: (from nagios@localhost)
by nbsrvnagi-01v.diasemi.com (8.14.4/8.14.3/Submit/Dlg) id r79AbogS011114
for $; Fri, 9 Aug 2013 12:37:50 +0200
H?D?Date: Fri, 9 Aug 2013 12:37:50 +0200
H?x?Full-Name: SVC_nagios
H?M?Message-Id: <201308091037.r79AbogS011114@nbsrvnagi-01v.diasemi.com>
H??To: $
H??Subject: ** Service Alert: tklin51/Check eth0 Network traffic is UNKNOWN **
H??From: nagios@diasemi.com
.
Chris