From: Tom G. <to...@mc...> - 2007-04-02 15:43:14
|
Gildas Le Nadan wrote: >>>> Those are the template for the bladecenter (not the bladecenter H or T >>>> though they may be compatible) I started making. > I am interested in any change you make ;) (resend with the patches.) Here are two changes I made this morning, which enabled me to have graphs of the blower fan speeds and temperature readings. Not sure if it would be useful for your situation, but trend charts are very important to me and I like to have as many of them as I can. I had to shuffle the way that the messages are sent to the hobbit server for blowers and temp to make sure the NCV module worked properly. Patches are just applied to each message file in each template (bladecenter/blowers/message and bladecenter/temp/message). In addition to the patches, you need to make some changes on your Hobbit server configs, then restart hobbit. Add these lines to hobbitserver.cfg: NCV_temp="*:GAUGE" NCV_blowers="*:GAUGE" Add these "temp=ncv,blowers=ncv" to TEST2RRD in hobbitserver.cfg and "temp,blowers" to GRAPHS in hobbitserver.cfg. Add these definitions to hobbitgraph.cfg: [blowers] TITLE Bladecenter Fan Speeds YAXIS % DEF:b1=blowers.rrd:blower1:AVERAGE DEF:b2=blowers.rrd:blower2:AVERAGE LINE2:b1#FF0000:Blower 1 -u 100 -l 0 GPRINT:b1:LAST: \: %5.0lf (cur) GPRINT:b1:MAX: \: %5.0lf (max) GPRINT:b1:MIN: \: %5.0lf (min) GPRINT:b1:AVERAGE: \: %5.0lf (avg)\\n LINE2:b2#0000FF:Blower 2 -u 100 -l 0 GPRINT:b2:LAST: \: %5.0lf (cur) GPRINT:b2:MAX: \: %5.0lf (max) GPRINT:b2:MIN: \: %5.0lf (min) GPRINT:b2:AVERAGE: \: %5.0lf (avg)\\n [temp] TITLE Bladecenter Temperatures YAXIS Celsius DEF:mm=temp.rrd:mgmtmodule:AVERAGE DEF:a=temp.rrd:ambient:AVERAGE LINE2:mm#FF0000:Mgmt Module GPRINT:mm:LAST: \: %5.0lf (cur) GPRINT:mm:MAX: \: %5.0lf (max) GPRINT:mm:MIN: \: %5.0lf (min) GPRINT:mm:AVERAGE: \: %5.0lf (avg)\\n LINE2:a#0000FF:Ambient GPRINT:a:LAST: \: %5.0lf (cur) GPRINT:a:MAX: \: %5.0lf (max) GPRINT:a:MIN: \: %5.0lf (min) GPRINT:a:AVERAGE: \: %5.0lf (avg)\\n -- Tom Georgoulias Systems Engineer McClatchy Interactive to...@mc... |