Actually, you may not be able to get it from there depending whether or not
you have SNMP Perfmon extensions installed. (The KB article shown refers to
that MIB)
Win2K uses the Host MIB by default. It is quite a task to figure out what is
what with that.
The OID for MIBII Host storage is:
.1.3.6.1.2.1.25.2.3.1.6.$instance or
.iso.org.dod.internet.mgmt.mib-2.host.hrStorage.hrStorageTable.hrStorageEntr
y.hrStorageUsed
This is in "Storage allocation units". 

To get the true byte value for this you must multiply the above returned
value by the size of the storage allocation units
.1.3.6.1.2.1.25.2.3.1.4.$instance or
.iso.org.dod.internet.mgmt.mib-2.host.hrStorage.hrStorageTable.hrStorageEntr
y.hrStorageAllocationUnits.$instance

An example:
Say you want to notify if your disk drops below 100MB(100000000) of space
and your Storage allocation unit size is 4096. You will need to divide
100000000 by 4096. 
You then monitor hrStorageUsed and use the value you just figured out to
create your SNMP monitor. 

I know that was a tad confusing. I hope I helped.

Mike Krygeris 
Somix Technologies, INC.




-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dana Smith
Sent: Monday, July 14, 2003 10:57 AM
To: [EMAIL PROTECTED]
Subject: RE: [WhatsUp Forum] Disk Space monitoring

http://support.ipswitch.com/kb/WG-20001201-DM01.htm

Probably does what you want. 

DS

-----Original Message-----
From: Mark Brody [mailto:[EMAIL PROTECTED]
Sent: Monday, July 14, 2003 11:45 AM
To: [EMAIL PROTECTED]
Subject: [WhatsUp Forum] Disk Space monitoring


Hello-

Is there an easy method to monitor disk space on Win2k machines?

Thanks in advance,

Mark


Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/

Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/




Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/

Reply via email to