Macro expansion in hostextinfo->notes_url

Marc Powell marc at ena.com
Tue Feb 26 22:17:18 CET 2008



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Rostislav Opocensky
> Sent: Tuesday, February 26, 2008 2:45 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Macro expansion in hostextinfo->notes_url
> 
> Hello,
> 
> does anybody know why $HOSTNAME$ in hostextinfo->notes_url expands to
> host name, while $HOSTGROUPNAME$ expands to nothing?
> 
> With Nagios 2.10, I am using notes_url in hostextinfo to create an

Have you seen documentation that said it should work?

Macro expansion for notes_url is relatively new. Currently only
$HOSTNAME$ and $HOSTADDRESS$ are supported. Nagios-3 appears to address
this extensively in that all appropriate macros appear to be available
for substitution (from reading the source).

--
Marc 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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