MRTG must have two data points in order to build a graph. Try this:
Target[name]: .1.3.6.1.4.1.52.2&.1.3.6.1.4.1.52.2:[EMAIL PROTECTED] Options[name]: nopercent, gauge, unknaszero, noo Eric Brander -----Original Message----- From: Bhoomi [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13, 2003 5:34 AM To: [EMAIL PROTECTED] Subject: [mrtg] Cabletron CPU graph 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:[EMAIL PROTECTED] 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 'â~ºâ(tm)¥â(tm) â~ºâ(tm)¦â~º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 'â~ºâ(tm)¥â(tm) â~ºâ(tm)¦â~º4670849876' instead of a number Any help or suggession will be highly appreciated. Bhoomi -- 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 -- 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
