[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[]: \ATM2/0.508:monitor at

:monitor at

SetEnv[]: MRTG_INT_IP="" MRTG_INT_DESCR="ATM2/0.508"
MaxBytes[]: 1250000
Title[]: Traffic Analysis for 5 Ken Feller DSL
PageTop[]: <H1>Traffic Analysis for 2 --
   <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>

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' 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[] 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