Xymon Mailing List Archive search

Integrate rrd files into hobbit

list Igor Cicimov
Fri, 3 Oct 2008 12:01:33 +1000
Message-Id: <user-84f9a8e8b584@xymon.invalid>

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
<user-89dde35a4903@xymon.invalid>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:user-5dcd3b15acde@xymon.invalid]
*Gesendet:* Donnerstag, 2. Oktober 2008 08:47
*An:* user-ae9b8668bcde@xymon.invalid
*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 <
user-89dde35a4903@xymon.invalid> 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:user-5dcd3b15acde@xymon.invalid]
*Gesendet:* Dienstag, 30. September 2008 10:48
*An:* user-ae9b8668bcde@xymon.invalid
*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 <user-5dcd3b15acde@xymon.invalid> 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