NagiosXI Monitor for WebService Application

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
phani.kolli
Posts: 24
Joined: Tue Nov 19, 2013 2:49 pm

Re: NagiosXI Monitor for WebService Application

Post 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)
Last edited by phani.kolli on Tue Dec 10, 2013 4:00 pm, edited 1 time in total.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: NagiosXI Monitor for WebService Application

Post by abrist »

Is the contact in question a Nagios XI user, or just a contact?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
phani.kolli
Posts: 24
Joined: Tue Nov 19, 2013 2:49 pm

Re: NagiosXI Monitor for WebService Application

Post by phani.kolli »

Just a contact
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: NagiosXI Monitor for WebService Application

Post by abrist »

Do you need to use smtp to send to the contact, or can your nagios sever send the mail directly?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
phani.kolli
Posts: 24
Joined: Tue Nov 19, 2013 2:49 pm

Re: NagiosXI Monitor for WebService Application

Post by phani.kolli »

I think either one is fine with me
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: NagiosXI Monitor for WebService Application

Post by abrist »

Well, currently you are trying to send directly through sendmail. Lets check the maillogs:

Code: Select all

tail -25 /var/log/maillog
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
phani.kolli
Posts: 24
Joined: Tue Nov 19, 2013 2:49 pm

Re: NagiosXI Monitor for WebService Application

Post 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]
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: NagiosXI Monitor for WebService Application

Post 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/
phani.kolli
Posts: 24
Joined: Tue Nov 19, 2013 2:49 pm

Re: NagiosXI Monitor for WebService Application

Post by phani.kolli »

Resolved.

U guys r awesome
Locked