[Nagiosplug-help] Check_NT Plugin - USEDDISKSPACE

Sillz <----- bst0ver at comcast.net
Sat Nov 15 16:03:04 CET 2003


Hi,

I'm stumped! This is my first time posting here.

I have Nagios all setup and configured on a freebsd box monitoring Win2k Servers, and everything is working beautifully with one exception. I can use the USEDDISKSPACE option of the check_nt plugin to monitor both C:\ & E:\ volumes on a file server, and the correct data is returned. These volumes exist as a part of a RAID 5 array. However, when I try to monitor the F:\ volume which is a part of the same array, I receive the follwing error:

"Free disk space : Invalid drive"

I think my services,cfg and checkcommands.cfg files are set up right because I'm using the same commands and services for several servers, and this is the only problem. Also, I can test this from the command line with the same results:

./check_nt -H x.x.x.x -p 33333 -v USEDDISKSPACE -lF 

Free disk space : Invalid drive

My port assignment is correct.

Here's my uname output.

FreeBSD norcalmon.norcalmutual.com 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Tue Sep 18 11:57:08 PDT 2001 murray at builder.FreeBSD.org

:/usr/src/sys/compile/GENERIC i386

I'm using the 2.0.1.0 version of the nsclient, the 1.3.1 version of the plugin, and the 1.1 version of Nagios.

I saw one thread about this in message # 8877341, but there did not appear to be a resolution.

Here's the excerpt from my services.cfg & checkcommands.cfg files:

********************

# Service definition

define service{

use generic-service ; Name of service template to use

host_name servername

service_description USEDDISKSPACE-F

is_volatile 0

check_period 24x7

max_check_attempts 3

normal_check_interval 5

retry_check_interval 1

contact_groups Admins

notification_interval 120

notification_period 24x7

notification_options w,u,c,r

check_command check_nt_disk!F!60!75

}

*******************



# 'check_nt_disk' command definition

define command{

command_name check_nt_disk

command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 33333 -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$

}

********************

I also tried using the COUNTER option to to grab information from the LOCALDISK and PHYSICALDISK performance monitor counters. I received the same results -- data was returned for the first 2 volumes, but nothing for the F:\ volume even though I can successfully grab data using the performance monitor.

It's a drag because the volume is the main data storage area for my users, and it needs the most baby sitting.

Any suggestions would be appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20031115/91473c98/attachment.html>


More information about the Help mailing list