Another newbie needs help w/ custom graphs
I've been working with Hobbit for all of a couple of weeks now, although I have some limited exposure to Big Brother in a previous life...
In order to learn the tool better, I wrote a simple custom monitor that watches Heap usage in an application server. This seems to be collecting data fine, but now I want to figure out how to graph this information in an rrd graph.
Here's where I stand.
I have a column called "weblogic" in Hobbit.
When you click on that column for a given host, you see a field called "used_heap"
I edited hobbitserver.cfg and added a piece at the end of the TEST2RRD line: weblogic=ncv
I also added a line to the same file: NCV_weblogic="usedheap:Gauge"
I I'm generating a file called weblogic.rrd in ../data/rrd/<HOSTNAME>
But, when I go to the weblogic column, at the bottom of the page there is a space where the graph should be that says "hobbit graph ncv:weblogic" No graph.
I THINK everything is ok up to this point, but then comes the hobbitgraph.cfg file, and I have to be honest, I really don't understand this file at all and haven't come across a good explanation yet, so I'm open to someone telling me to go read some website before I post, if it's glaringly obvious. I used some other files and the examples I found online to come up with this...
[weblogic]
TITLE Heap Usage
YAXIS Bytes
DEF:heap=weblogic.rdd:usedheap:AVERAGE
LINE2:heap#00CCCC:Heap Used
COMMENT:\n
GPRINT:heap:LAST:Heap Used \: %5.1lf%s (cur)
GPRINT:heap:MAX: \: %5.11f%s (max)
GPRINT:heap:MIN: \: %5.11f%s (min)
GPRINT:heap:AVERAGE: \: %5.11f%s (avg)\n
I could use some help getting this graph going, and even explaining the entries in the hobbitgraph.cfg file if anyone has the patience to help walk me through this.
- Brian
Brian,
In addition to adding 'weblogic=ncv' to TEST2RRD, you also have to add 'weblogic' (without =ncv) to GRAPHS.
Remember to bounce Hobbit after the change as it only processes the file at startup time.
Bouchard, Brian wrote:
I’ve been working with Hobbit for all of a couple of weeks now, although I have some limited exposure to Big Brother in a previous life…
In order to learn the tool better, I wrote a simple custom monitor that watches Heap usage in an application server. This seems to be collecting data fine, but now I want to figure out how to graph this information in an rrd graph.
Here’s where I stand.
I have a column called “weblogic” in Hobbit.
When you click on that column for a given host, you see a field called “used_heap”
I edited hobbitserver.cfg and added a piece at the end of the TEST2RRD line: weblogic=ncv
I also added a line to the same file: NCV_weblogic=”usedheap:Gauge”
I I’m generating a file called weblogic.rrd in ../data/rrd/<HOSTNAME>
But, when I go to the weblogic column, at the bottom of the page there is a space where the graph should be that says “hobbit graph ncv:weblogic” No graph.
I THINK everything is ok up to this point, but then comes the hobbitgraph.cfg file, and I have to be honest, I really don’t understand this file at all and haven’t come across a good explanation yet, so I’m open to someone telling me to go read some website before I post, if it’s glaringly obvious. I used some other files and the examples I found online to come up with this…
[weblogic]
TITLE Heap Usage YAXIS Bytes DEF:heap=weblogic.rdd:usedheap:AVERAGE LINE2:heap#00CCCC:Heap Used COMMENT:\n GPRINT:heap:LAST:Heap Used \: %5.1lf%s (cur) GPRINT:heap:MAX: \: %5.11f%s (max) GPRINT:heap:MIN: \: %5.11f%s (min) GPRINT:heap:AVERAGE: \: %5.11f%s (avg)\nI could use some help getting this graph going, and even explaining the entries in the hobbitgraph.cfg file if anyone has the patience to help walk me through this.
- Brian
-- Rich Smrcina VM Assist, Inc. Phone: 414-491-6001 Ans Service: 360-715-2467 rich.smrcina at vmassist.com http://www.linkedin.com/in/richsmrcina
Catch the WAVV! http://www.wavv.org WAVV 2009 - Orlando, FL - May 15-19, 2009
Hi Rich,
I added that and bounced Hobbit, but it didn't seem to help.
Any other thoughts?
-----Original Message----- From: Rich Smrcina [mailto:rsmrcina at wi.rr.com] Sent: Thursday, September 25, 2008 2:26 PM To: hobbit at hswn.dk Subject: Re: [hobbit] Another newbie needs help w/ custom graphs
Brian,
In addition to adding 'weblogic=ncv' to TEST2RRD, you also have to add 'weblogic' (without =ncv) to GRAPHS.
Remember to bounce Hobbit after the change as it only processes the file
at startup time.
Bouchard, Brian wrote:
I've been working with Hobbit for all of a couple of weeks now, although I have some limited exposure to Big Brother in a previous life...
In order to learn the tool better, I wrote a simple custom monitor that watches Heap usage in an application server. This seems to be collecting data fine, but now I want to figure out how to graph this information in an rrd graph.
Here's where I stand.
I have a column called "weblogic" in Hobbit.
When you click on that column for a given host, you see a field called "used_heap"
I edited hobbitserver.cfg and added a piece at the end of the TEST2RRD line: weblogic=ncv
I also added a line to the same file: NCV_weblogic="usedheap:Gauge"
I I'm generating a file called weblogic.rrd in ../data/rrd/<HOSTNAME>
But, when I go to the weblogic column, at the bottom of the page there
is a space where the graph should be that says "hobbit graph ncv:weblogic" No graph.
I THINK everything is ok up to this point, but then comes the hobbitgraph.cfg file, and I have to be honest, I really don't understand this file at all and haven't come across a good explanation yet, so I'm open to someone telling me to go read some website before I post, if it's glaringly obvious. I used some other files and the examples I found online to come up with this...
[weblogic]
TITLE Heap Usage YAXIS Bytes DEF:heap=weblogic.rdd:usedheap:AVERAGE LINE2:heap#00CCCC:Heap Used COMMENT:\n GPRINT:heap:LAST:Heap Used \: %5.1lf%s (cur) GPRINT:heap:MAX: \: %5.11f%s (max) GPRINT:heap:MIN: \: %5.11f%s (min) GPRINT:heap:AVERAGE: \: %5.11f%s (avg)\nI could use some help getting this graph going, and even explaining the entries in the hobbitgraph.cfg file if anyone has the patience to help
walk me through this.
- Brian
-- Rich Smrcina VM Assist, Inc. Phone: 414-491-6001 Ans Service: 360-715-2467 rich.smrcina at vmassist.com http://www.linkedin.com/in/richsmrcina
Catch the WAVV! http://www.wavv.org WAVV 2009 - Orlando, FL - May 15-19, 2009
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
In your graph definition (in hobbitgraph.cfg) you have weblogic.rdd.
Bouchard, Brian wrote:
Hi Rich,
I added that and bounced Hobbit, but it didn't seem to help.
Any other thoughts?
-----Original Message----- From: Rich Smrcina [mailto:rsmrcina at wi.rr.com] Sent: Thursday, September 25, 2008 2:26 PM To: hobbit at hswn.dk Subject: Re: [hobbit] Another newbie needs help w/ custom graphs
Brian,
In addition to adding 'weblogic=ncv' to TEST2RRD, you also have to add 'weblogic' (without =ncv) to GRAPHS.
Remember to bounce Hobbit after the change as it only processes the file
at startup time.
-- Rich Smrcina VM Assist, Inc. Phone: 414-491-6001 Ans Service: 360-715-2467 rich.smrcina at vmassist.com http://www.linkedin.com/in/richsmrcina
Catch the WAVV! http://www.wavv.org WAVV 2009 - Orlando, FL - May 15-19, 2009
Oh. Thanks for pointing that one out. Updated that and cycled hobbit, but still no graph.
-----Original Message----- From: Rich Smrcina [mailto:rsmrcina at wi.rr.com] Sent: Thursday, September 25, 2008 2:52 PM To: hobbit at hswn.dk Subject: Re: [hobbit] Another newbie needs help w/ custom graphs
In your graph definition (in hobbitgraph.cfg) you have weblogic.rdd.
Can you show your rrd directory and dump the first part of the rrd (so that I can what the data point names are)?
Bouchard, Brian wrote:
Oh. Thanks for pointing that one out. Updated that and cycled hobbit, but still no graph.
-----Original Message----- From: Rich Smrcina [mailto:rsmrcina at wi.rr.com] Sent: Thursday, September 25, 2008 2:52 PM To: hobbit at hswn.dk Subject: Re: [hobbit] Another newbie needs help w/ custom graphs
In your graph definition (in hobbitgraph.cfg) you have weblogic.rdd.
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Rich Smrcina VM Assist, Inc. Phone: 414-491-6001 Ans Service: 360-715-2467 rich.smrcina at vmassist.com http://www.linkedin.com/in/richsmrcina
Catch the WAVV! http://www.wavv.org WAVV 2009 - Orlando, FL - May 15-19, 2009
Rich,
Here's the beginning of the weblogic.rrd file: <!-- Round Robin Database Dump --><rrd> <version> 0003 </version> <step> 300 </step> <!-- Seconds --> <lastupdate> 1222439423 </lastupdate> <!-- 2008-09-26 10:30:23 EDT --> <ds> <name> usedheap </name> <type> GAUGE </type> <minimal_heartbeat> 600 </minimal_heartbeat> <min> 0.0000000000e+00 </min> <max> NaN </max> <!-- PDP Status --> <last_ds> UNKN </last_ds> <value> 1.0959187752e+10 </value> <unknown_sec> 0 </unknown_sec> </ds> <!-- Round Robin Archives --> <rra> <cf> AVERAGE </cf> <pdp_per_row> 1 </pdp_per_row> <!-- 300 seconds --> <params> <xff> 5.0000000000e-01 </xff> </params> <cdp_prep> <ds> <primary_value> 4.4715241872e+08 </primary_value> <secondary_value> NaN </secondary_value> <value> NaN </value> <unknown_datapoints> 0 </unknown_datapoints> </ds> </cdp_prep> <database> <!-- 2008-09-24 10:35:00 EDT / 1222266900 --> <row><v> NaN </v></row> <!-- 2008-09-24 10:40:00 EDT / 1222267200 --> <row><v> NaN </v></row> <!-- 2008-09-24 10:45:00 EDT / 1222267500 --> <row><v> NaN </v></row> <!-- 2008-09-24 10:50:00 EDT / 1222267800 --> <row><v> NaN </v></row>
From: Rich Smrcina [mailto:rsmrcina at wi.rr.com] Sent: Fri 9/26/2008 9:54 AM To: hobbit at hswn.dk Subject: Re: [hobbit] Another newbie needs help w/ custom graphs
Can you show your rrd directory and dump the first part of the rrd (so that I can what the data point names are)?
Bouchard, Brian wrote:
Oh. Thanks for pointing that one out. Updated that and cycled hobbit, but still no graph.
-----Original Message----- From: Rich Smrcina [mailto:rsmrcina at wi.rr.com] Sent: Thursday, September 25, 2008 2:52 PM To: hobbit at hswn.dk Subject: Re: [hobbit] Another newbie needs help w/ custom graphs
In your graph definition (in hobbitgraph.cfg) you have weblogic.rdd.
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Rich Smrcina VM Assist, Inc. Phone: 414-491-6001 Ans Service: 360-715-2467 rich.smrcina at vmassist.com http://www.linkedin.com/in/richsmrcina
Catch the WAVV! http://www.wavv.org <http://www.wavv.org/> WAVV 2009 - Orlando, FL - May 15-19, 2009
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
I took a look at a NCV that I have set up and in hobbitserver.cfg GAUGE is capitalized. RRD may be picky about case so try:
NCV_weblogic="usedheap:GAUGE"
Bouchard, Brian wrote:
Hi Rich,
I added that and bounced Hobbit, but it didn't seem to help.
Any other thoughts?
-----Original Message----- From: Rich Smrcina [mailto:rsmrcina at wi.rr.com] Sent: Thursday, September 25, 2008 2:26 PM To: hobbit at hswn.dk Subject: Re: [hobbit] Another newbie needs help w/ custom graphs
Brian,
In addition to adding 'weblogic=ncv' to TEST2RRD, you also have to add 'weblogic' (without =ncv) to GRAPHS.
Remember to bounce Hobbit after the change as it only processes the file
at startup time.
Bouchard, Brian wrote:
I've been working with Hobbit for all of a couple of weeks now, although I have some limited exposure to Big Brother in a previous life...
In order to learn the tool better, I wrote a simple custom monitor that watches Heap usage in an application server. This seems to be collecting data fine, but now I want to figure out how to graph this information in an rrd graph.
Here's where I stand.
I have a column called "weblogic" in Hobbit.
When you click on that column for a given host, you see a field called "used_heap"
I edited hobbitserver.cfg and added a piece at the end of the TEST2RRD line: weblogic=ncv
I also added a line to the same file: NCV_weblogic="usedheap:Gauge"
I I'm generating a file called weblogic.rrd in ../data/rrd/<HOSTNAME>
But, when I go to the weblogic column, at the bottom of the page there
is a space where the graph should be that says "hobbit graph ncv:weblogic" No graph.
I THINK everything is ok up to this point, but then comes the hobbitgraph.cfg file, and I have to be honest, I really don't understand this file at all and haven't come across a good explanation yet, so I'm open to someone telling me to go read some website before I post, if it's glaringly obvious. I used some other files and the examples I found online to come up with this...
[weblogic]
TITLE Heap Usage YAXIS Bytes DEF:heap=weblogic.rdd:usedheap:AVERAGE LINE2:heap#00CCCC:Heap Used COMMENT:\n GPRINT:heap:LAST:Heap Used \: %5.1lf%s (cur) GPRINT:heap:MAX: \: %5.11f%s (max) GPRINT:heap:MIN: \: %5.11f%s (min) GPRINT:heap:AVERAGE: \: %5.11f%s (avg)\nI could use some help getting this graph going, and even explaining the entries in the hobbitgraph.cfg file if anyone has the patience to help
walk me through this.
- Brian
-- Rich Smrcina VM Assist, Inc. Phone: 414-491-6001 Ans Service: 360-715-2467 rich.smrcina at vmassist.com http://www.linkedin.com/in/richsmrcina
Catch the WAVV! http://www.wavv.org WAVV 2009 - Orlando, FL - May 15-19, 2009
ok, I've been trying a few things between emails here , and here are the relevant lines in my hobbitserver.cfg (the ones I know of :) as they stand now. I have cycled hobbit since setting all of these...
TEST2RRD="cpu=la,disk,inode,qtree,memory,$PINGCOLUMN=tcp,http=tcp,dns=tcp,dig=tcp,time=ntpstat,vmstat,iostat,netstat,temperature,apache,bind,sendmail,mailq,nmailq=mailq,socks,bea,iishealth,citrix,bbgen,bbtest,bbproxy,hobbitd,files,procs=processes,ports,clock,lines,weblogic=ncv"
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,weblogic"
NCV_weblogic="usedheap:GAUGE"
Those are the 3 lines I updated in the file. Perhaps I am missing something in here?
From: Rich Smrcina [mailto:rsmrcina at wi.rr.com] Sent: Fri 9/26/2008 11:07 AM To: hobbit at hswn.dk Subject: Re: [hobbit] Another newbie needs help w/ custom graphs
I took a look at a NCV that I have set up and in hobbitserver.cfg GAUGE is capitalized. RRD may be picky about case so try:
NCV_weblogic="usedheap:GAUGE"
Bouchard, Brian wrote:
Hi Rich,
I added that and bounced Hobbit, but it didn't seem to help.
Any other thoughts?
-----Original Message----- From: Rich Smrcina [mailto:rsmrcina at wi.rr.com] Sent: Thursday, September 25, 2008 2:26 PM To: hobbit at hswn.dk Subject: Re: [hobbit] Another newbie needs help w/ custom graphs
Brian,
In addition to adding 'weblogic=ncv' to TEST2RRD, you also have to add 'weblogic' (without =ncv) to GRAPHS.
Remember to bounce Hobbit after the change as it only processes the file
at startup time.
Bouchard, Brian wrote:
I've been working with Hobbit for all of a couple of weeks now, although I have some limited exposure to Big Brother in a previous life...
In order to learn the tool better, I wrote a simple custom monitor that watches Heap usage in an application server. This seems to be collecting data fine, but now I want to figure out how to graph this information in an rrd graph.
Here's where I stand.
I have a column called "weblogic" in Hobbit.
When you click on that column for a given host, you see a field called "used_heap"
I edited hobbitserver.cfg and added a piece at the end of the TEST2RRD line: weblogic=ncv
I also added a line to the same file: NCV_weblogic="usedheap:Gauge"
I I'm generating a file called weblogic.rrd in ../data/rrd/<HOSTNAME>
But, when I go to the weblogic column, at the bottom of the page there
is a space where the graph should be that says "hobbit graph ncv:weblogic" No graph.
I THINK everything is ok up to this point, but then comes the hobbitgraph.cfg file, and I have to be honest, I really don't understand this file at all and haven't come across a good explanation yet, so I'm open to someone telling me to go read some website before I post, if it's glaringly obvious. I used some other files and the examples I found online to come up with this...
[weblogic]
TITLE Heap Usage YAXIS Bytes DEF:heap=weblogic.rdd:usedheap:AVERAGE LINE2:heap#00CCCC:Heap Used COMMENT:\n GPRINT:heap:LAST:Heap Used \: %5.1lf%s (cur) GPRINT:heap:MAX: \: %5.11f%s (max) GPRINT:heap:MIN: \: %5.11f%s (min) GPRINT:heap:AVERAGE: \: %5.11f%s (avg)\nI could use some help getting this graph going, and even explaining the entries in the hobbitgraph.cfg file if anyone has the patience to help
walk me through this.
- Brian
-- Rich Smrcina VM Assist, Inc. Phone: 414-491-6001 Ans Service: 360-715-2467 rich.smrcina at vmassist.com http://www.linkedin.com/in/richsmrcina
Catch the WAVV! http://www.wavv.org <http://www.wavv.org/> WAVV 2009 - Orlando, FL - May 15-19, 2009
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
participants (2)
-
Brian-Bouchard@idexx.com
-
rsmrcina@wi.rr.com