still some issues. here is what i did:
rpm -Uvh mrtg-2.12.1-1.2.el4.test.i386.rpm
rm mrtg-2.12.1-1.2.el4.test.i386.rpm
vi /etc/httpd/conf.d/mrtg.conf
i changed the alias line so it now looks like this:
# This configuration file maps the mrtg output (generated daily)
# into the URL space. By default these results are only accessible
# from the local host.
#
Alias /mrtg /usr/local/apache/sites/mrtg
<Location /mrtg>
Order deny,allow
# Deny from all
# Allow from localhost localhost.localdomain
Deny from none
Allow from all
# Allow from .example.com
</Location>
next i did this:
vi /etc/mrtg/mrtg.cfg
and changed the working directory so that it now reads:
######################################################################
# 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: /usr/local/apache/sites/mrtg
#Target[r1]: 2

ublic@myrouter.somplace.edu
#MaxBytes[r1]: 1250000
#Title[r1]: Traffic Analysis
#PageTop[r1]: <H1>Stats for our Ethernet</H1>
i know this is a problem already. i looked at mrtg.cfg on one of my rhel 3 boxes and there is tons of settings in the file.
Do you think I can copy mrtg.cfg from my rhel 3 box and use it here?
then i did this:
mv /var/www/mrtg /usr/local/apache/sites
vi /etc/sysconfig/i18n
and changed it to:
#LANG="en_US.UTF-8"
LANG="en_US"
SUPPORTED="en_US.UTF-8:en_US:en"
SYSFONT="latarcyrheb-sun16"
i restarted apache
/etc/init.d/mrtg start
[root@linux11844 conf.d]# /etc/init.d/mrtg start
-bash: /etc/init.d/mrtg: No such file or directory
besides not being able to get mrtg started, i know that mrtg.cfg file is going to cause problems as well.
when i bring up
http://hostname/mrtg it just displays the default mrtg page.