Xymon Mailing List Archive search

NCV parsing status message

6 messages in this thread

list Torben Aagaard · Wed, 24 Jan 2007 11:40:31 +0100 ·
Hi all

I have Hobbit 4.2.0 and devmon running, monitoring a few custom Checkpoint
SNMP agents.

The devmon script outputs something like this :


status fw-m1,foo,dk.fw1 yellow Wed Jan 24 11:13:17 2007

fwNumConn: 27321 &yellow  Connection Table high
fwPeakNumConn: 30993


Devmon version 0.2.2 running on mon

I set up the NCV stuff as per the "How to setup custom graphs" page, and
everything is working.

However - I'd like to move the status message "&yellow  Connection Table
high" to the top of the page - and possible add some more info.
I tried moving the color and message to the top of the status message, but
it seems like NCV is trying to create a RRD ds for every line:


2007-01-24 20:37:19 RRD error updating /var/lib/hobbit/rrd/fw-
m1.foo.dk/fw1.rrd from 127.0.0.1: unknown DS name 'yellowConnectionTab'

A rrdtools dump shows that a ds was created with the name
"greenConnectionTabl".


Is every line in the status message parsed?
How can I add info to the status message and still have my graphs working ?


Thanks

BR
/Torben
list Gildas le Nadan · Wed, 24 Jan 2007 10:47:25 +0000 ·
2007-01-24 20:37:19 RRD error updating /var/lib/hobbit/rrd/fw-m1.foo.dk/fw1.rrd <http://m1.foo.dk/fw1.rrd>; from 127.0.0.1 <http://127.0.0.1>;: unknown DS name 'yellowConnectionTab'
 A rrdtools dump shows that a ds was created with the name "greenConnectionTabl".
Do you have the "ncv-ignoretext.patch" or the "all-in-one" patch applied to your hobbit server?

Gildas
list Torben Aagaard · Wed, 24 Jan 2007 12:49:18 +0100 ·
Hi Gildas

Ahh - I guess I missed the patches section on Henrik's site :)

So as long as I don't use ":" or "=" in the message, I should be fine, right
?

Thanks a lot

BR
/Torben
quoted from Gildas le Nadan

On 1/24/07, Gildas Le Nadan <user-231cb1cfd8a8@xymon.invalid> wrote:
2007-01-24 20:37:19 RRD error updating
/var/lib/hobbit/rrd/fw-m1.foo.dk/fw1.rrd <http://m1.foo.dk/fw1.rrd>; from
127.0.0.1 <http://127.0.0.1>;: unknown DS name 'yellowConnectionTab'


A rrdtools dump shows that a ds was created with the name
"greenConnectionTabl".
Do you have the "ncv-ignoretext.patch" or the "all-in-one" patch applied
to your hobbit server?

Gildas

list Gildas le Nadan · Wed, 24 Jan 2007 11:54:23 +0000 ·
quoted from Torben Aagaard
Torben Aagaard wrote:
Hi Gildas
 Ahh - I guess I missed the patches section on Henrik's site :)
 So as long as I don't use ":" or "=" in the message, I should be fine, right ?
 Thanks a lot
 BR
/Torben
That is my understanding so far. Correct me if I'm wrong ;)

Gildas
list Charles Goyard · Wed, 24 Jan 2007 13:46:05 +0100 ·
quoted from Torben Aagaard
Torben Aagaard wrote :
Hi Gildas

Ahh - I guess I missed the patches section on Henrik's site :)

So as long as I don't use ":" or "=" in the message, I should be fine, right
No, the bug is that a message like this :

hello world !

ducks: 5

builds 'helloworldducks: 5'.

That is, it does not reset on newlines. You really need the patch.

-- 
Charles Goyard - user-98f9625a7a59@xymon.invalid - (+33) 1 45 38 01 31
list Torben Aagaard · Wed, 24 Jan 2007 17:36:57 +0100 ·
Yes - I understand that I still need the patch.
After applying the patch, I will have to avoid ":" and "=" chars.

Thanks

BR
/Torben
quoted from Charles Goyard

On 1/24/07, Charles Goyard <user-98f9625a7a59@xymon.invalid> wrote:
Torben Aagaard wrote :
Hi Gildas

Ahh - I guess I missed the patches section on Henrik's site :)

So as long as I don't use ":" or "=" in the message, I should be fine,
right
No, the bug is that a message like this :

hello world !

ducks: 5

builds 'helloworldducks: 5'.

That is, it does not reset on newlines. You really need the patch.

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