R: R: nsclient++ and nrpe commands

Marco Borsani m.borsani at it.net
Mon Oct 5 15:23:41 CEST 2009


Excuse me , I did not wrote the real error message I am receiving.

 

I run from nagios server:

./check_nrpe -H <ip address> -c disk0

And receive this:

'check_openmanage.exe' is not recognized as an internal or external command,
operable program or batch file.

 

The nsc.ini file there are all the parameters you suggested me and the
command “disk0” is defined:

disk0=scripts\Disk0.bat

 

If you run Disk0.bat in MSdos shell, it works correctly. 

Is has only one raw (@check_openmanage.exe -v | find "Physical Disk 0:0")

 

In the nsclientlog we read:

2009-10-05 15:22:09: error:modules\NRPEListener\NRPEListener.cpp:263: The
command (disk0) returned an invalid return code: 255

 

I always restart nsclientpp when I modified the NSC.ini file.

 

Regards

Marco

 

Da: Natxo Asenjo [mailto:natxo.asenjo at gmail.com] 
Inviato: lunedì 5 ottobre 2009 14.49
A: Nagios Users Mailinglist
Oggetto: Re: [Nagios-users] R: nsclient++ and nrpe commands

 


-- 
Groeten,
J.Asenjo



On Mon, Oct 5, 2009 at 12:23 PM, Marco Borsani <m.borsani at it.net> wrote:

I upgrade to nsclient++ 0.3.6.4 but I always receive:

 

UNKNOWN: No handler for that command 


if you read my last message you see the answer to that error ... 

ps: after any modification to the nsc.ini file, I assume you restart the
nsclientpp service, obviously.

Marco


natxo

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20091005/04972924/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list