Antwort: RE: check_nt the manual and the automated way
Torsten Schiffer
tschiffer at avantgar.de
Wed Nov 6 15:39:07 CET 2002
Hi all,
I'm a fool!!!!
There has been a problem with permissions on the plugins directory!
made a chmod executable for all .....and it works ;-)
thx @dean
|---------+---------------------------->
| | "Bishop, Dean" |
| | <dean.bishop at tcds|
| | b.org> |
| | |
| | 06.11.2002 14:36 |
| | |
|---------+---------------------------->
>------------------------------------------------------------------------------------------------------------------------------|
| |
| An: "'Torsten Schiffer'" <tschiffer at avantgar.de>, nagios-users at lists.sourceforge.net |
| Kopie: |
| Thema: RE: [Nagios-users] check_nt the manual and the automated way |
>------------------------------------------------------------------------------------------------------------------------------|
the command_line should be
command_line $USER1$/check_nt -H $HOSTADDRESS$ -p
1248 -v
USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$
later,
dean
-----Original Message-----
From: Torsten Schiffer [mailto:tschiffer at avantgar.de]
Sent: Wednesday, November 06, 2002 8:19 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] check_nt the manual and the automated way
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
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
-------------------------------------------------------
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