[mrtg] MRTG Help

Daniel J McDonald dan.mcdonald at austinenergy.com
Tue Oct 14 17:29:21 CEST 2008


On Tue, 2008-10-14 at 10:33 -0400, Victor Farah wrote:
> Hello,
> 	I have a machine that I need to monitor traffic.
> Now I've got it setup, but it doesn't seem to show my graphs past
> 100mb/s even though it's on a gigabit, full-duplex switch, and I can see
> on my switch that it pushes around 260mb/s on average, sometimes higher.
> I've been talking to some people they say use snmp v2c for querying.
> This is where the problem comes in:
> I setup and installed net-snmp-5.4.1.2_2 on my FreeBSD box36.domain.com
> 6.2-STABLE FreeBSD 6.2-STABLE #2: Wed Sep  5 23:38:25 EDT 2007, on the
> server that hosts the web page and is the one running MRTG.
[...]
> My box37.cfg shows this: (Please note I've use domain.com and 00 for the
> ips just for my own safety)
> ### Interface 1 >> Descr: 'em0' | Name: '' | Ip: '00.00.00.37' | Eth:
> '00-00-00-00-00-00-00-00-00-00-00-00-00-00' ###
> ### The following interface is commented out because:
> ### * has a speed of  which makes no sense
> #
> # Target[box37.domain.com_1]: 1:evil at box37.domain.com:::::2
> # noHC[box37.domain.com_1]: yes
> # SetEnv[box37.domain.com_1]: MRTG_INT_IP="0.0.0.37" MRTG_INT_DESCR="em0"
> # MaxBytes[box37.domain.com_1]: 0
> # Title[box37.domain.com_1]: Traffic Analysis for 1 -- box37.domain.com
> # PageTop[box37.domain.com_1]: <h1>Traffic Analysis for 1 --
> box37.domain.com</h1>
> ... bunch of more stuff.

Looks like your net-snmp config is borked, and is not providing the hc
counters under snmp v2c.

-- 
Daniel J McDonald <dan.mcdonald at austinenergy.com>



More information about the mrtg mailing list