Re: [Nagios-devel] $USERn$ macros should be allowed in services.cfg
Posted: Sat Aug 06, 2005 6:01 am
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]
> 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]