[mrtg] router

test test at linuxirc.com
Fri May 2 03:17:59 MEST 2003


Can anybody help me with this problem?
I have mrtg up and running. I am trying to get a graph from the linksys
router. I have the snmp running.
I add a snmptrapd.conf with "traphandle default
/usr/local/bin/collector.pl" in the file.
I run the snmptrap with "snmptrapd -d -O T -o /dev/null -c
/etc/ucd-snmp/snmptrapd.conf"
everything seems to work, the /tmp/router.out file seems to be logging
the info from the router, but mrtg is not showing it on the graph.
the router.log file looks like this:
1051838102 120048 2220
1051838102 0 0 0 0
1051837802 0 0 0 0
1051837800 0 0 0 0
1051837500 0 0 0 0
1051837200 0 0 0 0

my mrtg.cfg for the router looks like this:


Title[^]: Traffic Analysis for

Title[router]: router for me
PageTop[router]: <h1>Linksys Firewall/Router</h1>
Target[router]: `cat /tmp/router.out`
MaxBytes[router]: 187000


any ideas, 
I running it on a gentoo system.



--
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