From: Trent M. <tre...@si...> - 2007-09-21 18:17:46
|
Not that Im aware of, It pulls them sequentially out of the device. So its really depends on how they are indexed at boot-up. We had a situation where a 48-port switch blade went bad in one of our routers, now after we replaced the blade those 48 ports show up at the end of the interface list even though its blade 3 out of 10 blades. Trent=20 -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Joshua Krause Sent: Friday, September 21, 2007 1:09 PM To: dev...@li... Subject: Re: [Devmon] How to if_* graph from Devmon to Hobbit Is there a way to get the ports to show in numeric order? On Sep 21, 2007, at 2:02 PM, Trent Melcher wrote: > @COLOR@ is a variable so your need to replace it with your color > > Change > LINE1:inbytes@RRDIDX@#@00CF00@:@RRDPARAM@ In > LINE1:inbytes@RRDIDX@#@COLOR@:@RRDPARAM@ In > to > LINE1:inbytes@RRDIDX@#00CF00:@RRDPARAM@ In > > Trent > -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf Of =20 > Trent > Melcher > Sent: Friday, September 21, 2007 1:00 PM > To: dev...@li... > Subject: Re: [Devmon] How to if_* graph from Devmon to Hobbit > > I forgot, take out the @'s infront and behind your color definitions > > Trent > > -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf Of =20 > Trent > Melcher > Sent: Friday, September 21, 2007 12:59 PM > To: dev...@li... > Subject: Re: [Devmon] How to if_* graph from Devmon to Hobbit > > That should do it. > > Trent > > -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf Of > Joshua Krause > Sent: Friday, September 21, 2007 12:56 PM > To: dev...@li... > Subject: Re: [Devmon] How to if_* graph from Devmon to Hobbit > > Sweet got that fixed thanks to you. Another quick question. I would > like my graphs to be the default green and blue. Like you see in most > mrtg and cacti graphing. > > would i change this: > > LINE1:inbytes@RRDIDX@#@COLOR@:@RRDPARAM@ In > GPRINT:inbytes@RRDIDX@:LAST: %8.2lf %s (cur) > GPRINT:inbytes@RRDIDX@:MAX: %8.2lf %s (max) > GPRINT:inbytes@RRDIDX@:MIN: %8.2lf %s (min) > GPRINT:inbytes@RRDIDX@:AVERAGE: %8.2lf %s (avg)\n > LINE1:outbytes@RRDIDX@#@COLOR@:@RRDPARAM@ Out > GPRINT:outbytes@RRDIDX@:LAST: %8.2lf %s (cur) > GPRINT:outbytes@RRDIDX@:MAX: %8.2lf %s (max) > GPRINT:outbytes@RRDIDX@:MIN: %8.2lf %s (avg) > GPRINT:outbytes@RRDIDX@:AVERAGE: %8.2lf %s (avg)\n > > to this: > > LINE1:inbytes@RRDIDX@#@00CF00@:@RRDPARAM@ In > GPRINT:inbytes@RRDIDX@:LAST: %8.2lf %s (cur) > GPRINT:inbytes@RRDIDX@:MAX: %8.2lf %s (max) > GPRINT:inbytes@RRDIDX@:MIN: %8.2lf %s (min) > GPRINT:inbytes@RRDIDX@:AVERAGE: %8.2lf %s (avg)\n > LINE1:outbytes@RRDIDX@#@002A97@:@RRDPARAM@ Out > GPRINT:outbytes@RRDIDX@:LAST: %8.2lf %s (cur) > GPRINT:outbytes@RRDIDX@:MAX: %8.2lf %s (max) > GPRINT:outbytes@RRDIDX@:MIN: %8.2lf %s (avg) > GPRINT:outbytes@RRDIDX@:AVERAGE: %8.2lf %s (avg)\n > > On Sep 21, 2007, at 12:12 PM, Trent Melcher wrote: > >> Your hobbitgraph.cfg need to be fixed >> >> Look at mine I sent you, you need to change the <at> to @ >> >> Trent >> >> -----Original Message----- >> From: dev...@li... >> [mailto:dev...@li...] On Behalf Of >> Joshua Krause >> Sent: Friday, September 21, 2007 11:08 AM >> To: dev...@li... >> Subject: Re: [Devmon] How to if_* graph from Devmon to Hobbit >> >> Here is my output from hobbitserver.cfg: >> >> TEST2RRD=3D"cpu=3Dla,disk,inode,qtree,memory, >> $ >> PINGCOLUMN >> =3D >> tcp >> ,http >> =3D >> tcp >> ,dns >> =3D >> tcp >> ,dig >> =3D >> tcp >> ,time >> =3D >> ntpstat >> ,vmstat >> ,iostat >> ,netstat >> ,temperature >> ,apache,bind,sendmail,mailq,nmailq=3Dmailq,socks,bea,iishealth >> ,citrix >> ,bbgen >> ,bbtest >> ,bbproxy,hobbitd,files,procs=3Dprocesses,ports,clock,lines,if_load" >> >> # This defines which RRD files to include on the "trends" column >> webpage, >> # and the order in which they appear. >> GRAPHS >> =3D >> "la >> ,disk >> ,inode >> ,qtree >> ,files >> ,processes >> ,memory,users,vmstat,iostat,tcp.http,tcp,ncv,netstat,ifstat,mrtg:: >> 1 >> ,ports >> ,temperature >> ,ntpstat,apache,bind,sendmail,mailq,socks,bea,iishealth,citr >> ix,bbgen,bbtest,bbproxy,hobbitd,clock,lines,if_load::1" >> >> >> output from hobbitlaunch.cfg: >> >> [rrdstatus] >> ENVFILE /opt/hobbit/server/etc/hobbitserver.cfg >> NEEDS hobbitd >> CMD hobbitd_channel --channel=3Dstatus --log=3D$BBSERVERLOGS/rrd- >> status.log hobbitd_rrd --rrddir=3D$BBVAR/rrd = --extra-script=3D$BBHOME/=20 >> ext/ >> extra-rrd.pl --extra-tests=3Dif_load >> >> Output from hobbitcgi.cfg >> >> # hobbitsvc.cgi options for a normal (current) status display >> CGI_SVC_OPTS=3D"--env=3D/opt/hobbit/server/etc/hobbitserver.cfg --no- = >> svcid >> --history=3Dtop --multigraphs=3Dif_load" >> >> And lastly output from hobbitgraph.cfg: >> >> [if_load] >> FNPATTERN if_load(.*).rrd >> TITLE Network Traffic >> YAXIS Bits/second >> DEF:in <at> RRDIDX@=3D@RRDFN@:in:AVERAGE >> CDEF:inbytes <at> RRDIDX@=3Din <at> RRDIDX@,8,* >> DEF:out <at> RRDIDX@=3D@RRDFN@:out:AVERAGE >> CDEF:outbytes <at> RRDIDX@=3Dout <at> RRDIDX@,8,* >> LINE1:inbytes <at> RRDIDX@#@COLOR@:@RRDPARAM@ In >> GPRINT:inbytes <at> RRDIDX@:LAST: %8.2lf %s (cur) >> GPRINT:inbytes <at> RRDIDX@:MAX: %8.2lf %s (max) >> GPRINT:inbytes <at> RRDIDX@:MIN: %8.2lf %s (min) >> GPRINT:inbytes <at> RRDIDX@:AVERAGE: %8.2lf %s (avg)\n >> LINE1:outbytes <at> RRDIDX@#@COLOR@:@RRDPARAM@ Out >> GPRINT:outbytes <at> RRDIDX@:LAST: %8.2lf %s (cur) >> GPRINT:outbytes <at> RRDIDX@:MAX: %8.2lf %s (max) >> GPRINT:outbytes <at> RRDIDX@:MIN: %8.2lf %s (avg) >> GPRINT:outbytes <at> RRDIDX@:AVERAGE: %8.2lf %s (avg)\n >> >> >> Don't know if this helps. >> >> >> >> On Sep 21, 2007, at 11:56 AM, Trent Melcher wrote: >> >>> On Fri, 2007-09-21 at 11:11 -0400, Joshua Krause wrote: >>>> I get multiple links now but no graphs displaying. Almost like it >>>> is >>>> not reading the rrd files but they are there. The format they are >>>> in >>>> looks like this: >>>> if_load_Gi1_16.rrd >>> >>> If yous hobbitserver.cfg do you have: >>> >>> if_load in TEST2RRD >>> if_load::1 in GRAPHS >>> >>> Here is my if_load in hobbitgraph.cfg >>> >>> [if_load] >>> FNPATTERN if_load(.*).rrd >>> TITLE Network Traffic >>> YAXIS Bits/second >>> DEF:in@RRDIDX@=3D@RRDFN@:in:AVERAGE >>> CDEF:inbytes@RRDIDX@=3Din@RRDIDX@,8,* >>> DEF:out@RRDIDX@=3D@RRDFN@:out:AVERAGE >>> CDEF:outbytes@RRDIDX@=3Dout@RRDIDX@,8,* >>> LINE1:inbytes@RRDIDX@#@COLOR@:@RRDPARAM@ In >>> GPRINT:inbytes@RRDIDX@:LAST: %8.2lf %s (cur) >>> GPRINT:inbytes@RRDIDX@:MAX: %8.2lf %s (max) >>> GPRINT:inbytes@RRDIDX@:MIN: %8.2lf %s (min) >>> GPRINT:inbytes@RRDIDX@:AVERAGE: %8.2lf %s (avg)\n >>> LINE1:outbytes@RRDIDX@#@COLOR@:@RRDPARAM@ Out >>> GPRINT:outbytes@RRDIDX@:LAST: %8.2lf %s (cur) >>> GPRINT:outbytes@RRDIDX@:MAX: %8.2lf %s (max) >>> GPRINT:outbytes@RRDIDX@:MIN: %8.2lf %s (avg) >>> GPRINT:outbytes@RRDIDX@:AVERAGE: %8.2lf %s (avg)\n >>> >>> >>> >>> >>> >>> >>>> >>>> Is this the norm for how the rrd's are suppose to be formated. >>> >>> Yes, my filenames are formatted the same. >>> >>> >>>> >>>> On Sep 21, 2007, at 10:58 AM, Trent Melcher wrote: >>>> >>>>> On Fri, 2007-09-21 at 10:47 -0400, Joshua Krause wrote: >>>>>> My rrd's are generating ok as far as I know. After running the >>>>>> patch, >>>>>> i'm guessing I have to do a re-compile but I don't want it to >>>>>> overwrite anything I've currently modified. >>>>>> >>>>>> On Sep 21, 2007, at 10:34 AM, Whilding, Craig wrote: >>>>>> >>>>>>> Did you manage to get the .rrd files to generate correctly >>>>>>> following >>>>>>> the >>>>>>> method on that page? My install was having problems with the =20 >>>>>>> perl >>>>>>> script >>>>>>> someone recently put up on the hobbit list for the extra-rrd.pl >>>>>>> >>>>>>> I think the required patch is included at the bottom of this >>>>>>> archive >>>>>>> post http://www.hswn.dk/hobbiton/2007/07/msg00135.html but >>>>>>> hopefully >>>>>>> someone has already done it as it would help me too! >>>>> One thing to note in this post is about the CGI_SVC_OPTS config, >>>>> --multi-grahs (typo) should be changed to --multigraphs there >>>>> is no >>>>> underscore and its missing a "p" . I figured this out after I >>>>> scanned >>>>> the source code for where the CGI_SVC_OPTS gets used. >>>>> >>>>>>> >>>>>>> >>>>>>> Thanks, >>>>>>> Craig >>>>>>> >>>>>>> -----Original Message----- >>>>>>> From: dev...@li... >>>>>>> [mailto:dev...@li...] On Behalf >>>>>>> Of >>>>>>> Joshua Krause >>>>>>> Sent: 21 September 2007 15:09 >>>>>>> To: dev...@li... >>>>>>> Subject: [Devmon] How to if_* graph from Devmon to Hobbit >>>>>>> >>>>>>> I have followed this page I found on how to integrate graphs =20 >>>>>>> from >>>>>>> devmon into hobbit. But i am getting lost on one of the steps. >>>>>>> >>>>>>> 6) >>>>>>>> The hardest part. >>>>>>>> The hobbit parsing doesn't remove html table table so you will >>>>>>>> see >>>>>>>> many graph link. >>>>>>>> In order to fix than, you need to modify the hobbit source with >>>>>>>> the >>>>>>> patch: >>>>>>>> >>>>>>>> lib/htmllog.c >>>>>>>> >>>>>>>> $cd lib/ >>>>>>>> $patch -p0 < htmllog.path >>>>>>> >>>>>>> Can anyone help? >>>>>>> >>>>>>> >> > ------------------------------------------------------------------------ >>>>>>> - >>>>>>> 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 >>>> >>>> >>>> >> > ------------------------------------------------------------------------ >> - >>>> 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 > > > ------------------------------------------------------------------------ > - > 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 ------------------------------------------------------------------------ - 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 |