conditional variable usage (host specific settings)

Rejo Zenger nagios-users at subs.krikkit.nl
Wed Feb 6 13:20:46 CET 2008


++ 05/02/08 12:18 -0600 - Marc Powell:
>No, you cannot. I think the closest you can get would be to specify a
>different check_command in your first definition that would override the
>template check_command. This other check_command could take the argument
>of the address you want to check.

Of course I have thought about that option, but it would be sub-optimal
only. If I would need to change some other option to the check_command,
I would need to change it at several locations (which I want to avoid,
and which is why I am using templating).

But of course, nit-picking, as no one needs to change check_command
options frequently - not me anyway.

Thanks a lot for the answer.

-- 
Rejo Zenger <rejo at zenger.nl> https://rejo.zenger.nl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080206/03d09a42/attachment.sig>
-------------- next part --------------
-------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
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