[mrtg] need help!!!

Cesar Garcia Sanchez cgarcia at ice.co.cr
Tue Jul 22 21:42:46 MEST 2003


Hi I am form Costa Rica and I am new with mrtg
I am using RedHat 9 and mrtg-2.9.17-13 it's  simple I'am trying  to 
graph the trafic of my ethernet interface and after that try with other 
hosts in my LAN.
I use this script for making a mrtg.conf files:

cfgmaker --output /etc/mrtg.cfg --ifref=ip --global "WorkDir: 
/var/www/html/" --global "Options[_]: growright,bits" --global 
"RunAsDaemon: Yes" --global "Language: spanish" --no-down  
--subdirs=HOSTNAME 10.3.1.202

After running thsi script I get this mrtg.conf file:

# This configuration file generated by installer (Delder at novacoast.com)
subspace: index.html
webdir: /var/www/html
log: /tmp
indexmaker: /usr/bin/indexmaker
snmpwalk: /usr/bin/snmpwalk
snmpstatus: /usr/bin/snmpstatus
snmpget: /usr/bin/snmpget
mrtg: /usr/bin/mrtg
l.png: /var/www/html/mrtg/mrtg-l.png
r.png: /var/www/html/mrtg/mrtg-r.png
m.png: /var/www/html/mrtg/mrtg-m.png
password:
largesite: false
overwrite: true
colors: Colours[_]: LIGHT BLUE#7aafff,BLUE#1000ff,DARK 
BLUE#000066,VIOLET#ff00ff,GREEN#00ff00
body: BodyTag[_]: <BODY BGCOLOR="#0871de" TEXT="#ffffff">
head: AddHead[^]: <STYLE><!-- BODY {background-color: #0871de; color: 
#ffffff} A {text-decoration: none; font-weight: bold; color: #7aafff} 
--></style>
debug: false
usemaster: true
storedb: false
database:
dbhost:
dbport:
dbusername:
dbpassword:
dbname:
threshprog:
help: y
userrdtool:

But when I do:
/usr/bin/mrtg /etc/mrtg.cfg

I get a lot of this errors:
Malformed UTF-8 character (unexpected non-continuation byte 0x20, 
immediately after start byte 0xd7) at 
/usr/bin/../lib/mrtg2/locales_mrtg.pm line 3934.

And finally this:
Daemonizing MRTG ...

The problem is that I search in /var/www/html and the is no  web page :-(  





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