Free disk space : Invalid drive (Checking Wind ows 2000 Server)

Fredrik Wänglund fredrik.wanglund at datavis.se
Fri Jun 6 15:31:10 CEST 2003


I have the same problem..

[root at pistol hl]# ../../libexec/check_nt -v USEDDISKSPACE -H sdl-fil-003 
-l C
C:\ - total: 3.91 Gb - used: 3.17 Gb (81%) - free 0.74 Gb (19%)

[root at pistol hl]# ../../libexec/check_nt -v USEDDISKSPACE -H sdl-fil-003 
-l D
Free disk space : Invalid drive

[root at pistol hl]# ../../libexec/check_nt -v USEDDISKSPACE -H sdl-fil-003 
-l E
E:\ - total: 10.18 Gb - used: 6.67 Gb (65%) - free 3.52 Gb (35%)

[root at pistol hl]# ../../libexec/check_nt -v USEDDISKSPACE -H sdl-fil-003 
-l F
F:\ - total: 67.83 Gb - used: 23.70 Gb (35%) - free 44.13 Gb (65%)


[root at pistol hl]# snmpwalk -c ***** sdl-fil-003 
HOST-RESOURCES-MIB::hrStorage
HOST-RESOURCES-MIB::hrMemorySize.0 = INTEGER: 1048092 KBytes
HOST-RESOURCES-MIB::hrStorageIndex.1 = INTEGER: 1
HOST-RESOURCES-MIB::hrStorageIndex.2 = INTEGER: 2
HOST-RESOURCES-MIB::hrStorageIndex.3 = INTEGER: 3
HOST-RESOURCES-MIB::hrStorageIndex.4 = INTEGER: 4
HOST-RESOURCES-MIB::hrStorageIndex.5 = INTEGER: 5
HOST-RESOURCES-MIB::hrStorageIndex.6 = INTEGER: 6
HOST-RESOURCES-MIB::hrStorageIndex.7 = INTEGER: 7
HOST-RESOURCES-MIB::hrStorageType.1 = OID: 
HOST-RESOURCES-TYPES::hrStorageRemovableDisk
HOST-RESOURCES-MIB::hrStorageType.2 = OID: 
HOST-RESOURCES-TYPES::hrStorageFixedDisk
HOST-RESOURCES-MIB::hrStorageType.3 = OID: 
HOST-RESOURCES-TYPES::hrStorageFixedDisk
HOST-RESOURCES-MIB::hrStorageType.4 = OID: 
HOST-RESOURCES-TYPES::hrStorageFixedDisk
HOST-RESOURCES-MIB::hrStorageType.5 = OID: 
HOST-RESOURCES-TYPES::hrStorageFixedDisk
HOST-RESOURCES-MIB::hrStorageType.6 = OID: 
HOST-RESOURCES-TYPES::hrStorageCompactDisc
HOST-RESOURCES-MIB::hrStorageType.7 = OID: 
HOST-RESOURCES-TYPES::hrStorageVirtualMemory
HOST-RESOURCES-MIB::hrStorageDescr.1 = STRING: A:\
HOST-RESOURCES-MIB::hrStorageDescr.2 = STRING: C:\ Label:  Serial Number 
94d2f9ec
HOST-RESOURCES-MIB::hrStorageDescr.3 = STRING: D:\
HOST-RESOURCES-MIB::hrStorageDescr.4 = STRING: E:\ Label:  Serial Number 
b8405859
HOST-RESOURCES-MIB::hrStorageDescr.5 = STRING: F:\ Label:Data  Serial 
Number 1ca44e5a
HOST-RESOURCES-MIB::hrStorageDescr.6 = STRING: Z:\
HOST-RESOURCES-MIB::hrStorageDescr.7 = STRING: Virtual Memory
HOST-RESOURCES-MIB::hrStorageAllocationUnits.1 = INTEGER: 0 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.2 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.3 = INTEGER: 0 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.4 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.5 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.6 = INTEGER: 0 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.7 = INTEGER: 65536 Bytes
HOST-RESOURCES-MIB::hrStorageSize.1 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageSize.2 = INTEGER: 1024079
HOST-RESOURCES-MIB::hrStorageSize.3 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageSize.4 = INTEGER: 2669055
HOST-RESOURCES-MIB::hrStorageSize.5 = INTEGER: 17781938
HOST-RESOURCES-MIB::hrStorageSize.6 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageSize.7 = INTEGER: 18905
HOST-RESOURCES-MIB::hrStorageUsed.1 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageUsed.2 = INTEGER: 829877
HOST-RESOURCES-MIB::hrStorageUsed.3 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageUsed.4 = INTEGER: 1747961
HOST-RESOURCES-MIB::hrStorageUsed.5 = INTEGER: 6212954
HOST-RESOURCES-MIB::hrStorageUsed.6 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageUsed.7 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageAllocationFailures.1 = Counter32: 0
HOST-RESOURCES-MIB::hrStorageAllocationFailures.2 = Counter32: 0
HOST-RESOURCES-MIB::hrStorageAllocationFailures.3 = Counter32: 0
HOST-RESOURCES-MIB::hrStorageAllocationFailures.4 = Counter32: 0
HOST-RESOURCES-MIB::hrStorageAllocationFailures.5 = Counter32: 0
HOST-RESOURCES-MIB::hrStorageAllocationFailures.6 = Counter32: 0
HOST-RESOURCES-MIB::hrStorageAllocationFailures.7 = Counter32: 0

As you can see from the snmpwalk, drive D (index 3) have no label, 
allocationunits, size etc.
BUT, as you can see in the attached jpg-image, it works in Windows!

/FredrikW


Dean Bishop wrote:

>We're going to need more information to help you.  i.e. 
>
>what is the target server configuration wrt harddrives,
>what does your nagios config look like (specifically the check_nt command in
>checkcommands.cfg and the service definition in services.cfg)
>what should the result be, 
>what happens if you run check_nt from the command-line?
>
>dean
>
>-----Original Message-----
>From: MrWetsnow [mailto:dant at wetsnow.com] 
>Sent: June 5, 2003 4:55 PM
>To: Nagios-users at lists.sourceforge.net
>Subject: [Nagios-users] Free disk space : Invalid drive (Checking Windows
>2000 Server)
>
>
>Hello.
>
>I am running Nagios 1.0 on a linux box.  I used check_nt to check various
>windows machines.  I have all of them working fine, checking the various
>drives.  On one machine, when I ask Nagios to check a drive (the D drive on
>the machine), it always returns:
>
>
>Free disk space : Invalid drive
>
>It has no problem checking any other drives on that machine.
>
>I am using the nsclient on the Windows Server.
>
>Has anyone seen this before?
>
>Thank you.
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
>thread debugger on the planet. Designed with thread debugging features
>you've never dreamed of, try TotalView 6 free at www.etnus.com.
>_______________________________________________
>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
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
>thread debugger on the planet. Designed with thread debugging features
>you've never dreamed of, try TotalView 6 free at www.etnus.com.
>_______________________________________________
>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
>  
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: screen.jpg
Type: image/jpeg
Size: 77111 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20030606/90e3efc6/attachment.jpg>


More information about the Users mailing list