Page 2 of 2

Re: NagiosXI Monitor for WebService Application

Posted: Tue Dec 10, 2013 3:40 pm
by phani.kolli
After installing mail

now I am getting this message but not receiving any emails.

A test email was sent to [email protected]
----
Mailer said: Message sent! (method=sendmail)

Re: NagiosXI Monitor for WebService Application

Posted: Tue Dec 10, 2013 3:57 pm
by abrist
Is the contact in question a Nagios XI user, or just a contact?

Re: NagiosXI Monitor for WebService Application

Posted: Tue Dec 10, 2013 4:03 pm
by phani.kolli
Just a contact

Re: NagiosXI Monitor for WebService Application

Posted: Tue Dec 10, 2013 4:51 pm
by abrist
Do you need to use smtp to send to the contact, or can your nagios sever send the mail directly?

Re: NagiosXI Monitor for WebService Application

Posted: Tue Dec 10, 2013 5:12 pm
by phani.kolli
I think either one is fine with me

Re: NagiosXI Monitor for WebService Application

Posted: Tue Dec 10, 2013 5:16 pm
by abrist
Well, currently you are trying to send directly through sendmail. Lets check the maillogs:

Code: Select all

tail -25 /var/log/maillog

Re: NagiosXI Monitor for WebService Application

Posted: Tue Dec 10, 2013 5:28 pm
by phani.kolli
Dec 10 13:24:20 <Host Name> sendmail[31343]: rBALOKRj031343: from=xxxx@wqqwxxx, size=1858, class=0, nrcpts=1, msgid=<[email protected]>, relay=nagios@localhost
Dec 10 13:24:20 <Host Name> sendmail[31343]: rBALOKRj031343: to=IAM IDM Nagios New CIT <xxxx@wqqwxxx>, ctladdr=xxxx@wqqwxxx (504/100), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31858, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Dec 10 13:27:40 <Host Name> sendmail[2030]: rBALReJY002030: Authentication-Warning: <Host Name>.cdbt.ssdc.kp.org: nagios set sender to xxxx@wqqwxxx using -f
Dec 10 13:27:40 <Host Name> sendmail[2030]: rBALReJY002030: from=xxxx@wqqwxxx, size=1745, class=0, nrcpts=1, msgid=<[email protected]>, relay=nagios@localhost
Dec 10 13:27:40 <Host Name> sendmail[2030]: rBALReJY002030: to=IAM IDM Nagios New CIT <xxxx@wqqwxxx>, ctladdr=xxxx@wqqwxxx (504/100), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31745, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Dec 10 13:29:20 <Host Name> sendmail[3505]: rBALTKMG003505: Authentication-Warning: <Host Name>.cdbt.ssdc.kp.org: nagios set sender to xxxx@wqqwxxx using -f
Dec 10 13:29:20 <Host Name> sendmail[3505]: rBALTKMG003505: from=xxxx@wqqwxxx, size=1858, class=0, nrcpts=1, msgid=<[email protected]>, relay=nagios@localhost
Dec 10 13:29:20 <Host Name> sendmail[3505]: rBALTKMG003505: to=IAM IDM Nagios New CIT <xxxx@wqqwxxx>, ctladdr=xxxx@wqqwxxx (504/100), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31858, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Dec 10 13:34:22 <Host Name> sendmail[8127]: rBALYMsV008127: Authentication-Warning: <Host Name>.cdbt.ssdc.kp.org: nagios set sender to xxxx@wqqwxxx using -f
Dec 10 13:34:22 <Host Name> sendmail[8127]: rBALYMsV008127: from=xxxx@wqqwxxx, size=1858, class=0, nrcpts=1, msgid=<[email protected]>, relay=nagios@localhost
Dec 10 13:34:22 <Host Name> sendmail[8127]: rBALYMsV008127: to=IAM IDM Nagios New CIT <xxxx@wqqwxxx>, ctladdr=xxxx@wqqwxxx (504/100), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31858, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Dec 10 13:39:22 <Host Name> sendmail[12726]: rBALdMH0012726: Authentication-Warning: <Host Name>.cdbt.ssdc.kp.org: nagios set sender to xxxx@wqqwxxx using -f
Dec 10 13:39:22 <Host Name> sendmail[12726]: rBALdMH0012726: from=xxxx@wqqwxxx, size=1858, class=0, nrcpts=1, msgid=<[email protected]>, relay=nagios@localhost
Dec 10 13:39:22 <Host Name> sendmail[12726]: rBALdMH0012726: to=IAM IDM Nagios New CIT <xxxx@wqqwxxx>, ctladdr=xxxx@wqqwxxx (504/100), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31858, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Dec 10 13:44:22 <Host Name> sendmail[17312]: rBALiMl6017312: Authentication-Warning: <Host Name>.cdbt.ssdc.kp.org: nagios set sender to xxxx@wqqwxxx using -f
Dec 10 13:44:22 <Host Name> sendmail[17312]: rBALiMl6017312: from=xxxx@wqqwxxx, size=1858, class=0, nrcpts=1, msgid=<[email protected]>, relay=nagios@localhost
Dec 10 13:44:22 <Host Name> sendmail[17312]: rBALiMl6017312: to=IAM IDM Nagios New CIT <xxxx@wqqwxxx>, ctladdr=xxxx@wqqwxxx (504/100), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31858, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Dec 10 13:49:22 <Host Name> sendmail[21943]: rBALnMZj021943: Authentication-Warning: <Host Name>.cdbt.ssdc.kp.org: nagios set sender to xxxx@wqqwxxx using -f
Dec 10 13:49:22 <Host Name> sendmail[21943]: rBALnMZj021943: from=xxxx@wqqwxxx, size=1858, class=0, nrcpts=1, msgid=<[email protected]>, relay=nagios@localhost
Dec 10 13:49:22 <Host Name> sendmail[21943]: rBALnMZj021943: to=IAM IDM Nagios New CIT <xxxx@wqqwxxx>, ctladdr=xxxx@wqqwxxx (504/100), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31858, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Dec 10 13:50:20 <Host Name> sendmail[22905]: rBALoKDv022905: from=nagios, size=430, class=0, nrcpts=1, msgid=<201312102150.rBALoKDv022905@<Host Name>.cdbt.ssdc.kp.org>, relay=nagios@localhost
Dec 10 13:50:20 <Host Name> sendmail[22905]: rBALoKDv022905: to=$, ctladdr=nagios (504/100), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30430, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Dec 10 13:50:21 <Host Name> sendmail[22908]: rBALoLPv022908: Authentication-Warning: <Host Name>.cdbt.ssdc.kp.org: nagios set sender to xxxx@wqqwxxx using -f
Dec 10 13:50:21 <Host Name> sendmail[22908]: rBALoLPv022908: from=xxxx@wqqwxxx, size=1876, class=0, nrcpts=1, msgid=<[email protected]>, relay=nagios@localhost
Dec 10 13:50:21 <Host Name> sendmail[22908]: rBALoLPv022908: to=IAM IDM Nagios New CIT <xxxx@wqqwxxx>, ctladdr=xxxx@wqqwxxx (504/100), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31876, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]

Re: NagiosXI Monitor for WebService Application

Posted: Tue Dec 10, 2013 5:50 pm
by slansing
It looks like you have an issue with your sendmail configuration, or the address the mail is trying to be routed to, this may be of help:

http://www.howtoforge.com/forums/showthread.php?t=16246

http://www.unixguru.biz/sendmail-statde ... by-127001/

Re: NagiosXI Monitor for WebService Application

Posted: Tue Dec 10, 2013 6:19 pm
by phani.kolli
Resolved.

U guys r awesome