Undocumented features in on demand macro code

Matthias Eble matthias.eble at mailing.kaufland-informationssysteme.com
Mon Feb 4 10:59:23 CET 2008


Hi All,

when looking to the macro code I found out that passing a group name 
instead of a host name in the first argument is valid, too. But I 
couldn't find any documentation about it unfortunately.

In this case syntax is following:
$SERVICEMACRO:SERVICEGROUP_NAME:DELIMITER$ or
$HOSTMACRO:HOSTGROUP_NAME:DELIMITER$

thus:
$SERVICESTATEID:svc_grp:,$
returns a comma separated list of all the state IDs in the service group.

The output can then for example be passed to check_cluster reporting the 
overall status of eg. a service group - great.

This is definitely worthh being mentioned in the docs if you ask me.

Matthias








-------------------------------------------------------------------------
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/




More information about the Developers mailing list