Adding $SERVICENOTESURL$ to notification emails

Sean Carley scarley at gmi-mr.com
Tue May 7 05:14:32 CEST 2013


It's $SERVICENOTESURL$.  You don't need enable_environment_macros. 

$NOTIFICATIONRECIPIENTS$ comes in handy too. 

-Sean

-----Original Message-----
From: Justin T Pryzby [mailto:justinp at norchemlab.com] 
Sent: Monday, May 06, 2013 10:12 AM
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Adding $SERVICENOTESURL$ to notification emails

On Mon, May 06, 2013 at 12:30:44PM -0400, Jeremy Page wrote:
> I am trying to send email with the notes URL in them but it's not 
> working. Should NAGIOS_SERVICENOTES exist as a environment variable I 
> can call with my notifications? Other macros work as expected - 
> SERVICESTATE, SERVICEDESC etc.

Do you have enable_environment_macros=1 ?  (Note that will have some performance impact).

Justin

------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
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

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
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