Hi Brett,

OK, I did remove colon (:) at the end of the IP address per your
instructions and re-run 
"cfgmaker" and "mrtg mrtg.cfg" but am still getting the errors.   I included
you the errors
below and hope you or someone out there can help me to help fix the
problems.

What bother me was the library errors which I highlighted in red even though
I have already
installed the latest version of the library libpng-1.2.4-sol8-sparc-local on
the system.  Unless
this error was complain on different library that was missing.

Also I include mrtg.cfg file at the end of this error for your review.

Thanks very much for your helps,
Ken.


mrtg# mrtg mrtg.cfg
gd-png:  fatal libpng error: Application must be recompiled; version 1.0.6
was i
ncompatible
ERROR: Skipping webupdates because rateup did not return anything sensible
Argument "UNIX" isn't numeric in ne at /usr/local/mrtg-2/bin/mrtg line 395.
Argument "UNIX" isn't numeric in ne at /usr/local/mrtg-2/bin/mrtg line 395.
WARNING: rateup died from Signal 11
 with Exit Value 0 when doing router '192.168.64.30_1'
 Signal was 11, Returncode was 0
gd-png:  fatal libpng error: Application must be recompiled; version 1.0.6
was i
ncompatible
ERROR: Skipping webupdates because rateup did not return anything sensible
Argument "UNIX" isn't numeric in ne at /usr/local/mrtg-2/bin/mrtg line 395.
WARNING: rateup died from Signal 11
 with Exit Value 0 when doing router '192.168.64.30_2'
 Signal was 11, Returncode was 0
gd-png:  fatal libpng error: Application must be recompiled; version 1.0.6
was i
ncompatible
ERROR: Skipping webupdates because rateup did not return anything sensible
Argument "UNIX" isn't numeric in ne at /usr/local/mrtg-2/bin/mrtg line 395.
WARNING: rateup died from Signal 11
 with Exit Value 0 when doing router '192.168.64.30_4'
 Signal was 11, Returncode was 0
mrtg#



mrtg.cfg file configuration

mrtg# more mrtg.cfg
# Created by
# /usr/local/mrtg-2/bin/cfgmaker --global 'WorkDir: /usr/local/mrtg-2/cfg'
--glo
bal 'Options[_]: bits,growright' --output /usr/local/mrtg-2/cfg/mrtg.cfg
CipseDi
[EMAIL PROTECTED]


### Global Config Options

#  for UNIX
# WorkDir: /home/http/mrtg

#  or for NT
# WorkDir: c:\mrtgdata

### Global Defaults

#  to get bits instead of bytes and graphs growing to the right
# Options[_]: growright, bits

WorkDir: /usr/local/mrtg-2/cfg
Options[_]: bits,growright

######################################################################
# System: HongKong
# Description: Cisco Internetwork Operating System Software
#          IOS (tm) C2600 Software (C2600-I-M), Version 12.0(7)T,  RELEASE
SOFTW
ARE (fc2)
#          Copyright (c) 1986-1999 by cisco Systems, Inc.
#          Compiled Tue 07-Dec-99 02:12 by phanguye
# Contact:
# Location:
######################################################################


### Interface 1 >> Descr: 'FastEthernet0/0' | Name: 'Fa0/0' | Ip:
'172.24.8.254'
 | Eth: '00-05-32-16-3d-80' ###

Target[192.168.64.30_1]: 1:[EMAIL PROTECTED]
SetEnv[192.168.64.30_1]: MRTG_INT_IP="172.24.8.254"
MRTG_INT_DESCR="FastEthernet
0/0"
MaxBytes[192.168.64.30_1]: 12500000
Title[192.168.64.30_1]: Traffic Analysis for 1 -- HongKong
PageTop[192.168.64.30_1]: <H1>Traffic Analysis for 1 -- HongKong</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>HongKong in </TD></TR>
   <TR><TD>Maintainer:</TD> <TD></TD></TR>
   <TR><TD>Description:</TD><TD>FastEthernet0/0  </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>172.24.8.254 ()</TD></TR>
 </TABLE>


### Interface 2 >> Descr: 'Serial0/0' | Name: 'Se0/0' | Ip: '' | Eth: '' ###

Target[192.168.64.30_2]: 2:[EMAIL PROTECTED]
SetEnv[192.168.64.30_2]: MRTG_INT_IP="" MRTG_INT_DESCR="Serial0/0"
MaxBytes[192.168.64.30_2]: 193000
Title[192.168.64.30_2]: Traffic Analysis for 2 -- HongKong
PageTop[192.168.64.30_2]: <H1>Traffic Analysis for 2 -- HongKong</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>HongKong in </TD></TR>
   <TR><TD>Maintainer:</TD> <TD></TD></TR>
   <TR><TD>Description:</TD><TD>Serial0/0 ###CID WOE49198### </TD></TR>
   <TR><TD>ifType:</TD>     <TD>frame-relay (32)</TD></TR>
   <TR><TD>ifName:</TD>     <TD>Se0/0</TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>1544.0 kbits/s</TD></TR>
 </TABLE>


### Interface 3 >> Descr: 'Null0' | Name: 'Nu0' | Ip: '' | Eth: '' ###
### The following interface is commented out because:
### * it is a cisco Null0 interface
#
# Target[192.168.64.30_3]: 3:[EMAIL PROTECTED]:
# SetEnv[192.168.64.30_3]: MRTG_INT_IP="" MRTG_INT_DESCR="Null0"
# MaxBytes[192.168.64.30_3]: 536870911
# Title[192.168.64.30_3]: Traffic Analysis for 3 -- HongKong
# PageTop[192.168.64.30_3]: <H1>Traffic Analysis for 3 -- HongKong</H1>
#  <TABLE>
#    <TR><TD>System:</TD>     <TD>HongKong in </TD></TR>
#    <TR><TD>Maintainer:</TD> <TD></TD></TR>
#    <TR><TD>Description:</TD><TD>Null0  </TD></TR>
#    <TR><TD>ifType:</TD>     <TD>Other (1)</TD></TR>
#    <TR><TD>ifName:</TD>     <TD>Nu0</TD></TR>
#    <TR><TD>Max Speed:</TD>  <TD>4295.0 Mbits/s</TD></TR>
#  </TABLE>


### Interface 4 >> Descr: 'Serial0/0.1' | Name: 'Se0/0.1' | Ip:
'192.168.64.30'
| Eth: '' ###

Target[192.168.64.30_4]: 4:[EMAIL PROTECTED]
SetEnv[192.168.64.30_4]: MRTG_INT_IP="192.168.64.30"
MRTG_INT_DESCR="Serial0/0.1
"
MaxBytes[192.168.64.30_4]: 4000
Title[192.168.64.30_4]: Traffic Analysis for 4 -- HongKong
PageTop[192.168.64.30_4]: <H1>Traffic Analysis for 4 -- HongKong</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>HongKong in </TD></TR>
   <TR><TD>Maintainer:</TD> <TD></TD></TR>
   <TR><TD>Description:</TD><TD>Serial0/0.1 ###Link to Santa Clara###
</TD></TR>
   <TR><TD>ifType:</TD>     <TD>frame-relay (32)</TD></TR>
   <TR><TD>ifName:</TD>     <TD>Se0/0.1</TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>32.0 kbits/s</TD></TR>
   <TR><TD>Ip:</TD>         <TD>192.168.64.30 ()</TD></TR>
 </TABLE>


mrtg#

 -----Original Message-----
From:   Brett Marler [mailto:[EMAIL PROTECTED] 
Sent:   Friday, January 10, 2003 7:01 PM
To:     Lam, Ken
Cc:     '[EMAIL PROTECTED]'
Subject:        Re: [mrtg] MRTG errors... 

 << File: ATT00013.dat >> Ken,

> Target[192.168.64.30_1]: 1:[EMAIL PROTECTED]:
> Target[192.168.64.30_2]: 2:[EMAIL PROTECTED]:
> Target[192.168.64.30_4]: 4:[EMAIL PROTECTED]:
As far as I know, there should be no colon (:) at the end of the IP address.
I 
would edit your mrtg.cfg with your favorite text editor (vim, nvi, etc) and 
remove the colon from the end of all "Target" entries.

Something you will also need to check is have you enabled "snmp-server" on 
your Cisco router? If not, then there's another reason why it will fail. 
Before starting MRTG again, I'd recommend using something like "snmpwalk" 
(part of the NET-SNMP project) to perform an SNMP query on your router, 
because if snmpwalk cannot query your router then MRTG won't be able to
either.


Regards,
Brett Marler.

--
Unsubscribe mailto:[EMAIL PROTECTED]
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

Reply via email to