Hi
Is it possible for Nagios to check for new mail on an Exchange 2003 mailbox (something like [email protected]), and to acknowledge specific service problems when certain conditions are met in certain incoming messages' subjects?
I would like this to remotely acknowledge service and host problems.
For example, Nagios alerts me of a problem with a certain service on a server. I reply to the message, adding a key word in the subject. When Nagios checks its mailbox, it sees the message containing the key word. It then acknowledges the problem and stops bugging the whole IT team.
But I'm stumped. How would I go about checking the contents of an Exchange mailbox from the command line?
Thanks!
Integrate Nagios with Exchange, react to certain messages
Re: Integrate Nagios with Exchange, react to certain message
Well... you wouldn't get the contents from the exchange server... you would have the exchange server send the message to the Nagios server.
Once you have the mail going to your nagios server you can use this guide: http://www.techopsguys.com/2010/01/05/a ... l-replies/
Once you have the mail going to your nagios server you can use this guide: http://www.techopsguys.com/2010/01/05/a ... l-replies/
Re: Integrate Nagios with Exchange, react to certain message
Thanks jsmurphy!
Your post really helped me.
I got it to work eventually.
I blogged about it here.
Thanks again!!
Your post really helped me.
I got it to work eventually.
I blogged about it here.
Thanks again!!
Re: Integrate Nagios with Exchange, react to certain message
You're welcome, Glad I could help!