[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Re: Integrate rrd files into hobbit
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Re: Integrate rrd files into hobbit
- From: "Igor Cicimov" <icicimov (at) gmail.com>
- Date: Mon, 3 Nov 2008 18:32:32 +1100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=c5o3BAlEza80mnaQ162jZLDI26XUMxRLM+p4H5ZdLjU=; b=b7xdLcRaAfB3S4NsGXXwj0O5JLvQrH6/dLTaAEfUbwarKXNaagh+PUXNjcuZLkqBLk QOBYEsEAVlkEn8xDJ1vT73ZRnESnxtn/vftWAteIxpK3m06ggSWBq+BvglMcAu+DX19e bbUJ4ZumfbysXytpAEm/rxWJYmVF3lX/4czdA=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=J6jRAStX4OcpbA82PaJyIz1x7vZ4Pw3ZqTkq6z9u4xVucG9DO4gJTjz52cuXVe3VQ8 gevfpBA85TMxG0ZUH5Ym4V9oqFre02hsGbgvu+sGawkji7wzqCk+NdivXtBzlWgjUe5a PyoUrotkMGb/SXk5gBA833d+hH46jhfTKhW0U=
- References: <f89deef00809260808x4de58dacqd190da7347513b45 (at) mail.gmail.com> <f89deef00809300147r3f57289ejd07e8fa9993b6c5 (at) mail.gmail.com> <0AA61DE0E6F8D14EBA8ABB66E695C555014A46FE (at) RDEX01.ads.mobilcom.de> <f89deef00810012347h78c32509u88751336d4589804 (at) mail.gmail.com> <0AA61DE0E6F8D14EBA8ABB66E695C555014A4708 (at) RDEX01.ads.mobilcom.de> <f89deef00810021901n218a5e36mc98fc0eb4ee9d8de (at) mail.gmail.com> <f89deef00810021911t7dfa9f5bo6de9e24e637468ff (at) mail.gmail.com>
Hi all,
After some time back to this problem again. I did some small changes to the
graph definition:
[wlpub11]
TITLE EPUB92 Threads ebspap11
YAXIS Number
DEF:execute=wlpub11.threads.rrd:execute:AVERAGE
DEF:idle=wlpub11.threads.rrd:idle:AVERAGE
DEF:hogging=wlpub11.threads.rrd:hogging:AVERAGE
LINE1.5:execute#FF0000:execute
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\n
LINE1.5:idle#0000FF:idle
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\n
LINE1.5:hogging#3FFF00:hogging
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\n
but all I can get now is broken graph link. This graph setting works in
shell script and I can get the image but doesn't work in hobbit. Am I
missing something in the syntax? Also as Detlef mentioned in one of his
previous responses why his graph works with max values and not with average
ones? The graph is being updated by an external custom script every 5
minutes.
The rrd database has been created as follows:
DS:execute:GAUGE:600:0:U \
DS:idle:GAUGE:600:0:U \
DS:hogging:GAUGE:600:0:U \
RRA:AVERAGE:0.5:1:288 \
RRA:AVERAGE:0.5:12:336 \
RRA:AVERAGE:0.5:24:732
Thanks,
Igor
On Fri, Oct 3, 2008 at 1:11 PM, Igor Cicimov <icicimov (at) gmail.com> wrote:
> Forgot to mention that after editing the files I restarted the hobbit
> server with "/etc/init.d/hobbit restart" since it's running on Debian box.
>
>
> On Fri, Oct 3, 2008 at 12:01 PM, Igor Cicimov <icicimov (at) gmail.com> wrote:
>
>> Hi Detlef,
>>
>> No I don't see anything that's what confuses me. If something was wrong I
>> would expect to see broken or empty graph or link or something under trends
>> column but all looks like I haven't changed the config files at all.
>>
>> Igor
>>
>>
>> On Thu, Oct 2, 2008 at 6:58 PM, Detlef Stracke <
>> Detlef.Stracke (at) mobilcom.de> wrote:
>>
>>> Hi,
>>>
>>> do You see a Link under TRENDS like "hobbit graph wlpub11" ? Your steps
>>> to graph the rrd staff are correct. I did the same steps.
>>>
>>> My steps to create the rrd-Database are:
>>>
>>> if ( not -f $RRD ) {
>>>
>>> RRDs::create($RRD, "-s 86400",
>>> "DS:sms:GAUGE:172800:0:U", "DS:email:GAUGE:172800:0:U",
>>> "DS:rmi:GAUGE:172800:0:U", "DS:ws:GAUGE:172800:0:U",
>>> "DS:gesamt:GAUGE:172800:0:U",
>>> "RRA:MAX:0.5:1:14", "RRA:MAX:0.5:1:60",
>>> "RRA:MAX:0.5:1:730");
>>> }
>>>
>>>
>>> ------------------------------
>>> *Von:* Igor Cicimov [mailto:icicimov (at) gmail.com]
>>> *Gesendet:* Donnerstag, 2. Oktober 2008 08:47
>>> *An:* hobbit (at) hswn.dk
>>> *Betreff:* Re: [hobbit] Re: Integrate rrd files into hobbit
>>>
>>> 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
>>>>>
>>>>
>>>>
>>>
>>
>