[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Integrate rrd files into hobbit
- To: hobbit (at) hswn.dk
- Subject: Re: Integrate rrd files into hobbit
- From: "Igor Cicimov" <icicimov (at) gmail.com>
- Date: Tue, 30 Sep 2008 18:47:42 +1000
- 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=2XV9KTEFLfxdhXxsgwR0kmdQt/jcRYCokLzJZRP568U=; b=d98dgIVoAHvSQgmEPVApthnqRIqxf4LLrVbjDIFv+VzOESfmrp8jzZbj5B8Xn7WI/U 37EK0b4iNaQiazCscj+tCdIXAxg92gwKNcR19wp9nm1FcoLUvIGTvLFIMkGi/8cT8vlX xwYlU+9gJ4+Mlr/1hvhifeeJtQm3kSunzAz80=
- 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=qNQEdukXpZpnmpR+7Zikym6Rr9gChDL3Ctjo+tnPbKv7k+uCebJ9tUmWjYgkW/AKgO eo5fIJlvQRRddqkTPjkiQ6cBKo34BxKCpbZxtRVVhQJvcRmqC47CgYwKsvQTAP5ASfMM H5d0+7boPYJ0TbbDKu9xFE6uq2trEM0B+IdJ4=
- References: <f89deef00809260808x4de58dacqd190da7347513b45 (at) mail.gmail.com>
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
>