[mrtg] MRTG Swap problems

Bas Bas at lmv-clan.nl
Fri Sep 23 11:59:35 MEST 2005


Hello,

I know there have been a lot of topic about how to performance increase
mrtg for monitoring 1000+ interfaces. I've read all that i could find
about them but i can't find the solution to my problem.
I'm currently polling 300 interfaces for 3 graphs per interface. 1 reads
the traffic, 1 reads the ping and 1 reads a value called dB from the MIB
tree.

I use the following .cfg files for this:

Ping:
workdir: /etc/pi/graphpi/
options[_]: growright,unknaszero,gauge,pngdate,nopercent,noborder
Target[10.8.7.101]:`perl /etc/cr/mrtg-ping-probe -o -w2 -k 2 10.8.7.101`
Title[10.8.7.101]:Ping monitor voor 10.8.7.101
PageTop[10.8.7.101]:<H1>Ping voor 10.8.7.101</H1>
Unscaled[10.8.7.101]: ymwd
MaxBytes[10.8.7.101]: 500
AbsMax[10.8.7.101]: 5000
Interval: 5
SnmpOptions: retries => 1, timeout => 1
RunAsDaemon: Yes

Traffic:
workdir: /etc/tr/graphtr/
options[_]: growright,nopercent,bits,unknaszero,pngdate,noborder
Target[10.6.2.98]:/10.6.2.98:xxxx at 10.6.2.98
Interval: 5
SnmpOptions: retries => 1, timeout => 1
RunAsDaemon: Yes
Title[10.6.2.98]:Traffic monitor voor 10.6.2.98
PageTop[10.6.2.98]:<H1>Traffic voor 10.6.2.98</H1>
MaxBytes[10.6.2.98]: 307200

dB:
workdir: /etc/db/graphdb/
options[_]: growright,gauge,unknaszero,pngdate,nopercent,noborder
Target[10.6.2.15]:transmission.127.1.2.2.1.3.2&transmission.127.1.2.2.1.3.2:xxxx at 10.6.2.15
/ 10
Title[10.6.2.15]:dB monitor voor 10.6.2.15
PageTop[10.6.2.15]:<H1>dB voor 10.6.2.15</H1>
Unscaled[10.6.2.15]: ymwd
MaxBytes[10.6.2.15]: 60
YLegend[10.6.2.15]: dBmV
Interval: 5
SnmpOptions: retries => 1, timeout => 1
RunAsDaemon: Yes


And i just start them once and everything works fine. But all of these
processes use to much swap. First my memory fills up to 99% and then swap
starts filling up. Eventually this kills the entire machine.
Can anyone give me a clue to what to do about this?

Bas

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



More information about the mrtg mailing list