Mail notification not working

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
inderraw
Posts: 61
Joined: Fri Apr 26, 2013 1:40 am
Location: India (Delhi)
Contact:

Mail notification not working

Post by inderraw »

Dear Team,

When i do sent test mail from Nagios xi is working fine, but not getting automatic mail notification.

Regards
Inder Singh Rawat
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Mail notification not working

Post by abrist »

Can you post a tail of the mail log:

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.
inderraw
Posts: 61
Joined: Fri Apr 26, 2013 1:40 am
Location: India (Delhi)
Contact:

Re: Mail notification not working

Post by inderraw »

Hi,

Please find enclosed maillog file for your reference, let me know what is the exact problem. If i do manually test mail it is delivering successfully.
You do not have the required permissions to view the files attached to this post.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Mail notification not working

Post by abrist »

What settings have you configured for email? Sendmail or smtp? XI user notification handlers or core contact handlers?
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.
inderraw
Posts: 61
Joined: Fri Apr 26, 2013 1:40 am
Location: India (Delhi)
Contact:

Re: Mail notification not working

Post by inderraw »

we are using send mail and user notification method!
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Mail notification not working

Post by sreinhardt »

Are you using nagios contacts or users, or both? Are any users receiving email notifications? Have you verified that nagios is able to directly communicate with 213.199.154.87 via port 25, with telnet, netcat, or nmap?

Code: Select all

nmap -p 25 213.199.154.87
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Locked