[mrtg] Re: sent thousands packets every 5 min

XiaoHui Xu xhuixu at yahoo.com
Tue Nov 30 17:21:13 MET 2004


It's sending huge amounts of udp 161 traffic to the
routers.  I don't know how to fix the problem.  

The configuration file was created by using command
below.

cfgmaker --ifref=descr --global "WorkDir:
/mrtg2/CORE/http" --host-template=/mrtg2/systemplate
--global 'Options[_]:bits,growright'
--output=/mrtg2/CORE/cfg/moff.cfg
xxxxxx at x.x.x.1:::1::2

I checked log file.  The messages are showing
below(this is the same messages rpeated showing up).

2004-11-30 10:17:48 -- SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 2 (OID: 1.3.6.1.2.1.2.2.1.10.176)
SNMPv1_Session (remote host: "x.x.x.1" [x.x.x.1].161)
                  community: "xxxxxxxx"
                 request ID: 682386291
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 1
                    backoff: 1)
 at /opt/mrtg-2.10.11/bin/../lib/mrtg2/SNMP_util.pm
line 487
2004-11-30 10:17:48 -- SNMPGET Problem for ifDescr.176
ifInOctets.176 ifDescr.17
6 ifOutOctets.176 sysUptime sysName on
sbrdux34 at x.x.x.1:::1:::v4only
 at mrtg line 1821
2004-11-30 10:17:48 -- ERROR:
Target[x.x.x.1_atm0_0_0.11-atm_subif][_IN_] '
 $target->[29]{$mode} ' did not eval into defined data
2004-11-30 10:17:48 -- ERROR:
Target[x.x.x.1_atm0_0_0.11-atm_subif][_OUT_] 
' $target->[29]{$mode} ' did not eval into defined
data
2004-11-30 10:17:48 -- Use of uninitialized value at
mrtg line 371.
2004-11-30 10:17:48 -- Use of uninitialized value at
mrtg line 375.
2004-11-30 10:17:50 -- ERROR:
Target[x.x.x.1_atm0_0_0.13-atm_subif][_IN_] '
 $target->[31]{$mode} ' did not eval into defined data
2004-11-30 10:17:50 -- ERROR:
Target[x.x.x.1_atm0_0_0.13-atm_subif][_OUT_] 
' $target->[31]{$mode} ' did not eval into defined
data
2004-11-30 10:17:50 -- Use of uninitialized value at
mrtg line 371.
2004-11-30 10:17:50 -- Use of uninitialized value at
mrtg line 375.

Thanks for help.
Xiaohui

--- Alex van den Bogaerdt <alex at ergens.op.het.net>
wrote:

> On Mon, Nov 29, 2004 at 08:21:05AM -0800, XiaoHui Xu
> wrote:
> > We're runing MRTG 2.10.11.  We found it's sending
> > thousands of packets every 5 minutes.  I don't
> know
> > what's wrong.  It should only send a few packets
> every
> > 5 minutes.  Anyone can help?  Thanks.
> 
> There are thousands of people running MRTG.  If this
> would be an
> issue, it would result in a new version pretty
> quickly I guess.
> 
> So, as MRTG is not the issue, it has to be
> 
> a) your configuration
> or
> b) your analysis of the problem
> 
> If "It should only send a few packets" then you
> should only have
> a few targets.  Start by showing us (not: me) your
> config.
> If this config is larger than just a few 100 bytes,
> don't bother
> to post; it will be problem (b) in that case.
> 
> On the host where MRTG is run, start tcpdump (or
> ethereal, or any
> suitable packet sniffer) and analize the frames. 
> See how many
> frames are sent, to how many different locations,
> using what ports
> and such.  Post a summary (NOT THE DUMP) if
> necessary.
> 
> I hope tcpdump will show you the frames are
> something different
> from what you expect.  For instance, that it is
> traffic to port
> 25 (smtp) in stead of SNMP.  If so, you've found
> problem (b).
> 
> Alex
> -- 
> I ask you to respect any "Reply-To" and
> "Mail-Follow-Up" headers.  If
> you reply to me off-list, you'd better tell me
> you're doing so.  If
> you don't, and if I reply to the list, that's your
> problem, not mine.
> 
> --
> Unsubscribe
>
mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
> Archive     http://www.ee.ethz.ch/~slist/mrtg
> FAQ         http://faq.mrtg.org    Homepage    
> http://www.mrtg.org
> WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list