Re: Strange MRTG problem

Simon Westlake <[email protected]>
Newsgroups gmane.network.mrtg.user
Message-ID <CALpbhxcL7sibV=t0oaMzM9kkOy1L=hXfwXKbTiCG+ogi8wR4eQ@mail.gmail.com>
Thanks for the ideas. Community string is actually redacted, but I guess I
should've made that more obvious than mashing the keyboard :)

Agreed, my first thought was v1 but I am now specifically targetting 64bit
counter OIDs and I've verified it is using SNMP v2 through debug options.
Definitely sure the port is the same - low values are slightly different
but the intervals are also slightly different (Cacti is running on 1
minute, MRTG is running on 10 minutes.)

The MRTG version is super old - that was one of my first thoughts, I'm just
somewhat reluctant to even touch it as it's running on an incredibly old
version of Linux as well but I think that is my next plan.

Not using a third party front end, it is a custom PHP script that calls
'rrdtool graph' directly. I will try rearranging the config file, thanks
for that idea.


On Tue, May 14, 2013 at 10:34 PM, Steve Shipway <[email protected]>wrote:

> A few thoughts****
>
> ** **
>
> **1.       **You’ve just told the world your SNMP community string.  Oops.
> ****
>
> **2.       **It certainly looks a bit like an SNMPv1 issue, though that
> would generally top off about 120Mbps.  However the config seems to use v2
> correctly.****
>
> **3.       **Are you absolutely certain that both graphs relate to the
> same port?  Possibly there is some confusion in the settings?****
>
> **4.       **Look at the two graphs close up.  Are they exactly the same
> for low values, then lose it for high values?  If so, maybe its using
> SNMPv1 anyway.  If not, maybe you’re graphing something different.****
>
> **5.       **Which version of MRTG do you have?  Possibly an old one is
> not handling things correctly.  Get a copy of 2.17.x installed and see if
> the problem goes away.****
>
> **6.       **There’s always the possibility that Cacti is getting it
> wrong, so check there as well.****
>
> **7.       **Is it a bits/bytes issue?  If Cacti is showing 8x the MRTG
> value, maybe MRTG is showing in bytes. Though you have ‘options bits’.****
>
> **8.       **What frontend are you using for MRTG/RRD?  Some, notably
> Routers2.cgi in earlier versions, want the Target line to come first in the
> stanza.  Try rearranging them this way, maybe the Options line is getting
> ignored and you’re viewing in bytes/sec.****
>
> ** **
>
> HTH****
>
> ** **
>
> Steve****
>
> ** **
> ------------------------------
>
> *Steve Shipway***
>
> ITS Unix Services Design Lead****
>
> University of Auckland, New Zealand****
>
> Floor 1, 58 Symonds Street, Auckland****
>
> *Phone: +64 (0)9 3737599 ext 86487*
>
> *DDI: +64 (0)9 923 6487*
>
> *Mobile: +64 (0)21 753 189*
>
> *Email: [email protected]*
>
> P Please consider the environment before printing this e-mail : 打印本
> 邮件,将减少一棵树存活的机会****
>
> ** **
>
> *From:* [email protected] [mailto:
> [email protected]] *On Behalf Of *Simon
> Westlake
> *Sent:* Wednesday, 15 May 2013 2:26 p.m.
> *To:* [email protected]
> *Subject:* [mrtg] Strange MRTG problem****
>
> ** **
>
> Hello,****
>
> ** **
>
> It's been a long time since I used MRTG (I've been writing directly to
> rrds for a long time now) but an old employer of mine asked me to
> troubleshoot a legacy MRTG setup and I'm having a strange problem with it I
> cannot decipher.****
>
> ** **
>
> I am graphing a port in two ways. One is in Cacti, one is with MRTG. Both
> are using 64bit counters (I have even setup the MRTG configuration to
> specifically use the HC OIDs rather than assuming they are being queried by
> specifying :::::2)****
>
> ** **
>
> In Cacti, I get the correct value (approximately 700-800Mbps per second.)
> In MRTG, it is never more than 190-200Mbps.****
>
> ** **
>
> My MRTG configuration looks like this:****
>
> ** **
>
> WorkDir:/var/www/mrtg****
>
> Forks: 30****
>
> Refresh: 300****
>
> Interval: 5****
>
> MaxAge: 999999999999999999999999****
>
> SnmpOptions: retries => 1, timeout => 1****
>
> LogFormat: rrdtool****
>
> ** **
>
> ** **
>
> Options[DAS-c3229-bandwidth]: growright,bits,nolegend,nobanner,nopercent**
> **
>
> Directory[DAS-c3229-bandwidth]: DAS-c3229****
>
> Target[DAS-c3229-bandwidth]:
> 1.3.6.1.2.1.31.1.1.1.10.140&1.3.6.1.2.1.31.1.1.1.6.140:[email protected]:
> ::::2****
>
> Extension[DAS-c3229-bandwidth]: php****
>
> Suppress[DAS-c3229-bandwidth]: y****
>
> Title[DAS-c3229-bandwidth]: Bandwidth Utilization****
>
> Maxbytes[DAS-c3229-bandwidth]: 200000000000000000****
>
> AbsMax[DAS-c3229-bandwidth]: 200000000000000000****
>
> ** **
>
> I have tried tweaking a lot of things and I can't seem to figure out
> what's going on. Any insight would be appreciated as I'm 2+ days into
> troubleshooting this thing and it's driving me crazy. Thanks!****
>
> --
> - Simon Westlake****
>



-- 
- Simon Westlake
[ digitalgunfire.com ]
AIM: ShirowDG
ICQ: 2227213
Voice: (414) 810-6392

_______________________________________________
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.