Email acknowledgement

what i would like to send up is when a user get an email from nagios is to reply to the email and an acknowledgement will send enter. which then stop email from send out. Is this posible. and if so how.

There’s a few steps you’ll need to do here:

  1. Set up an MX record for your Nagios server
  2. Configure aliases to run a script when email is received to your nagios account
  3. Write a script to parse the acknowledgement email and spit out an external command. I just used a shell script with a few if loops to grab the sender, the host and/or service name and the time. Check the top two entries on this webpage for details on the external commands you’ll be using to acknowledge: http://www.nagios.org/developerinfo/externalcommands/commandlist.php

Do you have a example of the script you run