[mrtg] GetSNMPLinesUP.pl
Olivier Gontier
Olivier.Gontier at ifremer.fr
Fri Mar 17 12:05:33 MET 2000
Hi,
I try to use GetSNMPLinesUP.pl to see line utilization
of my router Cisco
but everything stay at 0 on the web
I 've modified this program to make it works with my environnement.
result of perl program:
host>49% /home/mrtg-2.8.8/run/GetSNMPLinesUP.pl mycisco
2
0
181180482
mycisco.ifremer.fr
it corresponds to:
printf "$buzy\n";
printf "0\n"; # Unused
printf "$Uptime\n";
printf "$Name\n";
modem.cfg:
.....
Target[cisco]: `/home/mrtg-2.8.8/run/GetSNMPLinesUP.pl mycisco`
WithPeak[cisco]: wym
Options[cisco]: growright, absolute, gauge
MaxBytes[cisco]: 32
AbsMax[cisco]: 32
Title[cisco]: ciscoas : MODEMS/RDIS
Unscaled[cisco]: dwyn
YLegend[cisco]: Interfaces
Colours[cisco]: GOLD1#ffd700,BLUE#1000ff,DARK GREEN#006600,VIOLET#ff00ff
XSize[cisco]: 340
YSize[cisco]: 100
ShortLegend[cisco]: if's
Legend1[cisco]:
Legend2[cisco]: IF's
Legend3[cisco]:
Legend4[cisco]: Maximal 5 Minute IF's UP
LegendI[cisco]:
LegendO[cisco]: if's:
PageTop[cisco]: <H1>Number of Interfaces UP for ciscoas</H1>
in the cisco.log:
953290503 0 0 0 0
953290500 0 0 0 0
953290200 0 0 0 0
953289900 0 0 0 0
953289600 0 0 0 0
953289300 0 0 0 0
953289000 0 0 0 0
953288700 0 0 0 0
953288400 0 0 0 0
953288100 0 0 0 0
953287800 0 0 0 0
953287500 0 0 0 0
953287200 0 0 0 0
953286900 0 0 0 0
953286600 0 0 0 0
953286300 0 0 0 0
953286000 0 0 0 0
953285700 0 0 0 0
953285400 0 0 0 0
Could you help me
--
|Olivier GONTIER - (TMSI/IDM/RIC) <mailto:Olivier.Gontier at ifremer.fr>
|IFREMER Institut Francais de Recherche pour l'Exploitation de la Mer
|Centre de Brest BP70 29280 PLOUZANE FRANCE
|Tel: 02 98 22 47 06 Fax: 02 98 22 45 46
--
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
More information about the mrtg
mailing list