Re: [Nagios-devel] $USERn$ macros should be allowed in services.cfg

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] $USERn$ macros should be allowed in services.cfg

Post by Guest »

Lori Adams wrote:
> It would be nice if $USERn$ macros would be allowed in services.cfg.
>

I thought they were.

>
>
> Example:
> define service {
>
> check_command some_command!$USERn$
>

You can do this anyway, by putting the USER-macro in the checkcommand
definition instead.

> }
>
>
>
> I just had this come for the second time in my configuration.
>
>
>
> It's especially useful, because the $USER$ macros accept exclamation
> points, and don't cause issues with checkcommands.
>
>
>
> Thanks,
>
>

You're welcome, I suppose.

--
Andreas Ericsson [email protected]
OP5 AB www.op5.se
Lead Developer





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