Acknowledge emails
Marc Powell
marc at ena.com
Fri Jan 13 16:11:18 CET 2006
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Jason Gauthier
> Sent: Friday, January 13, 2006 8:52 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Acknowledge emails
>
> Greetings,
>
> I've been using nagios for quite a while. I've customized some of
my
> notifications to fit better on our pagers. Somehow, somewhere,
sometime
> acknowledgement emails stopped sending the acknowledgemnt comment with
> it. I cannot figure out which place it is I need to put this back
in.
> (Maybe this was a change during a nagios upgrade even). I'm just not
> certain.
If you've upgraded to the 2.x train, there is are new macros that you'll
need to include in your host and service-notify-by-email scripts --
http://nagios.sourceforge.net/docs/2_0/macros.html#serviceackcomment
$SERVICEACKAUTHOR$ A string containing the name of the user who
acknowledged the service problem. This macro is only valid in
notifications where the $NOTIFICATIONTYPE$ macro is set to
"ACKNOWLEDGEMENT".
$SERVICEACKCOMMENT$ A string containing the acknowledgement comment
that was entered by the user who acknowledged the service problem. This
macro is only valid in notifications where the $NOTIFICATIONTYPE$ macro
is set to "ACKNOWLEDGEMENT".
--
Marc
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list