Xymon Mailing List Archive search

Use of underscores

3 messages in this thread

list Dan Smith · Thu, 3 Feb 2011 16:37:06 -0500 ·
I am learning (very slowly) that using underscores (_) in column names can
be a very bad thing.
 
This really comes to light when I try to graph the data from one of those
pages...
If the data requires an NCV_* entry in xymonserver.cfg, I never get any data
in the server's rrd data folder.
 
Is there a quick way to get around that (I am apparently really fond of
using underscores in names)?
 
-dan
list Henrik Størner · Thu, 3 Feb 2011 22:16:21 +0000 (UTC) ·
quoted from Dan Smith
In <DEE13FC217F541CF86C21BB1BBDF02E7 at e012981desktop> "Dan Smith" <user-6ccc50847691@xymon.invalid> writes:
I am learning (very slowly) that using underscores (_) in column names can
be a very bad thing.

This really comes to light when I try to graph the data from one of those
pages...
If the data requires an NCV_* entry in xymonserver.cfg, I never get any data
in the server's rrd data folder.

Is there a quick way to get around that (I am apparently really fond of
using underscores in names)?
It's not something that was deliberately broken, but from a quick look at the
code I don't really see why it would break.

Can you provide an example for one of these, with the data that you send for
the NCV handler, and the NCV_blabla setting you're using ?

Is the RRD file created, but doesn't get any data, or does it never 
appear?

What's in the rrd*.log files, if anything ?

What Xymon version are you trying this with ?


Regards,
Henrik
list Dan Smith · Thu, 3 Feb 2011 17:38:17 -0500 ·
Well, I'll be monkeyed.

Turns out that I was passing DS names that were too long into RRD.  They
were getting truncated and then causing a conflict.

Log and short...user error.  Sorry about that.  It DOES work if you do
everything else right.

-dan
quoted from Henrik Størner

-----Original Message-----
From: Henrik Størner <user-ce4a2c883f75@xymon.invalid> [mailto:=?ISO-8859-1?Q?Henrik_ St=F8rner _<user-ce4a2c883f75@xymon.invalid>?=] Sent: Thursday, February 03, 2011 5:16 PM
To: xymon at xymon.com
Subject: Re: [xymon] Use of underscores

In <DEE13FC217F541CF86C21BB1BBDF02E7 at e012981desktop> "Dan Smith" <user-6ccc50847691@xymon.invalid> writes:
I am learning (very slowly) that using underscores (_) in column names >can be a very bad thing.
This really comes to light when I try to graph the data from one of >those pages...
If the data requires an NCV_* entry in xymonserver.cfg, I never get any >data in the server's rrd data folder.
Is there a quick way to get around that (I am apparently really fond of >using underscores in names)?
It's not something that was deliberately broken, but from a quick look at the code I don't really see why it would break.

Can you provide an example for one of these, with the data that you send for the NCV handler, and the NCV_blabla setting you're using ?

Is the RRD file created, but doesn't get any data, or does it never appear?

What's in the rrd*.log files, if anything ?

What Xymon version are you trying this with ?


Regards,
Henrik