[mrtg] SNMP Disk Space Negative Values

Courtney, Wrolf Wrolf.Courtney at mtahq.org
Wed Nov 26 02:25:40 CET 2014


________________________________________
From: mrtg [mrtg-bounces+wrolf.courtney=mtahq.org at lists.oetiker.ch] on behalf of Mr. James W. Laferriere [babydr at baby-dragons.com]
Sent: Tuesday, November 25, 2014 5:52 PM
To: Christian Arnaut
Cc: mrtg at lists.oetiker.ch
Subject: Re: [mrtg] SNMP Disk Space Negative Values

        Hello Christian ,  While no expert ,  I (off the top of my head) think
may be a wrap around error for Snmp-V1 try snmp-V2 ,  add ":::::2" to the end of
the query string .

                Hth ,  JimL

You have reached a limitation of host resources MIB - with block size of 4096 bytes, counters wrap at about 9TB.

The problem is SNMP, not MRTG. http://tools.ietf.org/html/rfc2790.html#page-11

Wrolf

On Tue, 25 Nov 2014, Christian Arnaut wrote:

> Am attempting to use MRTG to monitor disk space on a Windows Server as I have done on multiple servers and workstations in the past. However, this time the local storage capacity on the local drive partition is nearly 15TB.
>
> It appears that I have exceeded an SNMP threshold where the integer values are now negative numbers. For example to monitor total space on the C: drive I used (simplified)... iso.3.6.1.2.1.25.2.3.1.4.2 * iso.3.6.1.2.1.25.2.3.1.6.2
>
> iso.3.6.1.2.1.25.2.3.1.3.2 = STRING: "C:\\ Label:"
> iso.3.6.1.2.1.25.2.3.1.3.4 = STRING: "E:\\ Label:"
> iso.3.6.1.2.1.25.2.3.1.4.2 = INTEGER: 4096
> iso.3.6.1.2.1.25.2.3.1.4.4 = INTEGER: 4096
> iso.3.6.1.2.1.25.2.3.1.5.2 = INTEGER: 10350335
> iso.3.6.1.2.1.25.2.3.1.5.4 = INTEGER: -268468737
> iso.3.6.1.2.1.25.2.3.1.6.2 = INTEGER: 6261795
> iso.3.6.1.2.1.25.2.3.1.6.4 = INTEGER: -527400222
>
> With the E: drive, iso.3.6.1.2.1.25.2.3.1.4.4 correctly shows the cluster size (4096). However, I am sure the total number of clusters isn't '-527400222'. Even if I used the absolute value of 527400222, the numbers don't add up to the 15TB partition size.
>
> Any suggestions? Or have I reached the limitation of MRTG for the purpose I am looking for?
>
>
> Thank you, in advance, for any assistance!
>
> ~Christian
>

--
+------------------------------------------------------------------+
| James   W.   Laferriere | System    Techniques | Give me VMS     |
| Network&System Engineer | 3237     Holden Road |  Give me Linux  |
| babydr at baby-dragons.com | Fairbanks, AK. 99709 |   only  on  AXP |
+------------------------------------------------------------------+

_______________________________________________
mrtg mailing list
mrtg at lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg


More information about the mrtg mailing list