[mrtg] Segmentation Fault

Nichole Koreen Boscia nboscia at nas.nasa.gov
Sat Jan 11 20:33:50 MET 2003

Hi folks! I hope this is the appropriate list for discussion of a problem I have
been trying to resolve.

I've been using MRTG for several years without any issues. However, I am now
trying to do standard traffic graphing of two new routers and Rateup keeps
giving a segmentation fault. I currently have MRTG running for other equipment
and it works perfectly, so something must be off in the particular data I'm
collecting with the new configuration file. With debugging, I see MRTG
successfully retrieves the SNMP data and passes it on to rateup.

For example, I see (edited):

--snpo: simple If: .9
--snpo: SNMPGet from community at router: -- ifInOctets.9,ifOutOctets.9,sysUptime,sysName
--snpo: SNMPfound -- '3623381376', '4094541798', '10 days, 21:39:26', 'router'
--snpo: run snmpget from ifInOctets&ifOutOctets:community at router

--log: Called /path/to/bin/rateup /path/to/borders_html/ router_9 1042312521 -Z g 3623381376
4094541798 125000000 c #00cc00 #0000ff #006600 #ff00ff k 1000 i
/path/to/borders_html/router_9-day.png -125000000 -125000000 400 100 1 1 1 300 1 4 1

If I run the above command manually, it segfaults. I've tried this on OpenBSD
and Solaris. I've tried newer versions on MRTG. I've removed files, ran, re-ran,
changed permissions to world-everything.. nothing works.  Is there something
unusual that anyone notices with the rateup arguments that could be causing it
to crash? In daemon mode, all the png, log, html files are created -- but are
not including the data ( 0 b/s for everything). Manually ran, it does not create
any html or png files. I don't see any information going into the log file.

This has been frustrating since I use MRTG to do the exact same thing with other
routers. Nothing fancy, just the default monitoring. 32-bit counters.

I very much appreciate any additional troubleshooting ideas I can try.

Thank you in advance,

Nichole Koreen Boscia
Network Engineer
NASA Advanced Supercomputing Division
M/S 258-6, Moffett Field, CA 94035
nboscia at nas.nasa.gov 650.604.0891

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