Is it possible for Nagios to check for new mail on an Exchange 2003 mailbox (something like email@example.com), 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?