Right now, when we acknowledge an issue in Nagios and the acknowledgement email is sent out it doesnt include the comment field in the email. I need the steps to configure it so we can have the comments that are typed when an acknowledgement email is sent.
Ckeck your commands.cfg file. In there you should have definitions of notification commands that are configurable. If you want Acknowledge author and acknowledge comment to be visible, you have to set it in this way:
Looking at the most recent macro documentation, those underlined macros are deprecated:
[blockquote]8 These acknowledgement macros are deprecated. Use the more generic $NOTIFICATIONAUTHOR$, $NOTIFICATIONAUTHORNAME$, $NOTIFICATIONAUTHORALIAS$ or $NOTIFICATIONAUTHORCOMMENT$ macros instead.
[/blockquote]
You may find that (if applicable) on your nagios server’s documentation, under ‘the basics/Standard macros available in Nagios’. I should point out that I’m using 3.0rc2. If you are as well, I reckon you should try using
As you are using 2.10 I don’t know which version of the macros apply in your case, but I would think probably Albin’s post is applicable as the answer you are looking for. I’m afraid I don’t have 2.10 here so if that doesn’t work for you hopefully someone else using 2.10 can come up with something useful.
[Edit: Just to confirm, nagios will need a restart after the changes are made…]