Xymon Mailing List Archive search

Integrate rrd files into hobbit

13 messages in this thread

list Igor Cicimov · Sat, 27 Sep 2008 01:08:39 +1000 ·
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
list Igor Cicimov · Tue, 30 Sep 2008 18:47:42 +1000 ·
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
quoted from Igor Cicimov


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
list Detlef Stracke · Tue, 30 Sep 2008 12:23:46 +0200 ·
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. 
quoted from Igor Cicimov


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,t
cp.http,tcp,ncv,netstat,ifstat,mrtg::1,ports,temperature,ntpstat,apache,
bind,sendmail,mailq,socks,bea,iishealth,citrix,bbgen,bbtest,bbproxy,hobb
itd,clock,lines,wlpub11"
quoted from Igor Cicimov


- 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
list Igor Cicimov · Thu, 2 Oct 2008 16:47:28 +1000 ·
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
quoted from 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
list Detlef Stracke · Thu, 2 Oct 2008 10:58:25 +0200 ·
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");
quoted from Igor Cicimov
        }

 
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,t
cp.http,tcp,ncv,netstat,ifstat,mrtg::1,ports,temperature,ntpstat,apache,
bind,sendmail,mailq,socks,bea,iishealth,citrix,bbgen,bbtest,bbproxy,hobb
itd,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
list Igor Cicimov · Fri, 3 Oct 2008 12:01:33 +1000 ·
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
quoted from 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
list Igor Cicimov · Fri, 3 Oct 2008 12:11:40 +1000 ·
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.
quoted from Igor Cicimov

On Fri, Oct 3, 2008 at 12:01 PM, Igor Cicimov <user-5dcd3b15acde@xymon.invalid> 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 <user-89dde35a4903@xymon.invalid
quoted from Igor Cicimov
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
list Heinelt Maik · Fri, 03 Oct 2008 18:26:45 +0900 ·
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
I wrote my own first shell script for monitoring NAS devices in our
network.

In thsi case, I made it possible to see the RAID arrays and harddisk
levels in hobbit.
Cause of the name of the test (disk), I now get a lot of "hobbit graph
disk" messages under the data of the disks in hobbit.
I think, it is because hobbit try to display the data at the graph field.

I don't need to see the graphs for this test, so is there a way to
turn it complete off?

Thanks

Maik
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFI5eVUr4r+EhimPOURAmP1AKClGK75YXl9YO96l0rl1KZBiTGT5wCgr8ym
9PkgrMqDB1rsTSGCwXD4qJw=
=pJTZ
-----END PGP SIGNATURE-----
list Benedikt Kristinsson · Fri, 3 Oct 2008 09:33:00 -0000 ·
Hello

I put this in bb-hosts "213.181.102.219 mist.fjall.org  # noconn ssh
http://mist.fjall.org/";. 

But hobbit still seams to be pinging my host (that doesnt replay on icmp
requests), did I misunderstand the docs? 

Kv,
Benedikt Kristinsson
list Pkc_mls · Fri, 03 Oct 2008 11:49:35 +0200 ·
quoted from Benedikt Kristinsson
Benni a écrit :
Hello

I put this in bb-hosts "213.181.102.219 mist.fjall.org  # noconn ssh
http://mist.fjall.org/";. 
But hobbit still seams to be pinging my host (that doesnt replay on icmp
requests), did I misunderstand the docs?   
don't you have another line with the same ip or dns name in your bb-hosts file ?
Kv,
Benedikt Kristinsson
list Benedikt Kristinsson · Fri, 3 Oct 2008 09:53:19 -0000 ·
Nope. It seems like hobbit doesnt pick up any changes, if I edit something - the changes doesnt show up, UNLESS i change the hostname. 
quoted from Pkc_mls
-----Original Message-----
From: pkc_mls [mailto:user-06f34394900f@xymon.invalid] Sent: 3. október 2008 09:50
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Problem with "noconn"

Benni a écrit :
Hello

I put this in bb-hosts "213.181.102.219 mist.fjall.org  # noconn ssh
http://mist.fjall.org/";. 
But hobbit still seams to be pinging my host (that doesnt replay on icmp
requests), did I misunderstand the docs?   
don't you have another line with the same ip or dns name in your bb-hosts file ?
Kv,
Benedikt Kristinsson
list Henrik Størner · Fri, 3 Oct 2008 10:42:10 +0000 (UTC) ·
quoted from Heinelt Maik
In <user-191043ef74c5@xymon.invalid> Heinelt Maik <user-4ab5eb34adb2@xymon.invalid> writes:
I wrote my own first shell script for monitoring NAS devices in our
network.
In thsi case, I made it possible to see the RAID arrays and harddisk
levels in hobbit.
Cause of the name of the test (disk), I now get a lot of "hobbit graph
disk" messages under the data of the disks in hobbit.
I think, it is because hobbit try to display the data at the graph field.
I don't need to see the graphs for this test, so is there a way to
turn it complete off?
Yes, call it something other than "disk".


Henrik
list Igor Cicimov · Mon, 3 Nov 2008 18:32:32 +1100 ·
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
quoted from Igor Cicimov

On Fri, Oct 3, 2008 at 1:11 PM, Igor Cicimov <user-5dcd3b15acde@xymon.invalid> 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 <user-5dcd3b15acde@xymon.invalid> 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 <
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