Re: [Nagios-devel] Undocumented features in on demand macro code

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] Undocumented features in on demand macro code

Post by Guest »

Matthias Eble wrote:
> 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
>

Duly noted. I'll get this in the docs. Thanks!

Ethan Galstad
Nagios Developer
___
Email: [email protected]
Web: www.nagios.org





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked