From: Meserole, K. W. <km...@ke...> - 2007-10-01 12:52:27
|
Hi All, I completed the items below in this post but am missing the referenced = template. Can you provide that template or point me to where it is? Also is there a collection of templates I can pull from? Also I have = several to add. =20 =20 Thanks =20 ----------------- =20 Message: 2 Date: Thu, 27 Sep 2007 08:58:39 -0500 From: Trent Melcher <tre...@si...> Subject: Re: [Devmon] cisco cpu graphing To: dev...@li... Message-ID: <1190901519.10326.9.camel@tmelcher2> Content-Type: text/plain 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=20 > >> 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=3Dncv > >> in GRAPHS add processor > >> at the end of the file add NCV_processor=3D"CPU:GAUGE" > >> > >> add this to your hobbitgraph.cfg > >> > >> [processor] > >> TITLE CPU Load > >> YAXIS Load > >> DEF:cpu=3Dprocessor.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 |