Re: Duplicate alert emails.
Posted: Tue Dec 03, 2013 12:11 pm
Considering that the sendmail log is not showing duplicate messages sent, and does log an entry per message sent, this would not be the same issue. Thanks for the hint though!
Support for Nagios products and services
https://support.nagios.com/forum/
Code: Select all
tail -100 /var/log/maillogCode: Select all
Dec 3 01:57:46 nagios sendmail[19630]: rB36vk2B019630: from=<[email protected]>, size=663, class=0, nrcpts=1, msgid=<[email protected]>, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Dec 3 01:57:46 nagios sendmail[19567]: rB36vjT5019567: [email protected], ctladdr=nagios (2147400000/2147400000), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30418, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (rB36vkfI019621 Message accepted for delivery)
Dec 3 01:57:46 nagios sendmail[19566]: rB36vjlO019566: [email protected], ctladdr=nagios (2147400000/2147400000), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30405, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (rB36vkio019622 Message accepted for delivery)
Dec 3 01:57:46 nagios sendmail[19575]: rB36vkjM019575: [email protected], ctladdr=nagios (2147400000/2147400000), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30401, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (rB36vkqB019625 Message accepted for delivery)
Dec 3 01:57:46 nagios sendmail[19569]: rB36vkAg019569: [email protected], ctladdr=nagios (2147400000/2147400000), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30402, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (rB36vktk019624 Message accepted for delivery)
Dec 3 01:57:46 nagios sendmail[19573]: rB36vk4l019573: [email protected], ctladdr=nagios (2147400000/2147400000), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30401, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (rB36vkhx019627 Message accepted for delivery)
Dec 3 01:57:46 nagios sendmail[19632]: rB36vkM5019632: from=<[email protected]>, size=673, class=0, nrcpts=1, msgid=<[email protected]>, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Dec 3 01:57:46 nagios sendmail[19629]: rB36vkLe019629: from=<[email protected]>, size=659, class=0, nrcpts=1, msgid=<[email protected]>, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Dec 3 01:57:46 nagios sendmail[19568]: rB36vkYm019568: [email protected], ctladdr=nagios (2147400000/2147400000), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30410, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (rB36vkLV019623 Message accepted for delivery)
Dec 3 01:57:46 nagios sendmail[19580]: rB36vk7O019580: [email protected], ctladdr=nagios (2147400000/2147400000), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30412, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (rB36vkfS019626 Message accepted for delivery)
Dec 3 01:57:46 nagios sendmail[19637]: rB36vklI019637: from=<[email protected]>, size=665, class=0, nrcpts=1, msgid=<[email protected]>, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Dec 3 01:57:46 nagios sendmail[19636]: rB36vkjD019636: from=<[email protected]>, size=663, class=0, nrcpts=1, msgid=<[email protected]>, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Dec 3 01:57:46 nagios sendmail[19631]: rB36vkTx019631: from=<[email protected]>, size=657, class=0, nrcpts=1, msgid=<[email protected]>, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Dec 3 01:57:46 nagios sendmail[19633]: rB36vk6g019633: from=<[email protected]>, size=653, class=0, nrcpts=1, msgid=<[email protected]>, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Dec 3 01:57:46 nagios sendmail[19579]: rB36vkXG019579: [email protected], ctladdr=nagios (2147400000/2147400000), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30407, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (rB36vk2B019630 Message accepted for delivery)
Dec 3 01:57:46 nagios sendmail[19581]: rB36vkUU019581: [email protected], ctladdr=nagios (2147400000/2147400000), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30418, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (rB36vkWA019628 Message accepted for delivery)
Dec 3 01:57:46 nagios sendmail[19574]: rB36vk2e019574: [email protected], ctladdr=nagios (2147400000/2147400000), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30412, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (rB36vkM5019632 Message accepted for delivery)
Dec 3 01:57:46 nagios sendmail[19578]: rB36vkg8019578: [email protected], ctladdr=nagios (2147400000/2147400000), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30405, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (rB36vkLe019629 Message accepted for delivery)
Dec 3 01:57:46 nagios sendmail[19570]: rB36vkle019570: [email protected], ctladdr=nagios (2147400000/2147400000), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30402, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (rB36vk6g019633 Message accepted for delivery)
Dec 3 01:57:46 nagios sendmail[19571]: rB36vkPC019571: [email protected], ctladdr=nagios (2147400000/2147400000), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30407, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (rB36vkjD019636 Message accepted for delivery)
Dec 3 01:57:46 nagios sendmail[19576]: rB36vk8n019576: [email protected], ctladdr=nagios (2147400000/2147400000), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30408, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (rB36vklI019637 Message accepted for delivery)
Dec 3 01:57:46 nagios sendmail[19572]: rB36vkY2019572: [email protected], ctladdr=nagios (2147400000/2147400000), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30404, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (rB36vkTx019631 Message accepted for delivery)
Dec 3 01:57:46 nagios sendmail[19647]: rB36vkqB019625: to=<[email protected]>, ctladdr=<[email protected]> (2147400000/2147400000), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=120651, relay=fraexsmtp1.abcdsams.com. [10.1.4.22], dsn=2.0.0, stat=Sent ( <[email protected]> Queued mail for delivery)
Dec 3 01:57:46 nagios sendmail[19657]: rB36vk2B019630: to=<[email protected]>, ctladdr=<[email protected]> (2147400000/2147400000), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=120663, relay=fraexsmtp1.abcdsams.com. [10.1.4.22], dsn=2.0.0, stat=Sent ( <[email protected]> Queued mail for delivery)
Dec 3 01:57:46 nagios sendmail[19661]: rB36vkLe019629: to=<[email protected]>, ctladdr=<[email protected]> (2147400000/2147400000), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=120659, relay=fraexsmtp1.abcdsams.com. [10.1.4.22], dsn=2.0.0, stat=Sent ( <[email protected]> Queued mail for delivery)
Dec 3 01:57:46 nagios sendmail[19656]: rB36vkWA019628: to=<[email protected]>, ctladdr=<[email protected]> (2147400000/2147400000), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=120685, relay=fraexsmtp1.abcdsams.com. [10.1.4.22], dsn=2.0.0, stat=Sent ( <[email protected]> Queued mail for delivery)
Dec 3 01:57:46 nagios sendmail[19645]: rB36vkio019622: to=<[email protected]>, ctladdr=<[email protected]> (2147400000/2147400000), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=120659, relay=fraexsmtp1.abcdsams.com. [10.1.4.22], dsn=2.0.0, stat=Sent ( <[email protected]> Queued mail for delivery)
Dec 3 01:57:46 nagios sendmail[19652]: rB36vkLV019623: to=<[email protected]>, ctladdr=<[email protected]> (2147400000/2147400000), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=120669, relay=fraexsmtp1.abcdsams.com. [10.1.4.22], dsn=2.0.0, stat=Sent ( <[email protected]> Queued mail for delivery)
Dec 3 01:57:46 nagios sendmail[19653]: rB36vkfS019626: to=<[email protected]>, ctladdr=<[email protected]> (2147400000/2147400000), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=120673, relay=fraexsmtp1.abcdsams.com. [10.1.4.22], dsn=2.0.0, stat=Sent ( <[email protected]> Queued mail for delivery)
Dec 3 01:57:46 nagios sendmail[19639]: rB36vkot019620: to=<[email protected]>, ctladdr=<[email protected]> (2147400000/2147400000), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=120669, relay=fraexsmtp2.abcdsams.com. [10.3.32.143], dsn=2.0.0, stat=Sent ( <[email protected]> Queued mail for delivery)
Dec 3 01:57:46 nagios sendmail[19638]: rB36vku2019619: to=<[email protected]>, ctladdr=<[email protected]> (2147400000/2147400000), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=120665, relay=fraexsmtp2.abcdsams.com. [10.3.32.143], dsn=2.0.0, stat=Sent ( <[email protected]> Queued mail for delivery)
Dec 3 01:57:46 nagios sendmail[19641]: rB36vkfI019621: to=<[email protected]>, ctladdr=<[email protected]> (2147400000/2147400000), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=120685, relay=fraexsmtp1.abcdsams.com. [10.1.4.22], dsn=2.0.0, stat=Sent ( <[email protected]> Queued mail for delivery)
Dec 3 01:57:46 nagios sendmail[19649]: rB36vktk019624: to=<[email protected]>, ctladdr=<[email protected]> (2147400000/2147400000), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=120653, relay=fraexsmtp2.abcdsams.com. [10.3.32.143], dsn=2.0.0, stat=Sent ( <[email protected]> Queued mail for delivery)
Dec 3 01:57:46 nagios sendmail[19650]: rB36vkhx019627: to=<[email protected]>, ctladdr=<[email protected]> (2147400000/2147400000), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=120651, relay=fraexsmtp2.abcdsams.com. [10.3.32.143], dsn=2.0.0, stat=Sent ( <[email protected]> Queued mail for delivery)
Dec 3 01:57:46 nagios sendmail[19660]: rB36vkM5019632: to=<[email protected]>, ctladdr=<[email protected]> (2147400000/2147400000), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=120673, relay=fraexsmtp2.abcdsams.com. [10.3.32.143], dsn=2.0.0, stat=Sent ( <[email protected]> Queued mail for delivery)
Dec 3 01:57:46 nagios sendmail[19663]: rB36vk6g019633: to=<[email protected]>, ctladdr=<[email protected]> (2147400000/2147400000), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=120653, relay=fraexsmtp1.abcdsams.com. [10.1.4.22], dsn=2.0.0, stat=Sent ( <[email protected]> Queued mail for delivery)
Dec 3 01:57:46 nagios sendmail[19665]: rB36vkjD019636: to=<[email protected]>, ctladdr=<[email protected]> (2147400000/2147400000), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=120663, relay=fraexsmtp2.abcdsams.com. [10.3.32.143], dsn=2.0.0, stat=Sent ( <[email protected]> Queued mail for delivery)
Dec 3 01:57:46 nagios sendmail[19669]: rB36vkTx019631: to=<[email protected]>, ctladdr=<[email protected]> (2147400000/2147400000), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=120657, relay=fraexsmtp2.abcdsams.com. [10.3.32.143], dsn=2.0.0, stat=Sent ( <[email protected]> Queued mail for delivery)
Dec 3 01:57:46 nagios sendmail[19667]: rB36vklI019637: to=<[email protected]>, ctladdr=<[email protected]> (2147400000/2147400000), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=120665, relay=fraexsmtp2.abcdsams.com. [10.3.32.143], dsn=2.0.0, stat=Sent ( <[email protected]> Queued mail for delivery)
Dec 3 01:57:47 nagios sendmail[19670]: rB36vlQC019670: from=<[email protected]>, size=657, class=0, nrcpts=1, msgid=<[email protected]>, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Dec 3 01:57:47 nagios sendmail[19577]: rB36vkN8019577: [email protected], ctladdr=nagios (2147400000/2147400000), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30404, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (rB36vlQC019670 Message accepted for delivery)
Dec 3 01:57:47 nagios sendmail[19672]: rB36vlQC019670: to=<[email protected]>, ctladdr=<[email protected]> (2147400000/2147400000), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=120657, relay=fraexsmtp1.abcdsams.com. [10.1.4.22], dsn=2.0.0, stat=Sent ( <[email protected]> Queued mail for delivery)
Code: Select all
From: [email protected] [mailto:[email protected]]
Sent: Wednesday, December 04, 2013 4:17 AM
To: A, user1
Subject: ** PROBLEM Host Alert: http://www.abcd.com is DOWN **
***** Nagios *****
Notification Type: PROBLEM
Host: http://www.abcd.com
State: DOWN
Address: http://www.abcd.com
Info:HTTP CRITICAL: HTTP/1.1 503 Service Unavailable - 517 bytes in 0.024 second response time
Date/Time: Wed Dec 4 04:16:59 EST 2013
-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Wednesday, December 04, 2013 4:17 AM
To: A, user1
Subject: ** PROBLEM Host Alert: http://www.abcd.com is DOWN **
***** Nagios *****
Notification Type: PROBLEM
Host: http://www.abcd.com
State: DOWN
Address: http://www.abcd.com
Info:HTTP CRITICAL: HTTP/1.1 503 Service Unavailable - 517 bytes in 0.035 second response time
Date/Time: Wed Dec 4 04:17:00 EST 2013
-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Wednesday, December 04, 2013 4:17 AM
To: A, user1
Subject: ** PROBLEM Host Alert: http://www.abcd.com is DOWN **
***** Nagios *****
Notification Type: PROBLEM
Host: http://www.abcd.com
State: DOWN
Address: http://www.abcd.com
Info:HTTP CRITICAL: HTTP/1.1 503 Service Unavailable - 517 bytes in 0.170 second response time
Date/Time: Wed Dec 4 04:16:59 EST 2013
-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Wednesday, December 04, 2013 4:17 AM
To: A, user1
Subject: ** PROBLEM Host Alert: http://www.abcd.com is DOWN **
***** Nagios *****
Notification Type: PROBLEM
Host: http://www.abcd.com
State: DOWN
Address: http://www.abcd.com
Info:HTTP CRITICAL: HTTP/1.1 503 Service Unavailable - 517 bytes in 0.087 second response time
Date/Time: Wed Dec 4 04:17:00 EST 2013
-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Wednesday, December 04, 2013 4:18 AM
To: A, user1
Subject: ** PROBLEM Host Alert: http://www.abcd.com is DOWN **
***** Nagios *****
Notification Type: PROBLEM
Host: http://www.abcd.com
State: DOWN
Address: http://www.abcd.com
Info:HTTP CRITICAL: HTTP/1.1 503 Service Unavailable - 517 bytes in 0.024 second response time
Date/Time: Wed Dec 4 04:17:59 EST 2013
-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Wednesday, December 04, 2013 4:18 AM
To: A, user1
Subject: ** PROBLEM Host Alert: http://www.abcd.com is DOWN **
***** Nagios *****
Notification Type: PROBLEM
Host: http://www.abcd.com
State: DOWN
Address: http://www.abcd.com
Info:HTTP CRITICAL: HTTP/1.1 503 Service Unavailable - 517 bytes in 0.025 second response time
Date/Time: Wed Dec 4 04:18:00 EST 2013
-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Wednesday, December 04, 2013 4:23 AM
To: A, user1
Subject: ** PROBLEM Host Alert: http://www.abcd.com is DOWN **
***** Nagios *****
Notification Type: PROBLEM
Host: http://www.abcd.com
State: DOWN
Address: http://www.abcd.com
Info:HTTP CRITICAL: HTTP/1.1 503 Service Unavailable - 517 bytes in 0.024 second response time
Date/Time: Wed Dec 4 04:22:59 EST 2013