[mrtg] Re: MRTG errors...

Lam, Ken ken.lam at terayon.com
Fri Jan 10 21:48:05 MET 2003


Hi Brett,

Below is the config file for mrtg.cfg and hope you or someone can help
me to fix the problems.

When running cfgmaker with the following options, the output looks to be
OK since I don't see any errors.  But when I execute "mrtg" w/ mrtg.cfg
option I got some errors.  The one error in particular it complain about
is:  gd-png:  fatal libpng error: Application must be recompiled; version
1.0.6 was i
ncompatible  I assume gd-png is libpng library so I went ahead and download
and reinstall the new version libpng-1.2.4-sol8-sparc-local but still get
the same errors.  I even have tried to run "configure" and do "make" again
but
make no difference. Did I do something wrong here?  

Any helps I can get to make this working!!!

Thanks a lot,
Ken.

mrtg# cfgmaker --global 'WorkDir: /usr/local/mrtg-2/cfg' \
          --global 'Options[_]: bits,growright' \
          --output /usr/local/mrtg-2/cfg/mrtg.cfg  \
          Cip^seDiTa at 192.168.64.30

mrtg# /usr/local/mrtg-2/mrtg /usr/local/mrtg-2/cfg/mrtg.cfg


----------------------------------------------------------------------------
--
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
Cip^seD
iTa at 192.168.64.30


### 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:Cip^seDiTa at 192.168.64.30:
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:Cip^seDiTa at 192.168.64.30:
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:Cip^seDiTa at 192.168.64.30:
# 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:Cip^seDiTa at 192.168.64.30:
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#




Ken Lam
Network Systems Manager
Terayon Communication Systems
4988 Great America Parkway 
Santa Clara, CA  95054
(408)-235-5812
Email: ken.lam at terayon.com

 -----Original Message-----
From: 	Brett Marler [mailto:brett at asroma.homeip.net] 
Sent:	Thursday, January 09, 2003 8:02 PM
To:	Lam, Ken
Cc:	'mrtg at list.ee.ethz.ch'
Subject:	Re: [mrtg] MRTG errors... 

 << File: ATT00063.dat >> Ken,

> 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
I'd tend to be a little worried about the above lines. When MRTG queried
your 
router, MRTG had no idea what got returned. Can you post the output of your 
mrtg.cfg (important bits stripped out or whatever you don't want the list to

see) so we can get a further idea how to go about rectifying your problem.

(P.S Sorry I cannot help with the gd issue on Solaris, I have not used
Solaris 
for many years so my knowledge is severely restriced)


Regards,
Brett Marler.

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