View Full Version : [edubuntu] Installing MRTG in Hardy Heron (8.04)

January 19th, 2009, 05:57 PM
Hi everybody,

I'm new in Linux world, first, Windows sucks, I got tired of it.
So I'm trying Ubuntu now, I need first of all monitoring a routers network. I'm trying to use MRTG, I've been trying to install it I succeeded but when I configuring the IPs and some others parameters but it doesn't work.

Does anybody has an advise about it???

Best Regards,

January 19th, 2009, 10:51 PM

HAve you tried looking at the MRTG homepage and other resources on the web?

Heres a good reference


Heres info on setting up a target.
If doing SNMP to a device isnt working, you could either have the wrong community strings, or SNMP agent on the target may be disabled.

Good luck


Each monitoring target must be identified by a unique name. This name must be appended to each parameter belonging to the same target. The name will also be used for naming the generated webpages, logfiles and images for this target.

With the Target keyword you tell mrtg what it should monitor. The Target keyword takes arguments in a wide range of formats:


The most basic format is "port:community@router" This will generate a traffic graph for the interface 'port' of the host 'router' (dns name or IP address) and it will use the community 'community' (snmp password) for the snmp query.


Target[myrouter]: 2:public@wellfleet-fddi.domain

If your community contains a "@" or a " " these characters must be escaped with a "\".

Target[bla]: 2:stu\ pi\@d@router