Hello all.
Well I m using mrtg version 2.9.7, and I have installed my cpu load checking
for my cisco routers 7500, on two different machines on one machine its working
perfectly allrite, while on the other machine its giving me error and cant
creating graphs
Well I m posting here the cfg file as well as the errors
# Router CPU load %
Target[cpu.1]:1.3.6.1.4.1.9.2.1.58.0&1.3.6.1.4.1.9.2.1.58.0:[EMAIL PROTECTED]
RouterUptime[cpu.1]: [EMAIL PROTECTED]
MaxBytes[cpu.1]: 100
Title[cpu.1]: CPU LOAD
PageTop[cpu.1]: <H1>CPU Load %</H1>
Unscaled[cpu.1]: ymwd
ShortLegend[cpu.1]: %
XSize[cpu.1]: 380
YSize[cpu.1]: 100
YLegend[cpu.1]: CPU Utilization
Legend1[cpu.1]: CPU Utilization in % (Load)
Legend2[cpu.1]: CPU Utilization in % (Load)
Legend3[cpu.1]:
Legend4[cpu.1]:
LegendI[cpu.1]:
LegendO[cpu.1]: Usage
Options[cpu.1]: gauge,growright
workdir: c:\nms-mrtg\mrtg-output\serial\
C:\NMS-RRD\mrtg-2.9.7\bin>perl mrtg-cpu.cfg
Can't use subscript on constant item at mrtg-cpu.cfg line 2, near "1]"
syntax error at mrtg-cpu.cfg line 2, near "]:"
Array found where operator expected at mrtg-cpu.cfg line 2, at end of line
Bareword found where operator expected at mrtg-cpu.cfg line 3, near "RouterUptim
e"
(Missing semicolon on previous line?)
Array found where operator expected at mrtg-cpu.cfg line 3, at end of line
(Missing operator before ?)
Bareword found where operator expected at mrtg-cpu.cfg line 4, near "MaxBytes"
(Missing semicolon on previous line?)
Bareword found where operator expected at mrtg-cpu.cfg line 5, near "Title"
(Missing semicolon on previous line?)
Bareword found where operator expected at mrtg-cpu.cfg line 6, near "<H1>CPU"
(Missing operator before CPU?)
Bareword found where operator expected at mrtg-cpu.cfg line 10, near "YSize"
(Missing semicolon on previous line?)
Bareword found where operator expected at mrtg-cpu.cfg line 11, near "YLegend"
(Missing semicolon on previous line?)
Bareword found where operator expected at mrtg-cpu.cfg line 13, near ")
Legend2"
(Missing operator before Legend2?)
Bareword found where operator expected at mrtg-cpu.cfg line 14, near ")
Legend3"
(Missing operator before Legend3?)
syntax error at mrtg-cpu.cfg line 18, near "]:"
Backslash found where operator expected at mrtg-cpu.cfg line 20, near "mrtg\"
Backslash found where operator expected at mrtg-cpu.cfg line 20, near "output\"
Backslash found where operator expected at mrtg-cpu.cfg line 20, near "serial\"
Execution of mrtg-cpu.cfg aborted due to compilation errors.
In trouble
Mrtg user
---------------------------------
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
--
Unsubscribe mailto:[EMAIL PROTECTED]
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