Page 1 of 1

Ability to acknowledge issue email

Posted: Mon Dec 08, 2014 1:09 pm
by jkinning
On Nagios Core when a check went critical there would be a link in the email message to acknowledge the check which went critical. On XI I setup a service check and I only receive the message no link to click on and acknowledge the alert.
Subject: ** PROBLEM Service Alert: yabbadabbadoo/Instances of BES Client is CRITICAL **

***** Nagios Monitor XI Alert *****

Notification Type: PROBLEM

Service: Instances of BES Client
Host: yabbadabbadoo
Address: x.x.x.x
State: CRITICAL

Date/Time: Mon Dec 8 12:48:29 EST 2014

Additional Info:

CRITICAL: Process count for processes named BESClient.exe was 0c


How can I include a link for the user to click on and acknowledge the alert within the email message? I am using Nagios XI 2014R2.0.

Re: Ability to acknowledge issue email

Posted: Mon Dec 08, 2014 1:22 pm
by tmcdonald
In the XI interface, click your username in the upper right-hand corner and then click Notification Messages on the left. There should be an entry in the host and service boxes like so:

Code: Select all

Respond: %responseurl%
Nagios URL: %xiserverurl%
If not, add that near the bottom of the message and save, then trigger an email.

Re: Ability to acknowledge issue email

Posted: Mon Dec 08, 2014 1:25 pm
by questrad
You can use Admin -> Notification Management component to deploy the same email notifications to all user and restrict them to make any changes.

Re: Ability to acknowledge issue email

Posted: Mon Dec 08, 2014 1:26 pm
by tmcdonald
questrad wrote:You can use Admin -> Notification Management component to deploy the same email notifications to all user and restrict them to make any changes.
If the Enterprise Edition features are enabled, but yes this is correct ;)

Re: Ability to acknowledge issue email

Posted: Mon Dec 08, 2014 2:34 pm
by jkinning
I clicked the checkbox - Set these notification messages as default for all users and Update Settings. When I trigger an alert I still don't get the link to click on and acknowledge the alert.

I have that line on both the host and services field:
***** Nagios XI Alert *****

%alertsummary%

Notification Type: %type%
Host: %host%
State: %hoststate%
Address: %hostaddress%
Info: %hostoutput%
Date/Time: %datetime%

Respond: %responseurl%
Nagios URL: %xiserverurl%

***** Nagios XI Alert *****

%alertsummary%

Notification Type: %type%

Service: %service%
Host: %host%
Address: %hostaddress%
State: %servicestate%
Info:
%serviceoutput%
Date/Time: %datetime%

Respond: %responseurl%
Nagios URL: %xiserverurl%

Re: Ability to acknowledge issue email

Posted: Mon Dec 08, 2014 2:39 pm
by tmcdonald
The "Nagios Monitor XI Alert" message in the email makes me think you are still using the contact notification command and not the XI User notification command. For the contact that is having this problem, make sure the notification commands are the xi_*_notification_handler commands and not the notify-*-by-email commands.