[mrtg] Help with using interface names
james
jamesh at cybermesa.com
Wed May 15 19:20:55 MEST 2002
I am trying to use inferface names instead of port as I have hundreds of DSL
clients. Hacked around with / or \ and other stuff, with no luck.
What am I doing wrong ?
Here is the router config:
interface ATM2/0.508 point-to-point
description (Ken Feller) Lorna Greening
no ip route-cache
no ip mroute-cache
pvc 1/508
encapsulation aal5ciscoppp Virtual-Template3
Here is mt MRTG config:
### Interface 1 >> Descr: 'ATM2/0.508' | Name: '' | Ip: '' | Eth: '' ###
#Target[209.12.73.16]: \ATM2/0.508:monitor at 209.12.73.16:
Target[209.12.73.16_ATM2/0.508]:ifInErrors/ATM2/0.508&ifOutErrors/ATM2/0.508
:monitor at 209.12.73.16:
SetEnv[209.12.73.16_ATM2/0.508]: MRTG_INT_IP="" MRTG_INT_DESCR="ATM2/0.508"
MaxBytes[209.12.73.16_ATM2/0.508]: 1250000
Title[209.12.73.16_ATM2/0.508]: Traffic Analysis for 5 Ken Feller DSL
PageTop[209.12.73.16_ATM2/0.508]: <H1>Traffic Analysis for 2 --
alb-router5.cybermesa.com</H1>
<TABLE>
<TR><TD>System:</TD> <TD>alb-router5.cybermesa.com in </TD></TR>
<TR><TD>Maintainer:</TD> <TD></TD></TR>
<TR><TD>Description:</TD><TD>Ken Feller (DSL) </TD></TR>
<TR><TD>ifType:</TD> <TD>atm (37)</TD></TR>
<TR><TD>ifName:</TD> <TD></TD></TR>
<TR><TD>Max Speed:</TD> <TD>6 Mbits/s</TD></TR>
</TABLE>
The errors are:
[root at tarpit cfg]# /usr/local/mrtg-2/bin/mrtg /home/mrtg/cfg/feller.cfg
WARNING: Could not match host:'monitor at 209.12.73.16:' ref:'Ip' key:'0.508'
Operator or semicolon missing before &ifOutErrors at (eval 6) line 1.
Ambiguous use of & resolved as operator & at (eval 6) line 1.
ERROR: Target[209.12.73.16_atm2/0.508] eval warning: syntax error at (eval
6) line 1, near "]{"
James Edwards
jamesh at cybermesa.com
At the Santa Fe Office: Internet at Cyber Mesa
Store hours: 9-6 Monday through Friday
Phone support 365 days till 10 pm via the Santa Fe office:
505-988-9200 or Toll Free: 888-988-2700
--
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