[mrtg] Issue with MRTG and explicit OIDs

Peter Dolkens peter.dolkens at ddrit.com
Sun Jul 22 09:25:56 CEST 2012


Hi again,

Upon further investigation, it appears that these counters are reporting
that they're "Integer32" values, and being treated as signed values.
Is there any way I can override that to be "Counter32", which, I assume, is
unsigned?

Thanks,
Pete

On Sun, Jul 22, 2012 at 5:02 PM, Peter Dolkens <peter.dolkens at ddrit.com>wrote:

> Hi Steve,
>
>   Just tried your suggestions and no luck.
>
> Target[piper.ddrit.com_TEST]:
> 1.3.6.1.2.1.25.2.3.1.6.33&1.3.6.1.2.1.25.2.3.1.5.33:ddrit at piper.ddrit.com:
> ::::2
> MaxBytes[piper.ddrit.com_TEST]: 2879620294
> Title[piper.ddrit.com_TEST]: [piper.ddrit.com]: Disk Usage
> Kilo[piper.ddrit.com_TEST]: 1024
> Unscaled[piper.ddrit.com_TEST]: ymwd
> ShortLegend[piper.ddrit.com_TEST]: B
> YLegend[piper.ddrit.com_TEST]: Disk Utilization
> Legend1[piper.ddrit.com_TEST]: Disk Utilization in % (Load)
> Legend2[piper.ddrit.com_TEST]: Disk Utilization in % (Load)
> Legend3[piper.ddrit.com_TEST]:
> Legend4[piper.ddrit.com_TEST]:
> LegendI[piper.ddrit.com_TEST]: &nbsp;Disk Utilization
> LegendO[piper.ddrit.com_TEST]:
> Options[piper.ddrit.com_TEST]: gauge, integer, transparent, noborder,
> nobanner, nolegend, growright
>
> And in the log:
> 1342940452 21985147 *732136646 *21985147 *732136646*
>
> The number in red should be 2879620294
>
> On Sun, Jul 22, 2012 at 4:46 PM, Steve Shipway <s.shipway at auckland.ac.nz>wrote:
>
>>  Are you using 'option[]: gauge' (you probably should be)?
>> Can you use SNMPv2 (with these large numbers best to do this)?
>>
>> Steve
>>
>>  *Steve Shipway*
>> University of Auckland ITS
>> *UNIX Systems Design Lead*
>> s.shipway at auckland.ac.nz
>> Ph: +64 9 373 7599 ext 86487
>> **
>>   ------------------------------
>> *From:* mrtg-bounces+s.shipway=auckland.ac.nz at lists.oetiker.ch[mrtg-bounces+s.shipway=
>> auckland.ac.nz at lists.oetiker.ch] on behalf of Peter Dolkens [
>> peter.dolkens at ddrit.com]
>> *Sent:* Sunday, 22 July 2012 6:19 p.m.
>> *To:* mrtg at lists.oetiker.ch
>> *Subject:* [mrtg] Issue with MRTG and explicit OIDs
>>
>>  Hi all,
>>
>>    I'm trying to set up some disk monitoring on my Synology NAS, using
>> MRTG (windows).
>>
>>    The Target I'm using is:
>> Target[piper.ddrit.com_DISK]:
>> 1.3.6.1.2.1.25.2.3.1.6.33&1.3.6.1.2.1.25.2.3.1.5.33:public at piper.ddrit.com
>>
>>    If I query either of these values via the command line, I get a
>> correct result.
>>   If I query either of these values individually in MRTG, I get a correct
>> result.
>>   If I use the line above, then the 2nd value has 2147483648 subtracted
>> from the collected values.
>>
>>    Does anyone know why it's doing this, or how to fix it?
>>
>>    It's annoying because I'm intending to expand my NAS, and using this
>> counter, I could theoretically display relative capacity usage
>> (displayrelpercent) but right now MRTG can't seem to collect the 2nd
>> counter properly, which is putting a damper on things.
>>
>>    Thanks,
>> Pete
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20120722/032db94a/attachment.htm 


More information about the mrtg mailing list