From: Joshua K. <fo...@tr...> - 2008-05-24 12:28:02
|
I am currently using ncv to graph some of my cisco switches temperature. And would like to use it to graph some of my DC Power Plant and UPS Temps. The cisco switch columns are called temps and the dc power plant and upss columns are called temp. The cisco switches are working but the dc power plants and upss arent. I have put 2 entries into the hobbit-server.cfg: TEST2RRD="cpu=la,disk,inode,qtree,memory,$PINGCOLUMN=tcp,http=tcp,dns=tcp,di g=tcp,time=ntpstat,vmstat,iostat,netstat,temperature,apache,bind,sendmail,ma ilq,nmailq=ma q,socks,bea,iishealth,citrix,bbgen,bbtest,bbproxy,hobbitd,files,procs=proces ses,ports,clock,lines,if_load=devmon,temp=ncv,temps=ncv,processor=ncv" NCV_temps="TEMP:GAUGE" NCV_temp="*:GAUGE" And here is what my hobbitgraph.cfg looks like: [temp] TITLE Temperature YAXIS Celsius DEF:in@RRDIDX@=temp.rrd:TEMP:AVERAGE AREA:in@RRDIDX@#00CC00:@RRDPARAM@ Temperature GPRINT:in@RRDIDX@:LAST: %5.1lf %s (cur) GPRINT:in@RRDIDX@:MAX: %5.1lf %s (max) GPRINT:in@RRDIDX@:MIN: %5.1lf %s (min) GPRINT:in@RRDIDX@:AVERAGE: %5.1lf %s (avg)\n [temps] TITLE Temperature YAXIS Celsius DEF:in@RRDIDX@=temps.rrd:TEMP:AVERAGE AREA:in@RRDIDX@#00CC00:@RRDPARAM@ Temperature GPRINT:in@RRDIDX@:LAST: %5.1lf %s (cur) GPRINT:in@RRDIDX@:MAX: %5.1lf %s (max) GPRINT:in@RRDIDX@:MIN: %5.1lf %s (min) GPRINT:in@RRDIDX@:AVERAGE: %5.1lf %s (avg)\n And here is what I have in my DC Power Plant message file for devmon: <!-- TEMP: {temp} --> {temp.color} Interal Temperature: {temp}°C ({tempF}°F) And here is what I have in my UPSs message file for devmon: <!-- TEMPA: {battTempA} TEMPB: {battTempB} --> {battTempA.color} Battery Temperature: {battTempA}°C ({battTempAF}°F) {battTempB.color} Transformer Temperature: {battTempB}°C ({battTempBF}°F) I dont know if that is the proper way to use ncv for multiple values Any ideas on why it isnt graphing. -Josh |