Re: Issue with MRTG and explicit OIDs

Peter Dolkens <[email protected]>
Newsgroups gmane.network.mrtg.user
Message-ID <CANEoSATb5CLNAEU7xB5Wbwg4hL_Mdj+e9j3a6y2VjUHVyFtSBA@mail.gmail.com>
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:[email protected]:
::::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 <[email protected]>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*
> [email protected]
> Ph: +64 9 373 7599 ext 86487
> **
>   ------------------------------
> *From:* [email protected][mrtg-bounces+s.shipway=
> [email protected]] on behalf of Peter Dolkens [
> [email protected]]
> *Sent:* Sunday, 22 July 2012 6:19 p.m.
> *To:* [email protected]
> *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:[email protected]
>
>    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
>

_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.