Xymon Mailing List Archive search

Graph stopped working

4 messages in this thread

list Joe Acquisto · Tue, 4 Jan 2011 13:44:24 -0500 ·
Using Hobbit 4.20, had a custom graph working fine.   Copied that graph
definition, and renamed the [subject] and the data names under it.  When I
saved it, not having changed a thing on the original definition, it
disappeared from the page, replaced with the infamous ncv:name-of-graph.

I commented out the new definition and saved hobbitgraph.cfg.  No change.
Deleted new def and saved.  No change.

So . . . umm, ??
list Joe Acquisto · Tue, 4 Jan 2011 14:00:37 -0500 ·
Yes, well . . . I lied.   But, it was only a tiny little typo . . .
quoted from Joe Acquisto

On Tue, Jan 4, 2011 at 1:44 PM, Joe Acquisto <user-8a324efe5034@xymon.invalid> wrote:
Using Hobbit 4.20, had a custom graph working fine.   Copied that graph
definition, and renamed the [subject] and the data names under it.  When I
saved it, not having changed a thing on the original definition, it
disappeared from the page, replaced with the infamous ncv:name-of-graph.

I commented out the new definition and saved hobbitgraph.cfg.  No change.
Deleted new def and saved.  No change.

So . . . umm, ??
list Tim McCloskey · Tue, 4 Jan 2011 11:04:04 -0800 ·
By [subject] I'm guessing you mean the test which is defined in the top of the stanza.
Did you add the new [subject] to hobbitserver.cfg NCV?  Also, are the new rrd files getting updated (rrdtool dump foo.rrd)?

Usually, if I'm making changes to any rrd items I'll delete/rename any rrd files that may contain bogus data that slipped in while making the config changes.

Tim
quoted from Joe Acquisto
From: Joe Acquisto [user-8a324efe5034@xymon.invalid]
Sent: Tuesday, January 04, 2011 10:44 AM
To: xymon at xymon.com
Subject: [xymon] Graph stopped working

Using Hobbit 4.20, had a custom graph working fine.   Copied that graph definition, and renamed the [subject] and the data names under it.  When I saved it, not having changed a thing on the original definition, it disappeared from the page, replaced with the infamous ncv:name-of-graph.

I commented out the new definition and saved hobbitgraph.cfg.  No change.  Deleted new def and saved.  No change.

So . . . umm, ??
list Joe Acquisto · Tue, 4 Jan 2011 14:32:05 -0500 ·
Thanks,  note that my original issue was solved.

Response in line, for clarity ( ? )
quoted from Tim McCloskey

On Tue, Jan 4, 2011 at 2:04 PM, Tim McCloskey <user-440820cc07d6@xymon.invalid> wrote:
By [subject] I'm guessing you mean the test which is defined in the top of
the stanza.
Yes.  If by stanza, you mean each graph definition.

Did you add the new [subject] to hobbitserver.cfg NCV?

Yes.

Also, are the new rrd files getting updated (rrdtool dump foo.rrd)?
No.  I am a bit confused, as to how the rrd files get created.  I read about
rrdcreate, but while that created files, they did not seem to work.  No
doubt my hacking failed.    Later, after deleting the bad files,  an rrd of
correct name appeared, and seemed to work.   So, wondering if they get
created "by magic" as the system digests changed to config, or  .. .
quoted from Tim McCloskey

Usually, if I'm making changes to any rrd items I'll delete/rename any rrd
files that may contain bogus data that slipped in while making the config
changes
I have done that, from time to time.

This all stems from attempting to create a second custom graph, on a given
page, where all the (to be graphed) data has already been sent, over as a
text file, from which the working graph data has been extracted.

This, I am hoping can be done, but seems rather unlikely, at this time.

What I am trying to do, in short, is, display data (memory, cpu usage) for
several processes, on a distinct graph, on a single page.  One Graph for
memory usage (with a line for each process) and one for cpu usage (one line
per process).  The latter is working fine.

I have only recently come to graphing in this environment, as may be
obvious.

joe a.
quoted from Tim McCloskey

Tim
From: Joe Acquisto [user-8a324efe5034@xymon.invalid]
Sent: Tuesday, January 04, 2011 10:44 AM
To: xymon at xymon.com
Subject: [xymon] Graph stopped working

Using Hobbit 4.20, had a custom graph working fine.   Copied that graph
definition, and renamed the [subject] and the data names under it.  When I
saved it, not having changed a thing on the original definition, it
disappeared from the page, replaced with the infamous ncv:name-of-graph.

I commented out the new definition and saved hobbitgraph.cfg.  No change.
 Deleted new def and saved.  No change.

So . . . umm, ??