Acknowledgement Message Missing

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
JohnFLi
Posts: 559
Joined: Mon Jun 17, 2013 3:11 pm

Acknowledgement Message Missing

Post by JohnFLi »

I'm running Nagios XI v. 2014R2.6
For some odd reason, the email we get after acknowledging an alert, doesn't say WHO acknowledged it, or what message they entered for it.
The Acknowledge does work, and went I look at events (the Nagios core part) it does show who and what they said.

Code: Select all

[03-24-2015 09:42:20] SERVICE NOTIFICATION: myname.adm;G1VAVE01;Drive C: Disk Usage;ACKNOWLEDGEMENT (WARNING);notify-service-by-email;C:\ - total: 59.90 Gb - used: 55.16 Gb (92%) - free 4.74 Gb (8%);MyName;testing
and the email message i get

Code: Select all

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

Notification Type: ACKNOWLEDGEMENT
Service: Drive C: Disk Usage
Host: G1VAVE01
Address: G1VAVE01
State: WARNING
Date/Time: Tue Mar 24 09:42:20 PDT 2015
Additional Info:
C:\ - total: 59.90 Gb - used: 55.16 Gb (92%) - free 4.74 Gb (8%)

How do I fix this?
Everybody is somebody else’s weirdo
User avatar
JohnFLi
Posts: 559
Joined: Mon Jun 17, 2013 3:11 pm

Re: Acknowledgement Message Missing

Post by JohnFLi »

Ok, fixed it. (well mostly, Still need to add the user name)

I added

Code: Select all

Right after $SERVICEOUTPUT$\n\n append

"Notes: $SERVICEACKCOMMENT$"

to the notify-service-by-email and notify-service-by-host

Now the email I get back reads:

Code: Select all

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

Notification Type: ACKNOWLEDGEMENT

Service: Drive C: Disk Usage
Host: G1VAVE01
Address: G1VAVE01
State: WARNING

Date/Time: Tue Mar 24 11:15:26 PDT 2015

Additional Info:

C:\ - total: 59.90 Gb - used: 55.16 Gb (92%) - free 4.74 Gb (8%)

 Notes: testing
Everybody is somebody else’s weirdo
Locked