Hi Henrik,
I have been attempting to implement NCV graphing in hobbit, on version 4.1.2 and have run into a few problems/questions:
First, the question: In the "slab" example, you custom test sends the string "inode_cache" but in your NCV_slab entry in hobbitserver.cfg, you have "inodecache:GAUGE". How does this work???
Second, the problem: We have a custom test which checks printer toner levels by going to the web page of the printer with lynx. Our test, called "toner" sends data in the format:
lj102.toner
black : 67
cyan : 56
magenta : 78
yellow : 43
The data does go into the rrd, but does not appear in the "<last_ds>" field, as in your slab example, but rather in the <value> field. Our graph shows up, but there is no data in it.
I'm fairly sure that the graphs will work once the <last_ds> field is populated, but not sure where I made a mistake.
Any thoughts?
PS: I have been a BB user since 1999, and moved our servers to hobbit last Fall. We absolutely love it. Thanks Henrik!
Larry Sherman
This e-mail is intended only for the addressee named above. As this e-mail may contain confidential or privileged information, if you are not the named addressee, you are not authorized to retain, read, copy or disseminate this message or any part of it.
Hi Larry,
On Mon, Feb 06, 2006 at 09:55:35AM -0500, Sherman, Larry, GCM wrote:
I have been attempting to implement NCV graphing in hobbit, on version 4.1.2 and have run into a few problems/questions:
First, the question: In the "slab" example, you custom test sends the string "inode_cache" but in your NCV_slab entry in hobbitserver.cfg, you have "inodecache:GAUGE". How does this work???
Hobbit silently strips everything except letters and numbers from the dataset name. So "inode_cache" is stripped of the underscore, and becomes "inodecache". Section 4) of the "howtograph.txt" document explains this:
Arrange for the data to be collected into an RRD file
The data is obviously a name-colon-value formatted report, so we'll use the NCV module in Hobbit to handle it. Hobbit will find two datasets here: The first will be called "inodecache", and the second "dentrycache" (note that Hobbit strips off any part of the name that is not a letter or a number; Hobbit also limits the length of the dataset name to 19 letters max. since RRD will not handle longer names).
Second, the problem: We have a custom test which checks printer toner levels by going to the web page of the printer with lynx. Our test, called "toner" sends data in the format:
lj102.toner
black : 67 cyan : 56 magenta : 78 yellow : 43
The data does go into the rrd, but does not appear in the "<last_ds>" field, as in your slab example, but rather in the <value> field. Our graph shows up, but there is no data in it.
Could you show us the first part of the "rrdtool dump" output for the RRD file ?
My guess is that you've accidentally defined the RRD datasets with the "DERIVE" datatype (the default) instead of "GAUGE" which is what you'll need for this kind of data.
PS: I have been a BB user since 1999, and moved our servers to hobbit last Fall. We absolutely love it. Thanks Henrik!
You're welcome :-)
Regards, Henrik
participants (2)
-
henrik@hswn.dk
-
Larry.Sherman@rbsgc.com