10 Replies Latest reply on Aug 4, 2010 8:40 PM by Mahendra

    IPMonitor returning odd values for Disk Space poll

    jtopping

      I am trying to monitor a directly attached drive on a Win2k3 SP2 server. It is 11.2 TB in size and the free space is 3.91TB. However, when I poll it via SNMP(within ipmonitor 9.01), it returns the following:

       

      space: -8589934592 GB, 0.00 MB; avail: 252.12%

       

      Any idea what is causing this? The other drives are polling fine.

        • Re: IPMonitor returning odd values for Disk Space poll
          Peter.Cooper
          Hello jtopping,

          That's a might bit abnormal, and I can't say why it's doing that (right now). Can I ask a favor? Can you please do the following:

          1. Navigate to: ipMonitor Web UI > Configuration Tab > SNMP Monitor Wizard
          2. Use the following oid against your win2k3 sp2 server: 1.3.6.1.2.1.25.2.3.1
          3. Can you post the following values for the 11.2 TB drive?
            hrStorageType
            hrStorageAllocationUnits
            hrStorageSize
            hrStorageUsed
            hrStorageAllocationFailure
          Thanks!
            • Re: IPMonitor returning odd values for Disk Space poll
              jtopping
              Hello jtopping,

              That's a might bit abnormal, and I can't say why it's doing that (right now). Can I ask a favor? Can you please do the following:

              1. Navigate to: ipMonitor Web UI > Configuration Tab > SNMP Monitor Wizard
              2. Use the following oid against your win2k3 sp2 server: 1.3.6.1.2.1.25.2.3.1
              3. Can you post the following values for the 11.2 TB drive?
                hrStorageType
                hrStorageAllocationUnits
                hrStorageSize
                hrStorageUsed
                hrStorageAllocationFailure
              Thanks!

               Sorry for the delay...this totally slipped my mind

               

              Here you go:

              hrStorageTypes.4 (1.3.6.1.2.1.25.2.1.4)

              4096

              -2042278145

              191075255

              0

                • Re: IPMonitor returning odd values for Disk Space poll
                  jtopping

                   seems to me 11.2TB is too big of a drive for this size of an integer...need more bits...long unsigned int? :-)

                    • Re: IPMonitor returning odd values for Disk Space poll
                      Peter.Cooper

                       

                      seems to me 11.2TB is too big of a drive for this size of an integer...need more bits...long unsigned int? :-)


                      1 TB = 1,099,511,627,776

                      11.2 TB =  12,314,530,231,091 ish

                      11.2 TB / 4096 =  3,006,477,107

                      http://support.ipmonitor.com/mibs/SNMPV2-SMI/item.aspx?tid=Integer32hrStorageSize OBJECT-TYPE
                            SYNTAX     Integer32 (0..2147483647)

                      Looks like ipMonitor is following the MIB a little TOO closely. At least now we know why. If the allocation size was 8192, we'd see what you and I expect.

                      Might I suggest you try WMI for this one drive? In this spot, we should patch the software to expect the number to actually be Uinteger32. I'll go enter this as a bug.

                        • Re: IPMonitor returning odd values for Disk Space poll

                          Was just about to start a new post about this when I came across this thread, which pretty much sums up what I'm seeing with one of my drivespace monitors.  The main differences for me though are that the server is Win2k8 and the drive isn't a local drive, it's SAN-attached.

                          The drivespace information when reported using SNMP was just like the original poster, so I went ahead and configured it to use WMI instead.  Although the results looked better, they're still inconsistent with the information that Windows is showing.  If you look at the properties of the drive in Windows you see:

                          • Used: 7,777,052,868,608 bytes (7.07 TB)
                          • Free: 3,217,932,333,056 bytes (2.92 TB)
                          • Capacity: 10,994,985,201,664 bytes (9.99 TB)

                          However, the results reported in ipMonitor are showing the following:

                          • Used: 11,249,321 MB (10.73 TB)
                          • Free: 3,068,859 MB (2.93 TB)
                          • Capacity: 14,318,180 MB (13.66 TB)

                          So the free space reported is just about dead-on, but the used and total capacity are being reported as about 3 TB too large.  Any ideas as to why ipMonitor would be reporting these inconsistent values?  Thanks.

                  • Re: IPMonitor returning odd values for Disk Space poll

                    We are having the same problem.  Is there any resolution for this?

                      • Re: IPMonitor returning odd values for Disk Space poll
                        Fodome

                        Hello Udsaxman and co,

                        The problem is due to the fact that the number of allocation units exceeds the maximum number supported by the Host-Resources MIB, which is 2147483648 (2^31). 

                        In order to get around this limitation, you would need to switch to SNMP Informant which supports integers as high as 4294967296 (2^32).  First you need to install the SNMP Informant-STD free client on the remote system.  It can be downloaded from here:

                        http://www.wtcs.org/informant/download.htm

                        Once it is installed, restart the SNMP service on that system in order for it to load the new dll.

                        Now edit the Monitor and switch the "Communication Type" to "SNMP (Informant)".  Reselect the Drive and click Apply.

                        Let me know if this helps,

                        Chris Foley - SolarWinds - Support Specialist
                        Support:  866.530.8040  |  Fax: 512.857.0125
                        network management simplified  |  solarwinds.com