Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

It's been about few years since I went near SNMP and I now need to capture some metrics from Windows Servers via SNMP.

The last time I did something like this I used iReasoning's MIB Browser to discover some APC networked power outlets OID's.

I vaguely remember having to load a MIB file for the APC's into the MIB browser and seeing the OID's for various metrics.

What MIB file(s) do I need to load to discover the OID's for Windows Server 2003 and 2008 disk metrics?

share|improve this question

2 Answers 2

The top of the Windows disk SNMP tree is .1.3.6.1.2.1.25.2.3.1, also known as ".iso.org.dod.internet.mgmt.mib-2.host.hrStorage.hrStorageTable" When I built an SNMP script to grab these kinds of metrics, it was pretty obvious which sub-OIDs belonged to cluster size, allocated space, free space, and volume name.

The one gotcha to be aware of is that Windows does not present directory-mounted volumes this way. So if you have a volume mounted to "F:\Backups", you'll see "F:\" in the list, but not "F:\Backups". The only way I found to grab that data was to delve into WMI.

share|improve this answer
    
Ah ha...I was looking under the private.enterprises.... subtree. Will have a poke around and see what I can find. –  Kev May 19 '11 at 11:46
    
there are some metrics but sadly not the ones I'm after. Seems you have to do your own legwork or use a 3rd party SNMP plugin such as SNMP Informant. I've added my own answer to expand on this. Fortunately the stats I'm after are in their free plugin. –  Kev May 19 '11 at 12:35
up vote 0 down vote accepted

Whilst there are some metrics available under the SNMP tree described by sysadmin1138, lots of performance stats aren't available out of the box.

It seems you either have to build your own MIB's from Performance Monitor counters:

PERF2MIB.EXE: Performance Monitor MIB Builder Tool

Or use a third party SNMP extensions such as SNMP Informant which will expose these metrics:

SNMP Informant

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.