Page 1 of 1
Sent mail to Nagios for alert to trigger
Posted: Tue Sep 24, 2013 5:41 am
by anil4u_04
HI All,
I am new for nagios , I have a requirement like , if we send a mail to Nagios server, Nagios should show the alert.
Is there any way to do that.
I couldn't find in the net. Is there any way to do that. Please suggest.
Thanks in Advance.
Re: Sent mail to Nagios for alert to trigger
Posted: Tue Sep 24, 2013 9:44 am
by slansing
What do you mean by this? Nagios is not an exchange or email handler.
Re: Sent mail to Nagios for alert to trigger
Posted: Tue Sep 24, 2013 8:56 pm
by anil4u_04
@slansing , Thank you so much for your reply. If i understand correctly. Nagios will not alert if i send a mail to Nagios server, since it is not a exchange or email handler. Is that correct..? Please clarify. Thanks again.
Re: Sent mail to Nagios for alert to trigger
Posted: Wed Sep 25, 2013 10:19 am
by abrist
It sound like you want to send an email to the nagios server as an event driven alert, is that correct?
If so, there may not be a built in way to handle this, as by default, the email configuration on core system is set to only send, not receive email. You would need to set up postfix on the nagios server and then script a cron job to:
1. check the mailbox for mail that meets certain criteria
2. then submit a passive result through the command pipe or through a passive agent to generate an alert.
Re: Sent mail to Nagios for alert to trigger
Posted: Thu Sep 26, 2013 7:50 am
by anil4u_04
HI abrist,
That is what exactly what i need. thank a lot for giving the idea what we can do to achieve the requirement. Thanks again

Re: Sent mail to Nagios for alert to trigger
Posted: Thu Sep 26, 2013 9:10 am
by slansing
Let us know if you have further questions on this.