NSClient++ Help (#1) - check_nrpe returns no detail (#73) - Message List
I've installed and configured 0.3.0 on win2003 x64. I've also compiled nrpe 2.11 plugins for nagios.
running a nsclient++.exe /test works fine and if I use a command like checkCPU warn=80 crit=90 time=20m time=10s time=4 I get good results
running a check_nrpe from my linux box is connecting fine but always just returns
./check_nrpe -H cbrintsvr18 -p 5666 checkCPU warn=80,crit=90,time=20m,time=10s,time=4 I (0.3.0.5 2007-12-04) seem to be doing fine...
the same seems to happen for all valid commands. What am I doing wrong? I've tried not loading the checkhelpers.dll to make sure I hadn't got any silly options to always return success etc.
thanks David
-
Message #709
Hi,
I think that
./check_nrpe -H cbrintsvr18 -p 5666 checkCPU warn=80,crit=90,time=20m,time=10s,time=4
should be changed to
./check_nrpe -H cbrintsvr18 -p 5666 -c checkCPU -a warn=80,crit=90,time=20m,time=10s,time=4
That is, the command ("checkCPU") and the command parameters ("warn=...") must be marked with the corresponding command line switches (-c and -a, respectively).
Regards
anonymous09/11/08 10:32:11 (5 years ago)








