[PATCH] Adding simple nrpe check

Jeroen van Meeuwen kanarip at kanarip.com
Tue Mar 30 01:02:31 UTC 2010


On Mon, 29 Mar 2010 18:37:08 -0500 (CDT), Mike McGrath
<mmcgrath at redhat.com> wrote:
> On Tue, 30 Mar 2010, Jeroen van Meeuwen wrote:
> 
>>
>> On Mon, 29 Mar 2010 15:56:34 -0500, Mike McGrath <mmcgrath at redhat.com>
>> wrote:
>> > This simple check will allow us to see if nrpe is functioning
>> >
>>
>> NRPE is supposed to return it's name and version number if no command
is
>> specified. You don't have to configure anything on the client-side,
>> unless
>> you have a general command prefix pointing to sudo, but can instead
just
>> run /path/to/check_nrpe -H $HOSTADDRESS$ on the server side, without
any
>> additional switches.
>>
>> I'm just saying, apologies for the noise.
>>
> 
> I wasn't sure if that would be a good enough test or to do a full end to
> end test.
> 

It is sufficient, if you want to know;

- the host is reachable,
- the port is open,
- nrpe is running,
- any implicit or explicit ssl negotations worked out fine

but no more then that.

-- Jeroen


More information about the infrastructure mailing list