If you would like to see acknowledgment comments in the Nagios email alerts that get sent so other admins do not need to login to view the comment.
edit your notification command cfg file and find this line: notify-service-by-email
Right after $SERVICEOUTPUT$\n\n append
"Notes: $SERVICEACKCOMMENT$"
Thats it, reload nagios and your done.
http://nagios.sourceforge.net/docs/2_0/macros.html
Superb , I was looking for a solution like this . Thanks for Sharing .
ReplyDeleteNice post dear. Thanks for sharing it RDP Thin Client & Citrix Thin Client & Linux Thin Client
ReplyDeleteNote you need to use the $NOTIFICATIONCOMMENT$ macro in newer versions of nagios, as the ACK macros have been deprecated.
ReplyDeleteSee: http://nagios.sourceforge.net/docs/3_0/macrolist.html#note8