Using Macros in hostext definitions

Marc Powell marc at ena.com
Wed Aug 6 17:01:14 CEST 2008



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Assaf Flatto
> Sent: Wednesday, August 06, 2008 9:32 AM
> To: Nagios User list
> Subject: [Nagios-users] Using Macros in hostext definitions


> I was wondering if i can add macros to the hostextinfo that will
display
> the Contact Group and the
> Contacts associated with the host i am looking at ?

You cannot. Macro expansion only available for command{}'s. The CGI's
have no understanding of them.

<long but humorous restrictions/copywrite claim/etc snipped>

--
Marc


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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