[mrtg] A bit off-topic Help with the Somix scripts (For Farme-relay Fecns/Becns?

Henk-Jan (Squid maillijst) proxy at mail.kloosterman.org
Thu Nov 2 10:05:06 MET 2000


I know its a bit off topic, but I am not a real (script/perl) programmer.

I want to use some of the script from the Somic site:
(http://www.somix.com/software/mrtg/)

For example the FECN/BECN cfg.:
--
# This Report File Template measures FECNs/BECNs from a Frame Relay
Connection

Target[$CFGNAME]:
1.3.6.1.2.1.10.32.2.1.4.$DLCI&1.3.6.1.2.1.10.32.2.1.5.$DLCI:$COMMUNITY@$IPAD
DRESS
YLegend[$CFGNAME]: FECN & BECN
MaxBytes[$CFGNAME]: 1000
ShortLegend[$CFGNAME]: Counted
Legend1[$CFGNAME]: Number of FECNs
Legend2[$CFGNAME]: Number of BECNs
Legend3[$CFGNAME]:
Legend4[$CFGNAME]:
LegendI[$CFGNAME]:  FECN:
LegendO[$CFGNAME]:  BECN:
Options[$CFGNAME]: nopercent
Title[$CFGNAME]: FECN & BECN for $DEVICE at $LOCATION
PageTop[$CFGNAME]: <H1>FECN & BECN for $DEVICE at $LOCATION on a $CIR
CIR</H1>
--
I have made a file that I want to uase as input to genrate the compleet
script: It contains:

CFGNAME DLCI COMMUNITY IPADDRESS LOCATION DEVICE CIR

(About 120 lines) But (stupid me) How can I combine those 2 so that the
variables are filled in?

I know it is a bit off topic, but I am sure other people must have been
using the scripts too. and already done it. Perhaps even have an example
ready.


Thnks



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