Xymon Mailing List Archive search

Adding custom graphs

3 messages in this thread

list Joe Acquisto · Thu, 30 Dec 2010 10:47:28 -0500 ·
First attempt at a custom graph.

Using hob*it 4.20, as we have "too much to do" to upgrade.   I've managed to
create the client scripts, gathered data, create the rrd files and the graph
definition (this apparently incorrectly) but only see an icon with the text
"hobbitgraph.ncv:mygraph_name" next to it.

I see this on both column page I intend and also on trends page.  So, I am
not too far off, I guess.   I am sure I've missed something obvious.  Any
hints?
list Joe Acquisto · Thu, 30 Dec 2010 11:45:43 -0500 ·
So, got the graph to display.  For some reason the "name" that shows in the
mygraph_name.rrd files does not match what I defined and send over in my
data.  When I changed the hobbitgraph.cfg file to match the name(s) in
mygraph_name.rrd, a graph magically popped up on the appropriate hobbit
page.

However, it is blank, as far as data points go.  When I look at the rrd file
using rrdtool dump, I can see there are no data points for any of the times
I send the data over from the client. I suspect the name mismatch may be
involved.

Why would it create a different "name" in the rdd file, than what I (think)
I defined?

joe a.
quoted from Joe Acquisto

On Thu, Dec 30, 2010 at 10:47 AM, Joe Acquisto <user-8a324efe5034@xymon.invalid>wrote:
First attempt at a custom graph.

Using hob*it 4.20, as we have "too much to do" to upgrade.   I've managed
to create the client scripts, gathered data, create the rrd files and the
graph definition (this apparently incorrectly) but only see an icon with the
text "hobbitgraph.ncv:mygraph_name" next to it.

I see this on both column page I intend and also on trends page.  So, I am
not too far off, I guess.   I am sure I've missed something obvious.  Any
hints?

list Joe Acquisto · Thu, 30 Dec 2010 11:47:48 -0500 ·
Never mind.  I deleted the rdd file and restarted hobbit (again) and . . .
seems to be working.
quoted from Joe Acquisto

joe a.

On Thu, Dec 30, 2010 at 10:47 AM, Joe Acquisto <user-8a324efe5034@xymon.invalid>wrote:
First attempt at a custom graph.

Using hob*it 4.20, as we have "too much to do" to upgrade.   I've managed
to create the client scripts, gathered data, create the rrd files and the
graph definition (this apparently incorrectly) but only see an icon with the
text "hobbitgraph.ncv:mygraph_name" next to it.

I see this on both column page I intend and also on trends page.  So, I am
not too far off, I guess.   I am sure I've missed something obvious.  Any
hints?