[rrd-users] Re: MRTG performance

Pavel Ruzicka pavouk at pavouk.org
Wed May 12 14:35:46 MEST 2004


> > It's possible to have some deadhost detection?
> well mrtg does detect dead hosts, it sends only one request and
> then disables th host until the next round ...

Detecting of dead host doesn't work on my server.

I made experiment:
Create access-list on switch with 26 targets which denied traffic from MRTG 
MRTG runs for about 10 minutes (normally for about 30 seconds).
Log says this:
SNMP Error:
no response received
SNMPv2c_Session (remote host: "router" [].161)
                   community: "community"
                  request ID: 1785253648
                 PDU bufsize: 8000 bytes
                     timeout: 2s
                     retries: 2
                     backoff: 1)
 at /usr/local/mrtg/bin/../lib/mrtg2/SNMP_util.pm line 487
SNMPGET Problem for ifDescr.2 ifHCInOctets.2 ifDescr.2 ifHCOutOctets.2 on 
community at router:::2::2:v4only
 at /usr/local/mrtg/bin/mrtg line 1835

WARNING: Could not match host:'community at router:::2::2' ref:'Descr' 
...repeated for every target...

ERROR: Target[router_fastethernet0_1][_IN_] ' $target->[2644]{$mode} ' did not 
eval into defined data
...repeated for every target...

Here I have few conclusions:
1. Deadhost doesn't work on my machine.
2. SNMP timeouts doesn't work how expected. 26 targets with 3 tries and 2s 
timeouts are 156 seconds from me and not 10 minutes.

I look in to mrtg perl program, search "dead" and found piece with
this message: "Skipping further queries for Host".
But this message is nowhere in my log.

Can somebody help me with this problem?

> > I have MRTG 2.10.13, linux kernel 2.6.5, perl 5.8.0,
> > two processors 2.4GHz Xeon, 3Gigabytes of ram.

Best regards,

Pavel Ruzicka

Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

More information about the rrd-users mailing list