[mrtg] GetSNMPLinesUP and html
Olivier Gontier
Olivier.Gontier at ifremer.fr
Tue Mar 21 12:28:27 MET 2000
Hello,
I try to use GetSNMPLinesUP.pl to see line utilization
of my router Cisco
the graphics are good but the legend in the html file stays at 0
Max if's:0.0 if's (0.0%) Average if's: 0.0 if's (0.0%) Current if's:0.0 if's (0.0%)
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
24 days, 23:12:47
mycisco.ifremer.fr
cfg file:
Target[mycisco]: `/home/host/mrtg-2.8.8/run/GetSNMPLinesUP.pl mycisco`
WithPeak[mycisco]: wym
Options[mycisco]: growright,gauge
MaxBytes[mycisco]: 8
AbsMax[mycisco]: 8
Title[mycisco]: mycisco : MODEMS/RDIS
Unscaled[mycisco]: dwyn
YLegend[mycisco]: Interfaces
XSize[mycisco]: 340
YSize[mycisco]: 100
ShortLegend[mycisco]: if's
Legend1[mycisco]:
Legend2[mycisco]: IF's
Legend3[mycisco]:
Legend4[mycisco]: Maximal 5 Minute IF's UP
LegendI[mycisco]:
LegendO[mycisco]: if's:
PageTop[mycisco]: <H1>Number of Interfaces UP for mycisco</H1>
hoedic>205% ls -l mycisco.log
-rw-r--r-- 1 og ttt 45662 Mar 21 10:55 mycisco.log
host>206% head mycisco.log
953632503 1 0
953632503 1 0 1 0
953632203 0 0 0 0
953632200 0 0 0 0
953631900 0 0 0 0
953631600 0 0 0 0
953631300 0 0 0 0
953631000 0 0 0 0
953630700 0 0 0 0
953630400 0 0 1 0
host>207% ls -l mycisco.log
-rw-r--r-- 1 og ttt 45644 Mar 21 11:10 mycisco.log
host>208% head mycisco.log
953633403 2 0
953633403 2 0 2 0
953633103 1 0 1 0
953633100 1 0 1 0
953632800 1 0 1 0
953632500 0 0 1 0
953632200 0 0 0 0
953631900 0 0 0 0
953631600 0 0 0 0
953631300 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