[mrtg] Cabletron CPU graph
Bhoomi
bjvora at gnvfc.net
Thu Mar 13 12:33:46 MET 2003
Hello,
We have installed mrtg-2.9.22 on Red Hat Linux 7.2 with rrdtool and running fine. Now while trying for cpu ulilization graph it gives some error. The script cpuload.cfg is as shown below.
----------------------------------------------------------------------------------------------
# CPU utilization for Cabletron SSR - thanks to Edward-Kuhner
#
# Example CFGNAME : [name]-cabletron_ssr8xxx_cpu
WorkDir: /path/to/workdit
LogFormat: rrdtool
PathAdd: /path/to/rrd-tool
LibAdd: /path/to/rrdtool/perl/
IconDir: /.images/
Target[name]: .1.3.6.1.4.1.52.2:communityname at ip
YLegend[name]: CPU Utilization
ShortLegend[name]: %
MaxBytes[name]: 100
Options[name]: nopercent, gauge, unknaszero
Unscaled[name]: dwmy
Title[name]:SSR-8600 CPU Load
PageTop[name]: <H1>SSR-8600 CPU Load</H1>
Legend1[name]: CPU Utilization
Legend2[name]: .
Legend3[name]: Max value per interval on graph
Legend4[name]: .
LegendI[name]: CPU
LegendO[name]: .
Colours[name]: GREEN#00eb0c,BLUE#0000ff,GRAY#AAAAAA,VIOLET#ff00ff
WithPeak[name]: ymw
# The following information allows you to perform some task(s)
# whenever a minimum of maximum threshold has been breached
# In order to activate this features, simply remove the # from the
# lines below.
# ThreshMinI[$CFGNAME]: $THRESHOLDMIN
# ThreshMaxI[$CFGNAME]: $THRESHOLDMAX
# ThreshProgI[$CFGNAME]: BATCHLOCthreshold_in.bat
# ThreshProgOKI[$CFGNAME]: BATCHLOCthreshold_oki.bat
# ThreshMinO[$CFGNAME]: $THRESHOLDMIN
# ThreshMaxO[$CFGNAME]: $THRESHOLDMAX
# ThreshProgO[$CFGNAME]: BATCHLOCthreshold_out.bat
# ThreshProgOKO[$CFGNAME]: BATCHLOCthreshold_oko.bat
----------------------------------------------------------------------------------------------------
now when i run the script like,
[mrtg bin dir]#./mrtg cpuload.cfg
it gives following error
ERROR: Target[203.163.130.93_cpu][_IN_] '.1.3.6.1.4.1.52. $$target[0]{$mode} ' evaluated to 'âºâ¥â âºâ¦âº4143625784' instead of a number
ERROR: Target[203.163.130.93_cpu][_OUT_] '.1.3.6.1.4.1.52. $$target[0]{$mode} 'evaluated to 'âºâ¥â âºâ¦âº4670849876' instead of a number
Any help or suggession will be highly appreciated.
Bhoomi
--
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