Hi,
First thanks for your reply I really appreciate your help. I did as you suggested but still no luck. Thinking maybe the rrd file is in wrong place or I have to include the full path to that file in the graph config file?
Igor
On Tue, Sep 30, 2008 at 8:23 PM, Detlef Stracke <Detlef.Stracke at mobilcom.de>wrote:
I had the same Problem. I changed the "DEF:... AVERAGE..." in "DEF:... MAX ...". And now it works fine. Every 24 Hours my rrd get a update.
*Von:* Igor Cicimov [mailto:icicimov at gmail.com] *Gesendet:* Dienstag, 30. September 2008 10:48 *An:* hobbit at hswn.dk *Betreff:* [hobbit] Re: Integrate rrd files into hobbit
Hi,
Since I haven't receive any response to the previous e-mail I'm including some more details here. This is what I have done till now but can't get any graph output from hobbit:
I have edited the following 3 files:
- *hobbitgraph.cfg* - tell hobbit how to create the graph from the rrd file
[wlpub11] TITLE EPUB92: Threads ebspap11 YAXIS Number DEF:execute=etech_thread81cmspServer11_cms.rrd:execute:AVERAGE LINE1.5:execute#FF0000:execute\\g
GPRINT:execute:LAST:\\:%2.0lf
COMMENT:min\\:\\g
GPRINT:execute:MIN:%2.0lf
COMMENT:max\\:\\g
GPRINT:execute:MAX:%2.0lf
COMMENT:average\\:\\g
GPRINT:execute:AVERAGE:%2.0lf\\l
DEF:idle=etech_thread81cmspServer11_cms.rrd:idle:AVERAGE LINE1.5:idle#0000FF:idle\\g
GPRINT:idle:LAST:\\:%2.0lf
COMMENT:min\\:\\g
GPRINT:idle:MIN:%2.0lf
COMMENT:max\\:\\g
GPRINT:idle:MAX:%2.0lf
COMMENT:average\\:\\g
GPRINT:idle:AVERAGE:%2.0lf\\l
DEF:hogging=etech_thread81cmspServer11_cms.rrd:hogging:AVERAGE LINE1.5:hogging#3FFF00:hogging\\g
GPRINT:hogging:LAST:\\:%2.0lf
COMMENT:min\\:\\g
GPRINT:hogging:MIN:%2.0lf
COMMENT:max\\:\\g
GPRINT:hogging:MAX:%2.0lf
COMMENT:average\\:\\g
GPRINT:hogging:AVERAGE:%2.0lf
- *hobbitserver.cfg* - tell hobbit to include the new graph for processing => add the new graph name to the GRAPHS line
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,citrix,bbgen,bbtest,bbproxy,hobbitd,clock,lines,wlpub11"
- *bb-hosts* - add the new graph to the "trends" column for the apropriate host
#subparent SWIF-Public Weblogic Weblogic servers group-compress <font size="+1">Weblogic servers</font> 10.156.202.10 Weblogic8.1-ebspap11 # conn HIDEHTTP ebspap11-mgt.three.com.au:7011 TRENDS:*,wlpub11
So the idea is to get hobbit create the graph and put it under the trends column for the particular server but it seams it doesn't do anything since I can't see any graph or error messages in the log file. I have put the etech_thread81cmspServer11_cms.rrd file into /var/lib/hobbit/rrd/Weblogic8.1-ebspap11 folder. Just wondering if I'm missing something or just want to accomplish the impossible?
Igor
On Sat, Sep 27, 2008 at 1:08 AM, Igor Cicimov <icicimov at gmail.com> wrote:
Hi all,
I was reading some posts about integrating external custom scripts into hobbit and was wondering is it possible to link existing rrd database files created by some other application and use hobbit for charting? If possible, what files do I need to eddit to make this work? The rrd file is created using rrdtool so another question would be about compatibility of the rrd file with the way the rrd files are being created in hobbit.
Thanks in advance for any help.
Igor