Re: [Nagios-devel] Arguments to check commands (including macros)

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] Arguments to check commands (including macros)

Post by Guest »

William Leibzon wrote:
> Don't use macros as arguments to commands at service definition. I
> don't think this was ever documented in nagios 3 as being ok either
> even if it worked....

I sure hope this continues to work. I think it allows us to write much
simpler command objects that can more easily be reused by different services.
Command definitions are often kept in a separate file. It makes the service
definition much more readable and maintainable if all the service specific
args (including user defined macros which are defined in the service
definition or a template used by it) are passed to the command in the service
definition.






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