[mrtg] Strange Error Message from MRTG 2.9.25

Lib Curtis lebbeus7 at lc7.net
Wed Nov 6 04:47:15 MET 2002



I am currently laying down a new installation of MRTG 2.9.25 on Red Hat 
8.0. I am building my configuration files and testing them using MRTG and 
rateup before I shift over to using RRDTool for logging.

A sample of one of my config files is as follows (for a Cisco 2620 router - 
community names and IPs have been deleted for security reasons):

# Created by
# ./cfgmaker --global 'WorkDir: /var/www/html/mrtg' --global 'options[_]: 
growright,bits' --global 'LogDir: /var/www/html/mrtg' --global 'PathAdd: 
/usr/local/rrdtool' --global 'LogFormat: rrdtool' --global 'LibAdd: 
/usr/local/rrdtool-1.0.40/lib/perl' nagios at router --output /etc/mrtg/router.cfg


### Global Config Options

WorkDir: /var/www/html/mrtg
Options[_]: growright, bits
# LogDir: /var/www/html/mrtg
# PathAdd: /usr/local/rrdtool/bin
# LogFormat: rrdtool
# LibAdd: /usr/local/rrdtool-1.0.40/lib/perl
# RunAsDaemon:yes
# Interval:5

######################################################################
# System: Gateway-Router
# Description: Cisco Internetwork Operating System Software
#          IOS (tm) C2600 Software (C2600-IO3-M), Version 12.2(12), RELEASE 
SOFTWARE (fc1)
#          Copyright (c) 1986-2002 by cisco Systems, Inc.
#          Compiled Wed 21-Aug-02 02:43 by pwade
# Contact:
# Location:
######################################################################


### Interface 1 >> Descr: 'Serial0/0' | Name: 'Se0/0' | Ip: '{deleted}' | 
Eth: '' ###

Target[router_1]: 1:{deleted}@router:
SetEnv[router_1]: MRTG_INT_IP="{deleted}" MRTG_INT_DESCR="Serial0/0"
MaxBytes[router_1]: 96000
Title[router_1]: Traffic Analysis for Gateway-Router Serial 0/0
PageTop[router_1]: <H1>Traffic Analysis for Gateway-Router Serial 0/0</H1>
  <TABLE>
    <TR><TD>System:</TD>     <TD>Gateway-Router</TD></TR>
    <TR><TD>Maintainer:</TD> <TD>Lib Curtis</TD></TR>
    <TR><TD>Description:</TD><TD>Serial0/0 Aldelphia ch/hcga/000747//htj 
</TD></TR>
    <TR><TD>ifType:</TD>     <TD>ppp (23)</TD></TR>
    <TR><TD>ifName:</TD>     <TD>Se0/0</TD></TR>
    <TR><TD>Max Speed:</TD>  <TD>768.0 kbits/s</TD></TR>
    <TR><TD>Ip:</TD>         <TD>{deleted} ()</TD></TR>
  </TABLE>


### Interface 3 >> Descr: 'FastEthernet0/0' | Name: 'Fa0/0' | Ip: 
'{deleted} ' | Eth: '00-03-e3-80-70-a0' ###

Target[router_3]: 3:{deleted}@router:
SetEnv[router_3]: MRTG_INT_IP="{deleted}" MRTG_INT_DESCR="FastEthernet0/0"
MaxBytes[router_3]: 12500000
Title[router_3]: Traffic Analysis for Gateway-Router FastEthernet0/0
PageTop[router_3]: <H1>Traffic Analysis for Gateway-Router FastEthernet0/0</H1>
  <TABLE>
    <TR><TD>System:</TD>     <TD>Gateway-Router</TD></TR>
    <TR><TD>Maintainer:</TD> <TD>Lib Curtis</TD></TR>
    <TR><TD>Description:</TD><TD>FastEthernet 0/0 Internal Ethernet Port 
</TD></TR>
    <TR><TD>ifType:</TD>     <TD>ethernetCsmacd (6)</TD></TR>
    <TR><TD>ifName:</TD>     <TD>Fa0/0</TD></TR>
    <TR><TD>Max Speed:</TD>  <TD>100.0 Mbits/s</TD></TR>
    <TR><TD>Ip:</TD>         <TD>{deleted} (Router)</TD></TR>
  </TABLE>


Am seeing a strange error message each time I run MRTG. The error message 
is as follows:

"Malformed UTF-8 character (unexpected non-continuation byte 0x2e, 
immediately after start byte 0xf0) at 
/usr/local/mrtg-2/bin/../lib/mrtg2/locales_mrtg.pm line ........"

I am getting numerous occurrences of this error message each time I run 
MRTG with one of my configuration files; each occurrence pointing to a 
different line in locales_mrtg.pm. The error message does not appear in the 
mrtg.log file when I include "--logging /var/log/mrtg.log" in the command 
to run MRTG.

MRTG appears to be generating the correct .html, .png and .log files, and 
the data in them appears to be valid, so I am unsure whether I should be 
worried about the error message or not. Can anyone shed any light on what 
is happening and whether I need to be concerned about the error message?

Thanks,

Lib Curtis




LC7, LLC.                        (434) 975-3721 (office)
PO Box 7766                      (434) 981-1245 (cellular)
Charlottesville, Virginia 22906  (815) 327-6477 (eFax)
lebbeus7 at lc7.net

------------------------------------------------------------

This email, and any included attachments, have been checked
by Norton AntiVirus Corporate Edition (Version 7.6), AVG
Server Edition 6.0, and Merak Email Server Integrated
Antivirus (Alwil Software's aVast! engine) and is certified
Virus Free.

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