Acknowledge by replying to a notification email?

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
riahc3
Posts: 58
Joined: Thu Apr 05, 2018 9:36 am

Acknowledge by replying to a notification email?

Post 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:support@acompany.com
To:support@ourcompany.com
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:support@ourcompany.com
To:support@acompany.com
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?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Acknowledge by replying to a notification email?

Post 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.
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
riahc3
Posts: 58
Joined: Thu Apr 05, 2018 9:36 am

Re: Acknowledge by replying to a notification email?

Post 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?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Acknowledge by replying to a notification email?

Post 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.
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
riahc3
Posts: 58
Joined: Thu Apr 05, 2018 9:36 am

Re: Acknowledge by replying to a notification email?

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Acknowledge by replying to a notification email?

Post by scottwilkerson »

riahc3 wrote:Thank you. Like I mentioned, in a DMZ setup, this cant be done.
Correct
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked