Patch: SERVICECHECKCOMMAND macro
Ethan Galstad
nagios at nagios.org
Wed Aug 11 04:32:42 CEST 2004
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: nagios at nagios.org
Website: http://www.nagios.org
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
More information about the Developers
mailing list