using NCV

Joshua Krause forums at triadbiz.rr.com
Sat May 24 14:23:59 CEST 2008


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 ups’s
columns are called “temp”.  The cisco switches are working but the dc power
plants and ups’s aren’t.  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 at RRDIDX@=temp.rrd:TEMP:AVERAGE

        AREA:in at RRDIDX@#00CC00:@RRDPARAM@ Temperature

        GPRINT:in at RRDIDX@:LAST: %5.1lf %s (cur)

        GPRINT:in at RRDIDX@:MAX: %5.1lf %s (max)

        GPRINT:in at RRDIDX@:MIN: %5.1lf %s (min)

        GPRINT:in at RRDIDX@:AVERAGE: %5.1lf %s (avg)\n

 

 

[temps]

        TITLE Temperature

        YAXIS Celsius

        DEF:in at RRDIDX@=temps.rrd:TEMP:AVERAGE

        AREA:in at RRDIDX@#00CC00:@RRDPARAM@ Temperature

        GPRINT:in at RRDIDX@:LAST: %5.1lf %s (cur)

        GPRINT:in at RRDIDX@:MAX: %5.1lf %s (max)

        GPRINT:in at RRDIDX@:MIN: %5.1lf %s (min)

        GPRINT:in at 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 UPS’s 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 don’t know if that is the proper way to use ncv for multiple values



 

 

Any ideas on why it isn’t graphing.

 

-Josh

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20080524/042653a8/attachment.html>


More information about the Xymon mailing list