[rrd-users] Re: MRTG performance
Tobias Oetiker
oetiker at ee.ethz.ch
Wed May 12 14:40:16 MEST 2004
Hi Pavel,
oh I see what is hititng you ... you use reference names for
accessing targets and because they do not resolve, mrtg tries to
repopulate the cache ... in that case it does currently NOT detect
dead hosts ... will look into it ...
cheers
tobi
Today Pavel Ruzicka wrote:
> Hello,
>
> > > 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
> machine.
> MRTG runs for about 10 minutes (normally for about 30 seconds).
> Log says this:
> -----------------------------------------------------------------------------------------------------------------
> SNMP Error:
> no response received
> SNMPv2c_Session (remote host: "router" [192.168.1.34].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'
> key:'FastEthernet0/1'
> ...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
>
--
______ __ _
/_ __/_ / / (_) Oetiker @ ISG.EE, ETZ J97, ETH, CH-8092 Zurich
/ // _ \/ _ \/ / System Manager, Time Lord, Coder, Designer, Coach
/_/ \.__/_.__/_/ http://people.ee.ethz.ch/~oetiker +41(0)44-632-5286
--
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