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.
Sent mail to Nagios for alert to trigger
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Sent mail to Nagios for alert to trigger
What do you mean by this? Nagios is not an exchange or email handler.
Re: Sent mail to Nagios for alert to trigger
@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
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.
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.
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.
"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.
Re: Sent mail to Nagios for alert to trigger
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
That is what exactly what i need. thank a lot for giving the idea what we can do to achieve the requirement. Thanks again
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Sent mail to Nagios for alert to trigger
Let us know if you have further questions on this.