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?
Acknowledge by replying to a notification email?
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Acknowledge by replying to a notification email?
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.
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?
But this would require redirect logon access to the Nagios server thru HTTP/HTTPS, correct?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.
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.
So would this be possible in Xi?scottwilkerson wrote: This isn't possible unless you customized Core and created a mail parser to receive the email and take action..
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Acknowledge by replying to a notification email?
Yesriahc3 wrote: But this would require redirect logon access to the Nagios server thru HTTP/HTTPS, correct?
No, not by default, you would need to create that solution.riahc3 wrote: So would this be possible in Xi?
Re: Acknowledge by replying to a notification email?
scottwilkerson wrote: Yes
Thank you. Like I mentioned, in a DMZ setup, this cant be done.scottwilkerson wrote: No, not by default, you would need to create that solution.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Acknowledge by replying to a notification email?
Correctriahc3 wrote:Thank you. Like I mentioned, in a DMZ setup, this cant be done.