Server Disk utilization Formula(SNMP)

Server Disk utilization Formula(SNMP)

OpManager uses HostResources.mib and its OIDs to calculate the disk utilization. The OIDs(and the responses) that you have to check are

1).1.3.6.1.2.1.25.2.3.1.2 :hrStorageType

2).1.3.6.1.2.1.25.2.3.1.4 : hrStorageAllocationUnits

3).1.3.6.1.2.1.25.2.3.1.5: hrStorageSize

4).1.3.6.1.2.1.25.2.3.1.6: hrStorageUsed

OpManager uses the first OID (hrStorageType) to find the list of fixed disks and the next 3 OIDs will be used for actual calculation only for those Fixed disks.

Refer the attached image with the SNMP response for the above mentioned OIDs. Click Settings-->Tools MIB Browser  and load Host Resources-MIB and provide the device details and its community string and check responses for those OIDs.



Note:You can also check the same using the standalone MIB browser by Open CMD prompt as Admin and execute mibbrowser.bat under /opmanager/bin. Load HostResources.mib and query the OIDs mentioned above.

Out of 5 instances last three are the actual fixed disks(partitions). Others are RAM info and removable disks.  So the we need to use only the last 3 instances for calculation.


Here is the Calculation for disk utilization

(hrStorageAllocationUnits*hrStorageUsed)*100/(hrStorageAllocationUnits*hrStorageSize)


Total used= 4096*20363308+ 4096*748795+ 4096*28642= 86592491520 bytes = 86.59GB

Total HD size=4096*64607743+ 4096*34365439+ 4096*25599999=510251749376 bytes= 510.2GB


So Disk Utilization(%)=86.59*100/510.2=16.97%

                  New to ADSelfService Plus?

                    • Related Articles

                    • Configuring threshold values for disk partitions in OpManager

                                                                                            For the Servers, we discover Disk utilization using both WMI and SNMP. Also, we monitor the drive partitions that are available in those Servers. The customers found this very ...
                    • Configuring SNMP on Redhat Linux server

                      Question: How do I configure SNMP on my Redhat Linux server. Solution: (1) Edit the file /etc/snmp/snmpd.conf using a text editor such as vi, enter: # vi /etc/snmp/snmpd.conf Change/Modify line(s) as follows: Find the following Line: com2sec ...
                    • OpManager does not start after disk space issue on OpManager server

                      Issue: OpManager server ran out of disk space on Hard drive where OpManager is installed and does not start even   after  clearing the space. Solution : During disk space issue , there is a possibility that OpManager license  files might get ...
                    • Enable SNMP in Servers (windows 10 ,Linux and MAC)

                      Windows 10 Open the Settings on your Windows machine. Click Apps. Choose Manage optional features under Apps & features. Click Add a feature. Select Simple Network Management Protocol (SNMP) from the list. This will install the SNMP service in your ...
                    • Device discovered as unknown even through configured with SNMP credential in OpManager

                      Issue: Device discovered as unknown even after adding the SNMP read community. Reason: The device may not be configured properly with SNMP or  OpManager is not configured properly with device SNMP community. Resolution: You may check for the ...