From: Trent M. <tre...@si...> - 2007-09-27 13:57:30
|
On Wed, 2007-09-26 at 20:12 -0400, Joshua Krause wrote: > do i need to make my message file look like this: > <!-- > TABLE:rrd(DS:cpu1:cputotal:GAUGE) > --> Doing it this way is possible, you will have to go through the same exercise you did for the if_load graphs then. I found using NCV for this one to be much easier. But it really up to you which way you do it. Trent > {sysUpTimeSecs.color}: Up for {UpTimeTxt} > {sysUpTimeSecs.color}: Last reboot due to {sysReloadReason} > {CPUTotal5Min.color}: CPU usage: {CPUTotal5Min}% > > System description: > {sysDescr} > > instead of this: > > <!-- > CPU: {CPUTotal5Min} > --> > {sysUpTimeSecs.color}: Up for {UpTimeTxt} > {sysUpTimeSecs.color}: Last reboot due to {sysReloadReason} > {CPUTotal5Min.color}: CPU usage: {CPUTotal5Min}% > > System description: > {sysDescr} > > > > > On Sep 26, 2007, at 8:01 PM, Joshua Krause wrote: > > > On my 6509 my processor column is not graphing. I checked in the > > "data/rrd/" directory and I have all the interfaces but not the > > processor ones? Any clues.... > > > > Thanks > > Josh > > On Sep 26, 2007, at 9:19 AM, Trent Melcher wrote: > > > >> On Wed, 2007-09-26 at 08:33 -0400, Joshua Krause wrote: > >>> Has anyone got the cpu for cisco switches to graph. I don't know > >>> what > >>> i would need to put in the message file for the cpu to start > >>> graphing. > >> If you look at the template I sent you I actually removed the cpu > >> template and call it processor. THis made it easy so it wouldnt get > >> confused with hobbits built in cpu graphing. Look at the message > >> file > >> in there and you will see the line to capture the cpu stat. > >> > >> Then I use NCV to graph it, > >> > >> in the hobbitserver.cfg, add these: > >> > >> in TEST2RRD add processor=ncv > >> in GRAPHS add processor > >> at the end of the file add NCV_processor="CPU:GAUGE" > >> > >> add this to your hobbitgraph.cfg > >> > >> [processor] > >> TITLE CPU Load > >> YAXIS Load > >> DEF:cpu=processor.rrd:CPU:AVERAGE > >> AREA:cpu#00CC00:CPU Load Average > >> -u 100 > >> -l 0 > >> GPRINT:cpu:LAST: \: %5.1lf (cur) > >> GPRINT:cpu:MAX: \: %5.1lf (max) > >> GPRINT:cpu:MIN: \: %5.1lf (min) > >> GPRINT:cpu:AVERAGE: \: %5.1lf (avg)\n > >> > >> > >> That should do it. > >> If you add these, you current processor test in your 6509 should > >> starting graphing already. > >> > >> Trent > >> > >> > >>> > >>> ------------------------------------------------------------------------- > >>> This SF.net email is sponsored by: Microsoft > >>> Defy all challenges. Microsoft(R) Visual Studio 2005. > >>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > >>> _______________________________________________ > >>> Devmon-support mailing list > >>> Dev...@li... > >>> https://lists.sourceforge.net/lists/listinfo/devmon-support > >> > >> ------------------------------------------------------------------------- > >> This SF.net email is sponsored by: Microsoft > >> Defy all challenges. Microsoft(R) Visual Studio 2005. > >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > >> _______________________________________________ > >> Devmon-support mailing list > >> Dev...@li... > >> https://lists.sourceforge.net/lists/listinfo/devmon-support > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Devmon-support mailing list > > Dev...@li... > > https://lists.sourceforge.net/lists/listinfo/devmon-support > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Devmon-support mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/devmon-support |