Page 1 of 1

Acknowledge by replying to a notification email?

Posted: Mon May 21, 2018 1:31 pm
by riahc3
Hello

Im wondering if it is possible to acknowledge automatically a notification email via a reply to a notification email.

Our emails are currently something like:

From:[email protected]
To:[email protected]
Subject: NAGIOS PROBLEM Some Service CRITICAL
Body:
Notification Type: PROBLEM

Service: Some Service
Host: A host
Address: FQDN.TO.HOST.COM
State: CRITICAL

Date/Time: Wed May 6 01:01:01 CEST 2018

Additional Info:

1010

What we would look for is for Nagios to have a mail receiving client installed where if we reply to that email with something like

From:[email protected]
To:[email protected]
Subject: RE: NAGIOS PROBLEM Some Service CRITICAL
Body:
ACK

It automatically acknowledges that notification and suppresses it.

We would also know what to put in the body to "trigger" the suppression.

Would this be possible? In XI?

Re: Acknowledge by replying to a notification email?

Posted: Mon May 21, 2018 2:13 pm
by scottwilkerson
This isn't possible unless you customized Core and created a mail parser to receive the email and take action..

In Nagios XI this is available with what is called a Rapid Response URL, you click and then choose what to do
Ack
Comment
Re-check
etc.

Re: Acknowledge by replying to a notification email?

Posted: Mon May 21, 2018 3:08 pm
by riahc3
scottwilkerson wrote: In Nagios XI this is available with what is called a Rapid Response URL, you click and then choose what to do
Ack
Comment
Re-check
etc.
But this would require redirect logon access to the Nagios server thru HTTP/HTTPS, correct?

In a DMZ setup, this isnt possible; Nagios lies in a LAN zone and the mail server usually lies in the DMZ. Allow replying from the outside to the mail server and that mail server forwards it to Nagios where (for example) there is a mail parser that recieves the email from the mail server and then takes action.
scottwilkerson wrote: This isn't possible unless you customized Core and created a mail parser to receive the email and take action..
So would this be possible in Xi?

Re: Acknowledge by replying to a notification email?

Posted: Mon May 21, 2018 3:55 pm
by scottwilkerson
riahc3 wrote: But this would require redirect logon access to the Nagios server thru HTTP/HTTPS, correct?
Yes
riahc3 wrote: So would this be possible in Xi?
No, not by default, you would need to create that solution.

Re: Acknowledge by replying to a notification email?

Posted: Tue May 22, 2018 4:51 am
by riahc3
scottwilkerson wrote: Yes
scottwilkerson wrote: No, not by default, you would need to create that solution.
Thank you. Like I mentioned, in a DMZ setup, this cant be done.

Re: Acknowledge by replying to a notification email?

Posted: Tue May 22, 2018 7:57 am
by scottwilkerson
riahc3 wrote:Thank you. Like I mentioned, in a DMZ setup, this cant be done.
Correct