Xymon Mailing List Archive search

[feature request] Dynamic or Split NCV

3 messages in this thread

list Charles Goyard · Wed, 2 Aug 2006 17:05:26 +0200 ·
Hi,

at my company we tend to graph just anything. As long as we were with
larrd (written in Perl), we could trick the grapher to accept
ever-changing list of data source my making a rrd file for each data,
holding one DS per file and looping over patterns.

With hobbit, we have a nice NCV semi-automatic way of graphing things.

But I want to trend, say, the number of mysql connections per user at host :

status databaseserver.int.cvf.sqlcnx green

user-9fd6e598fbe5@xymon.invalid on content = 2
user-744582c0c812@xymon.invalid on content = 4
user-4d065b48bdb3@xymon.invalid on stats = 1
statreader@@backendserver01.int.cvf on stats = 31
bar@@backendserver01.int.cvf on traces = 3
bar@@backendserver02.int.cvf on traces = 4

I can't do it with NCV, because if I add a new appserver03, it won't
make have its slot in the rrd file.

So I'd like to see something like (S for Split or Single) :

SNCV_sqlcnx="/.+ on .+/:GAUGE" that would yield :

/usr/hobbit/data/rrd/~$ ls databaseserver.int.cvf/
user-ff8f0da8cd47@xymon.invalid_on_content.rrd
user-ba7161ff9ec3@xymon.invalid_on_content.rrd
(and so on)


Since I really need it, I can always try to add this into hobbit. Would
it be possible to implement it as a new channel or it has to be into the
code rrd handling ?


-- 
Charles Goyard - user-98f9625a7a59@xymon.invalid - (+33) 1 45 38 01 31
list Henrik Størner · Thu, 3 Aug 2006 07:15:28 +0200 ·
quoted from Charles Goyard
On Wed, Aug 02, 2006 at 05:05:26PM +0200, Charles Goyard wrote:
So I'd like to see something like (S for Split or Single) :

SNCV_sqlcnx="/.+ on .+/:GAUGE" that would yield :

/usr/hobbit/data/rrd/~$ ls databaseserver.int.cvf/
user-ff8f0da8cd47@xymon.invalid_on_content.rrd
user-ba7161ff9ec3@xymon.invalid_on_content.rrd
(and so on)


Since I really need it, I can always try to add this into hobbit. Would
it be possible to implement it as a new channel or it has to be into the
code rrd handling ?
I started looking at this yesterday, but was interrupted by the
security problem that caused a new 4.1.2p2 release yesterday. I don't
think it requires a lot of new code, but I'd prefer to wait until
after the 4.2 release. So lets discuss this next week.


Regards,
Henrik
list Charles Goyard · Mon, 21 Aug 2006 19:10:29 +0200 ·
quoted from Henrik Størner
Henrik Stoerner a écrit :
On Wed, Aug 02, 2006 at 05:05:26PM +0200, Charles Goyard wrote:
So I'd like to see something like (S for Split or Single) :

SNCV_sqlcnx="/.+ on .+/:GAUGE" that would yield :

/usr/hobbit/data/rrd/~$ ls databaseserver.int.cvf/
user-ff8f0da8cd47@xymon.invalid_on_content.rrd
user-ba7161ff9ec3@xymon.invalid_on_content.rrd
(and so on)


Since I really need it, I can always try to add this into hobbit. Would
it be possible to implement it as a new channel or it has to be into the
code rrd handling ?
I started looking at this yesterday, but was interrupted by the
security problem that caused a new 4.1.2p2 release yesterday. I don't
think it requires a lot of new code, but I'd prefer to wait until
after the 4.2 release. So lets discuss this next week.
Hi Henrik,

just a small reminder about this feature. I also think the syntax should
be something like :

NCV_whatever"%.+ on .+:GAUGE"

so it's consistent with other uses of regexes in files.

Tell me if you plan to look at this soon, or else I'll try to implement
it (uglily and buggily :) by myself.


Regards,

-- 
Charles Goyard - user-98f9625a7a59@xymon.invalid - (+33) 1 45 38 01 31