On 2013-02-04, at 12:45 PM, Cory Smelosky <b4 at gewt.net> wrote:
I'd love to know how you configured this. I like having useless charts generated and
then emailed to me if possible. ;)
I use a package called mrtg - available for most platforms I believe.
The summary page is hand-rolled html which grabs the images from each of the
mrtg-generated pages.
To figure out what interface number to use in the mrtg.cfg file, I use a linux
command-line tool called snmpwalk which will dump the snmp table of the cisco router - do
something like this:
[root at monitor hecnet]# snmpwalk -v1 -c hecnet
hub.platinum.net | grep ifDescr
IF-MIB::ifDescr.1 = STRING: Ethernet0/0
IF-MIB::ifDescr.2 = STRING: Ethernet0/1
IF-MIB::ifDescr.3 = STRING: Null0
IF-MIB::ifDescr.4 = STRING: Tunnel0
IF-MIB::ifDescr.5 = STRING: Tunnel50
IF-MIB::ifDescr.6 = STRING: Tunnel52
IF-MIB::ifDescr.7 = STRING: Tunnel53
IF-MIB::ifDescr.8 = STRING: Tunnel54
IF-MIB::ifDescr.9 = STRING: Tunnel55
[root at monitor hecnet]#
This shows you that interface 0 is the ethernet port, interface 5 is tunnel50, etc. You
need to enable snmp on your cisco with:
snmp-server community hecnet RO
(choose your own community string - these were just examples).
Ian