[mrtg] Mrtg+get-as5200 script

dreamer at esanet.it dreamer at esanet.it
Wed Oct 4 12:05:26 MEST 2000


Hi everyone!

I've a problem with the script to get the usage of the Analog and ISDN modem
in the Cisco As5200. The script works fine from the command line, but when
I
use it in the Target[] field the result is a flat line in graph.
Probably mrtg doesn't recognize the output format, but I don't know how
to
solve this problem.
This is the configuration file for mrtg:

WorkDir: /home/mrtg/web/modem

######################################################################
# Description: Cisco Internetwork Operating System Software IOS (tm) 5200
Software (C5200-I-L), Version 11.3(6)T1, RELEASE SOFTWARE (fc1) Copyright
(c) 1986-1998 by cisco Systems, Inc. Compiled Fri 16-Oct-98 01:43 by ccai
#     Contact: 
# System Name: gw-esanet.inet.it.inet.it.
#    Location: 
#.....................................................................

Target["Router's IP".1]: 1:public@"Router's IP"
MaxBytes["Router's IP".1]: 1250000
Title["Router's IP".1]: gw-esanet.inet.it.inet.it. (gw-esanet.inet.it):
Ethernet0
XZoom["Router's IP".1]: 1.2
YZoom["Router's IP".1]: 2.0
Options["Router's IP".1]: bits
PageTop["Router's IP".1]: <H1>Traffic Analysis for Ethernet0</H1>
 <TABLE>
   <TR><TD>System:</TD><TD>gw-esanet.inet.it.inet.it. in </TD></TR>
   <TR><TD>Maintainer:</TD><TD></TD></TR>
   <TR><TD>Interface:</TD><TD>Ethernet0 (1)</TD></TR>
   <TR><TD>IP:</TD><TD>gw-esanet.inet.it ("Router's IP")</TD></TR>
   <TR><TD>Max Speed:</TD>
       <TD>1250.0 kBytes/s (ethernetCsmacd)</TD></TR>
  </TABLE>

#.....................................................................

PageTop["Router's IP"]: <H1>Active Modems
 <BR>Dialup AS5200</H1>
 <TABLE>
   <TR><TD>IP:</TD><TD>AS5200-1 ("Router's IP")</TD></TR>
   <TR><TD>Capability:</TD><TD>30 Modems, ISDN support</TD></TR>
  </TABLE>

Target["Router's IP"]: './get-as5200 public@"Router's IP" 39 7'
WithPeak["Router's IP"]: wmy
Unscaled["Router's IP"]: my
Options["Router's IP"]: growright, nopercent, integer, absolute, gauge
MaxBytes["Router's IP"]:30 
Title["Router's IP"]: Anc5200_1 ("Router's IP"): Async 1-48
Ylegend["Router's IP"]: Active Modems
ShortLegend["Router's IP"]: Modems
Legend1["Router's IP"]: Current Active Modems
Legend2["Router's IP"]: Current Active ISDN
Legend3["Router's IP"]: 5 minute Average Active Modems
Legend4["Router's IP"]: 5 :Minute Average Active ISDN
LegendI["Router's IP"]: &nbsp;Modem:&nbsp;
LegendO["Router's IP"]: &nbsp;ISDN:&nbsp;

#---------------------------------------------------------------
The Eth0 works fine too. I use mrtg 2.8.12 under Linux.

Thanks for your time.

Bye, GianBeOS.



Ciao, Gian.

http://www.bugit.org       BeOS User Group Italia
http://free.be.com         Download Free BeOS



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