check_nt the manual and the automated way

Torsten Schiffer tschiffer at avantgar.de
Wed Nov 6 14:19:15 CET 2002


Hi all,


I've got the following problem

I'am performing a manual test on a host (NSCLIENT VERSION: 1.0.7.0 on a NT
4.0 Server with SP5.) on the command line:

(root at Netsaint) ../nagios/plugins (121)>./check_nt -H 10.200.0.13 -v
USEDDISKSPACE -l c
c:\ - total: 1.95 Gb - used: 0.40 Gb (21%) - free 1.55 Gb (79%)

This looks good....so far

But when the procedure should be performed by Nagios/NETSAINT it returns as
follows:

"Return code of 126 is out of bounds - plugin may be missing"

the plugin is in the right place as it should be!

this is my  command definition out of  commands.cfg

# 'check_nt_disk_c_default' command definition
define command{
        command_name    check_nt_disk_c_default
        command_line    /usr/lib/nagios/plugins/check_nt -H $HOSTADDRESS$
-v USEDDISKSPACE -l c
        }



Anyone out there with an idea about that?


Torsten



-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en




More information about the Users mailing list