undocumented feature: NRPE/check_nrpe version query command
Matthias Eble
matthias.eble at mailing.kaufland-informationssysteme.com
Thu Feb 21 17:42:12 CET 2008
Marcus Fleige schrieb:
> Hi,
>
> Matthias Eble schrieb am 21.02.2008 16:57 Uhr:
>> Hi Ethan, hi list,
>>
>> I found the internal _NRPE_CHECK command in the nrpe sources some months
>> ago and found it very useful.
>> It can be used to remotely query nrpe's version:
>>
>> # check_nrpe -H somehost -c _NRPE_CHECK
>> NRPE v2.8.1
>>
>
> Doesn't "check_nrpe -H somehost" do exactly the same? :-)
well, yes because
#define DEFAULT_NRPE_COMMAND "_NRPE_CHECK" /* check version of NRPE
daemon */
...
(command_name==NULL)?DEFAULT_NRPE_COMMAND:command_name);
However, I couldn't find any documentation about it.
check_nrpe --help only defines -c to be optional.
-------------------------------------------------------------------------
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/
More information about the Developers
mailing list