1

Usage of snmptools to observer Disk Read / Write Time [Win2008 64/32 bit]

ITS OBSOLETE currently I assume, might not WORK any longer.

In the past, I used to be mistreatment erwan‘s symptom on windows 2003 base server’s to graph mrtg of any instance of remote computer as well as Windows Performance Monitor Counters, snmptools provide the facility to question any performance counter and taking that worth, you’ll produce nice graphs on mrtg or different watching system like Mikrotik base the sheik
e.g: https://aacable.wordpress.com/2012/07/02/the-dude-show-us-your-map-series/
, however sadly it didn’t found out on behalf of me on Windows 2008 sixty four bit base servers. Once I try and question the one.3.6.1.4.1.15.1 oid tree, i purchase no results, even when putting in snmptools, I found at that I actually have to manually add the counters myself within the counters.ini file.

I did accomplish this task by mistreatment following technique. make certain you put in SNMP service & put together it before continued.

Automatic Installer is offered at

http://erwan.labalec.fr/snmptools/snmptools64.exe

The Manual technique is as below . . .

Download Erwan SNMPTOOLS from

http://erwan.labalec.fr/snmptools/snmptools2.zip

Unzip it to any folder. Copy snmptools.dll to c:\windows\ folder.
Now run regagentWow6432.reg
Restart SNMP Service.

Now question this box mistreatment snmpwalk or the other snmp browser. I typically use Linux [ubuntu] base OS for general functions.

snmpwalk  -v2c  -c  public  10.0.0.1  1.3.6.1.4.1.15

You may see following result.

SNMPv2-SMI::enterprises.15 = STRING: “snmptools by erwan.l@free.fr”

Now open c:\counters.ini (If it doesn’t exists, produce one) , take away all lines and add following lines.

;this file is optional
;you can define here the hardcoded oid for specific ms counters

[1.3.6.1.4.1.15.1]
counter=PhysicalDisk\% Disk Read Time\_Total

[1.3.6.1.4.1.15.2]
counter=PhysicalDisk\% Disk Write Time\_Total

[1.3.6.1.4.1.15.3]

counter=PhysicalDisk\Avg. Disk Queue Length\_Total

[1.3.6.1.4.1.15.4]

counter=PhysicalDisk\Avg. Disk Queue Length C:

[1.3.6.1.4.1.15.5]

counter=PhysicalDisk\Avg. Disk Queue Length\1 D:

Save & Exit


Now use the subsequent question

For Disk scan in our own way
snmpwalk -v2c -c agp ten.0.0.1 1.3.6.1.4.1.15.1

For Disk Write Time in our own way
snmpwalk -v2c -c agp ten.0.0.1 1.3.6.1.4.1.15.2

and likewise.

To show Disk Read/Write time within the sheik device look , use the subsequent code:

Disk scan / Write Time C: & D:

[string substring(oid(“1.3.6.1.4.1.15.1”),0,3)] / [string substring(oid(“1.3.6.1.4.1.15.2”),0,3)]


You can use same principal and arduous code any OID you prefer, for instance different performance counters.
On Windows thirty two bit, merely putting in http://erwan.labalec.fr/snmptools/snmptools32.exe can provide you with whole list beneath one.3.6.1.4.1.15 oid tree.

Asad Mukhtar

One Comment

  1. When I originally left a comment I seem to have
    clicked the -Notify me when new comments are added- checkbox
    and now every time a comment is added I get 4 emails with the
    same comment. There has to be an easy method you can remove me from that service?
    Kudos!

    My homepage; CBD for Sale

Leave a Reply

Your email address will not be published. Required fields are marked *