From: Trent M. <tre...@si...> - 2007-09-21 16:11:35
|
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,=20 $=20 PINGCOLUMN=20 =3D=20 tcp=20 ,http=20 =3D=20 tcp=20 ,dns=20 =3D=20 tcp=20 ,dig=20 =3D=20 tcp=20 ,time=20 =3D=20 ntpstat=20 ,vmstat=20 ,iostat=20 ,netstat=20 ,temperature,apache,bind,sendmail,mailq,nmailq=3Dmailq,socks,bea,iishealt= h ,citrix=20 ,bbgen=20 ,bbtest,bbproxy,hobbitd,files,procs=3Dprocesses,ports,clock,lines,if_load= " # This defines which RRD files to include on the "trends" column =20 webpage, # and the order in which they appear. GRAPHS=20 =3D=20 "la=20 ,disk=20 ,inode=20 ,qtree=20 ,files=20 ,processes=20 ,memory,users,vmstat,iostat,tcp.http,tcp,ncv,netstat,ifstat,mrtg::=20 1=20 ,ports=20 ,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-=20 status.log hobbitd_rrd --rrddir=3D$BBVAR/rrd = --extra-script=3D$BBHOME/ext/=20 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 =20 --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 =20 >>>>> following >>>>> the >>>>> method on that page? My install was having problems with the 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 =20 >>>>> archive >>>>> post http://www.hswn.dk/hobbiton/2007/07/msg00135.html but =20 >>>>> 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 =20 >>> 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 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 =20 >>>>>> see >>>>>> many graph link. >>>>>> In order to fix than, you need to modify the hobbit source with =20 >>>>>> 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 |