Re: [Nagios-devel] Patch: SERVICECHECKCOMMAND macro

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] Patch: SERVICECHECKCOMMAND macro

Post by Guest »

Great idea - I'll add this, along with a HOSTCHECKCOMMAND macro as
well.

On 9 Aug 2004 at 13:55, Jason Martin wrote:

> The attached patch against today's 2.0 CVS snapshot creates a
> new macro named "SERVICECHECKCOMMAND". The purposes of this
> macro is to make the command name used to check a given service
> available as a macro. My purposes for implementing this was to
> allow performance data processing scripts to make decisions on
> how to parse the perf data of a given plugin from something
> other than the Service Description, which is considered to be
> freeform human readable as opposed to 'categorical'. There will
> be a lot less variation in the check_command than in the service
> description.
>
> The expected output is to supply the first potion of the check
> command, ie if the command is "check_ftp!foo!bar" the result
> would be "check_ftp".
>
> Thanks,
> -Jason Martin
>
> --
> This message is PGP/MIME signed.
>



Ethan Galstad,
Nagios Developer
---
Email: [email protected]
Website: http://www.nagios.org






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