Web Hosting Talk







View Full Version : MRTG help


WildWayz
10-16-2001, 02:23 AM
Hi ya

I downloading and installed the RedHat 7 RPM of this, added it to the CRON list - but now what do I do?

Are there any special things I should do/know?

How can I view the usuage?

Thanks for any help :)

--James

CagedTornado
10-16-2001, 12:03 PM
Did you install SNMP? Is it running? Did you configure MRTG to use the SNMP community on the box you're monitoring? Did you look at the SNMP config file? Did you look at the MRTG config file? Did you RTFM? (man MRTG? man snmpd?)

A little more information would be appreciated. It's also good when you let us know what kind of legwork you've done on your own.

Dan

WildWayz
10-16-2001, 01:04 PM
Hi,

Not sure if SNMP is installed - it is a default RedHat 7.1 build.
I installed it via the RPM which should have configured it.
I looked at the MRTG config file and it has this


######################################################################
# Multi Router Traffic Grapher -- Example Configuration File
######################################################################
# This file is for use with mrtg-2.0
#
# Note:
#
# * Keywords must start at the begin of a line.
#
# * Lines which follow a keyword line which do start
# with a blank are appended to the keyword line
#
# * Empty Lines are ignored
#
# * Lines starting with a # sign are comments.

# Where should the logfiles, and webpages be created?

# Minimal mrtg.cfg
#--------------------

WorkDir: /var/www/html/mrtg
RunAsDaemon: Yes
#Target[r1]: 2:public@myrouter.somplace.edu
#MaxBytes[r1]: 1250000
#Title[r1]: Traffic Analysis
#PageTop[r1]: <H1>Stats for our Ethernet</H1>

I tried reading the info on the website, but I kept on going around in circles.

--James

ffeingol
10-16-2001, 02:04 PM
this thread (http://www.webhostingtalk.com/showthread.php?threadid=20548&highlight=mrtg) might help you.

I assume you want to run it for your linux box and you can't actually get the info from a router?

Frank