Where in the docs...

David Dyer-Bennet dd-b at dd-b.net
Thu Dec 4 21:05:35 CET 2008


...could I find information on macro definition and substitution? 
Comments in various places describe "$HOSTADDRESS$" as some kind of macro
substitution, and other examples show multiple sets of parameters in
somewhat strange syntax in service invocations (and refer to $ARG1$ and
such), but I haven't found where these things are actually documented or
explained at all.

I've been able to write a number of new service, command, and a couple of
host definitions, even some that use parameters, and they work, which is
nice (and even useful, already), but I need to understand macros more; are
they pre-coded, which ones exist, and so forth.  I'm sure the way I'm
doing things now is repeating things a lot more than is necessary (yes,
I've looked at the tip for multiple hosts with the same services, etc.,
and I do understand at least some of them).

-- 
David Dyer-Bennet, dd-b at dd-b.net; http://dd-b.net/
Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/
Photos: http://dd-b.net/photography/gallery/
Dragaera: http://dragaera.info


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
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