From: Joshua K. <jos...@tr...> - 2007-09-21 16:08:24
|
Here is my output from hobbitserver.cfg: TEST2RRD="cpu=la,disk,inode,qtree,memory, $ PINGCOLUMN = tcp ,http = tcp ,dns = tcp ,dig = tcp ,time = ntpstat ,vmstat ,iostat ,netstat ,temperature,apache,bind,sendmail,mailq,nmailq=mailq,socks,bea,iishealth ,citrix ,bbgen ,bbtest,bbproxy,hobbitd,files,procs=processes,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 = "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=status --log=$BBSERVERLOGS/rrd- status.log hobbitd_rrd --rrddir=$BBVAR/rrd --extra-script=$BBHOME/ext/ extra-rrd.pl --extra-tests=if_load Output from hobbitcgi.cfg # hobbitsvc.cgi options for a normal (current) status display CGI_SVC_OPTS="--env=/opt/hobbit/server/etc/hobbitserver.cfg --no-svcid --history=top --multigraphs=if_load" And lastly output from hobbitgraph.cfg: [if_load] FNPATTERN if_load(.*).rrd TITLE Network Traffic YAXIS Bits/second DEF:in <at> RRDIDX@=@RRDFN@:in:AVERAGE CDEF:inbytes <at> RRDIDX@=in <at> RRDIDX@,8,* DEF:out <at> RRDIDX@=@RRDFN@:out:AVERAGE CDEF:outbytes <at> RRDIDX@=out <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@=@RRDFN@:in:AVERAGE > CDEF:inbytes@RRDIDX@=in@RRDIDX@,8,* > DEF:out@RRDIDX@=@RRDFN@:out:AVERAGE > CDEF:outbytes@RRDIDX@=out@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 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 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 |