i have a problem with mail notification in Nagios Core Version 4.0.2 on Ubuntu Server 12.04 LTS...
in my old post i had another problem with mail notification ( http://support.nagios.com/forum/viewtop ... 7&start=30 ) but the good people of this forum helps me to resolve the issue and my Nagios works perfectly!
but now i have another problem with mail notification! I don't receive mail notification anymore ( i think that someone else changes something )
i don't find the error!
anyone can help me? i'll post everything you want!
P.S.
i've tryed to use a test mail from the server to my account:
Code: Select all
$ echo "this is the body" | mail -s "this is the subject" "supporto@xxxx.eu"
$
seems everything working fine! but any mail arrives to my account!
and in the mail.log :
Code: Select all
Sep 8 23:38:49 localhost sendmail[10380]: s88Lcn90010380: from=nagios, size=385, class=0, nrcpts=1, msgid=<201409082138.s88Lcn90010380@localhost.localdomain>, relay=nagios@localhost
Sep 8 23:38:49 localhost sendmail[10380]: s88Lcn90010380: to=<supporto@deaconsulenze.eu>, delay=00:00:00, mailer=esmtp, pri=30385, dsn=4.4.3, stat=queued
Sep 9 00:00:04 localhost sm-msp-queue[12217]: s83Libna001004: s88M01sv012217: sender notify: Cannot send message for 5 days
Sep 9 00:00:05 localhost sm-mta[12222]: s88M04DB012222: from=<>, size=2107, class=0, nrcpts=1, msgid=<201409082200.s88M01sv012217@localhost.localdomain>, proto=ESMTP, daemon=MTA-v4, relay=localhost.localdomain [127.0.0.1]
Sep 9 00:00:05 localhost sm-msp-queue[12217]: s88M01sv012217: to=nagios, delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=31670, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (s88M04DB012222 Message accepted for delivery)
Sep 9 00:00:05 localhost sm-mta[12223]: s88M04DB012222: to=<nagios@localhost.localdomain>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=32342, dsn=2.0.0, stat=Sent
Sep 9 02:20:01 localhost sm-msp-queue[24215]: s88KEn4D002442: s890K18l024215: sender notify: Warning: could not send message for past 4 hours
Sep 9 02:20:01 localhost sm-mta[24216]: s890K1sV024216: from=<>, size=2300, class=0, nrcpts=1, msgid=<201409090020.s890K18l024215@localhost.localdomain>, proto=ESMTP, daemon=MTA-v4, relay=localhost.localdomain [127.0.0.1]
Sep 9 02:20:01 localhost sm-msp-queue[24215]: s890K18l024215: to=nagios, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31670, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (s890K1sV024216 Message accepted for delivery)
Sep 9 02:20:01 localhost sm-msp-queue[24215]: s88KEMO0002412: s890K18m024215: sender notify: Warning: could not send message for past 4 hours
Sep 9 02:20:01 localhost sm-mta[24217]: s890K1sV024216: to=<nagios@localhost.localdomain>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=32535, dsn=2.0.0, stat=Sent
Sep 9 02:20:01 localhost sm-mta[24216]: s890K1sX024216: from=<>, size=2306, class=0, nrcpts=1, msgid=<201409090020.s890K18m024215@localhost.localdomain>, proto=ESMTP, daemon=MTA-v4, relay=localhost.localdomain [127.0.0.1]
Sep 9 02:20:01 localhost sm-msp-queue[24215]: s890K18m024215: to=nagios, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31676, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (s890K1sX024216 Message accepted for delivery)
Sep 9 02:20:02 localhost sm-mta[24219]: s890K1sX024216: to=<nagios@localhost.localdomain>, delay=00:00:01, xdelay=00:00:00, mailer=local, pri=32541, dsn=2.0.0, stat=Sent
Sep 9 03:20:01 localhost sm-msp-queue[29409]: s88L4nMX007539: s891K15G029409: sender notify: Warning: could not send message for past 4 hours
Sep 9 03:20:01 localhost sm-mta[29410]: s891K1vq029410: from=<>, size=2266, class=0, nrcpts=1, msgid=<201409090120.s891K15G029409@localhost.localdomain>, proto=ESMTP, daemon=MTA-v4, relay=localhost.localdomain [127.0.0.1]
Sep 9 03:20:01 localhost sm-msp-queue[29409]: s891K15G029409: to=nagios, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31636, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (s891K1vq029410 Message accepted for delivery)
Sep 9 03:20:01 localhost sm-mta[29411]: s891K1vq029410: to=<nagios@localhost.localdomain>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=32501, dsn=2.0.0, stat=Sent
Sep 9 03:20:01 localhost sm-msp-queue[29409]: s88LCmao008130: s891K15H029409: sender notify: Warning: could not send message for past 4 hours
Sep 9 03:20:01 localhost sm-mta[29410]: s891K1vs029410: from=<>, size=2314, class=0, nrcpts=1, msgid=<201409090120.s891K15H029409@localhost.localdomain>, proto=ESMTP, daemon=MTA-v4, relay=localhost.localdomain [127.0.0.1]
Sep 9 03:20:01 localhost sm-msp-queue[29409]: s891K15H029409: to=nagios, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31684, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (s891K1vs029410 Message accepted for delivery)
Sep 9 03:20:01 localhost sm-mta[29413]: s891K1vs029410: to=<nagios@localhost.localdomain>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=32549, dsn=2.0.0, stat=Sent
Sep 9 03:40:01 localhost sm-msp-queue[31083]: s88Lcn90010380: s891e1LY031083: sender notify: Warning: could not send message for past 4 hours
Sep 9 03:40:01 localhost sm-mta[31084]: s891e1rV031084: from=<>, size=2300, class=0, nrcpts=1, msgid=<201409090140.s891e1LY031083@localhost.localdomain>, proto=ESMTP, daemon=MTA-v4, relay=localhost.localdomain [127.0.0.1]
Sep 9 03:40:01 localhost sm-msp-queue[31083]: s891e1LY031083: to=nagios, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31670, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (s891e1rV031084 Message accepted for delivery)
Sep 9 03:40:01 localhost sm-mta[31085]: s891e1rV031084: to=<nagios@localhost.localdomain>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=32535, dsn=2.0.0, stat=Sent
Sep 9 11:09:49 localhost sendmail[7602]: s8999nVJ007602: from=nagios, size=372, class=0, nrcpts=1, msgid=<201409090909.s8999nVJ007602@localhost.localdomain>, relay=nagios@localhost
Sep 9 11:09:49 localhost sendmail[7602]: s8999nVJ007602: to=<supporto@deaconsulenze.eu>, delay=00:00:00, mailer=esmtp, pri=30372, dsn=4.4.3, stat=queued
Sep 9 11:10:49 localhost sendmail[7816]: s899AnRw007816: from=nagios, size=367, class=0, nrcpts=1, msgid=<201409090910.s899AnRw007816@localhost.localdomain>, relay=nagios@localhost
Sep 9 11:10:49 localhost sendmail[7816]: s899AnRw007816: to=<supporto@deaconsulenze.eu>, delay=00:00:00, mailer=esmtp, pri=30367, dsn=4.4.3, stat=queued
Sep 9 11:11:06 localhost sendmail[7837]: s899B66x007837: from=nagios, size=349, class=0, nrcpts=1, msgid=<201409090911.s899B66x007837@localhost.localdomain>, relay=nagios@localhost
Sep 9 11:11:06 localhost sendmail[7837]: s899B66x007837: to=<supporto@deaconsulenze.eu>, delay=00:00:00, mailer=esmtp, pri=30349, dsn=4.4.3, stat=queued
Sep 9 11:11:10 localhost sendmail[7850]: s899B9fH007850: from=nagios, size=369, class=0, nrcpts=1, msgid=<201409090911.s899B9fH007850@localhost.localdomain>, relay=nagios@localhost
Sep 9 11:11:10 localhost sendmail[7850]: s899B9fH007850: to=<supporto@deaconsulenze.eu>, delay=00:00:00, mailer=esmtp, pri=30369, dsn=4.4.3, stat=queued
Sep 9 11:49:32 localhost sendmail[12000]: s899nWIZ012000: from=root, size=114, class=0, nrcpts=1, msgid=<201409090949.s899nWIZ012000@localhost.localdomain>, relay=root@localhost
Sep 9 11:49:32 localhost sendmail[12000]: s899nWIZ012000: to=<supporto@deaconsulenze.eu>, delay=00:00:00, mailer=esmtp, pri=30114, dsn=4.4.3, stat=queued
Sep 9 11:49:54 localhost sendmail[12028]: s899nsFX012028: from=nagios, size=114, class=0, nrcpts=1, msgid=<201409090949.s899nsFX012028@localhost.localdomain>, relay=nagios@localhost
Sep 9 11:49:54 localhost sendmail[12028]: s899nsFX012028: to=<supporto@deaconsulenze.eu>, delay=00:00:00, mailer=esmtp, pri=30114, dsn=4.4.3, stat=queued Sep 9 13:20:05 localhost sm-msp-queue[20095]: s84BA7wP009933: s89BK1lp020095: sender notify: Cannot send message for 5 days
Sep 9 13:20:05 localhost sm-mta[20101]: s89BK5BF020101: from=<>, size=2113, class=0, nrcpts=1, msgid=<201409091120.s89BK1lp020095@localhost.localdomain>, proto=ESMTP, daemon=MTA-v4, relay=localhost.localdomain [127.0.0.1]
Sep 9 13:20:05 localhost sm-msp-queue[20095]: s89BK1lp020095: to=nagios, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31676, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (s89BK5BF020101 Message accepted for delivery)
Sep 9 13:20:06 localhost sm-mta[20102]: s89BK5BF020101: to=<nagios@localhost.localdomain>, delay=00:00:01, xdelay=00:00:01, mailer=local, pri=32348, dsn=2.0.0, stat=Sent
Sep 9 13:47:03 localhost sendmail[22582]: s89Bl3vK022582: from=root, size=114, class=0, nrcpts=1, msgid=<201409091147.s89Bl3vK022582@localhost.localdomain>, relay=root@localhost
Sep 9 13:47:03 localhost sendmail[22582]: s89Bl3vK022582: to=<supporto@deaconsulenze.eu>, delay=00:00:00, mailer=esmtp, pri=30114, dsn=4.4.3, stat=queued
thanks in advance!
Any help be appreciate!