An HTML attachment was scrubbed... URL: <http://lists.xymon.com/pipermail/xymon/attachments/20060914/b9325c72/attachment.html>
I have the same problem, and the only way that i have found is to remove the first line
Marco ----- Original Message ----- From: Francesco Duranti To: hobbit at hswn.dk Sent: Thursday, September 14, 2006 6:10 PM Subject: [hobbit] Problem with ncv
I've a problem with data reporting in rrd files via ncv, I've one script that report data in this way
MySQL Connection statistics
Threads = 7 Questions = 153015 Slow queries = 0Opens = 0 Flush tables = 1 Open tables = 32 Queries per second avg = 0.135 The rrd will get MySQLConnectionstat as the name of the first data to save in the rrd instead of getting Threads.
I've not found a way to make it get the Threads as the var name. I'ts like it's ignoring \n when getting the name so that "MySQL Connection statistics Threads" is used as the name of the first dataset to save instead of only threads.
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
I'm new to custom NCV, and want to set some up soon. How do you get it to work with "var = value" instead of "var : value" ? Any why is it using that first line as a var at all?
-Charles
Marco Avvisano wrote:
I have the same problem, and the only way that i have found is to remove the first line
Marco
----- Original Message ----- *From:* Francesco Duranti <mailto:fduranti at q8.it> *To:* hobbit at hswn.dk <mailto:hobbit at hswn.dk> *Sent:* Thursday, September 14, 2006 6:10 PM *Subject:* [hobbit] Problem with ncv I've a problem with data reporting in rrd files via ncv, I've one script that report data in this way MySQL Connection statistics Threads = 7 Questions = 153015 Slow queries = 0 Opens = 0 Flush tables = 1 Open tables = 32 Queries per second avg = 0.135 The rrd will get MySQLConnectionstat as the name of the first data to save in the rrd instead of getting Threads. I've not found a way to make it get the Threads as the var name. I'ts like it's ignoring \n when getting the name so that "MySQL Connection statistics Threads" is used as the name of the first dataset to save instead of only threads.
-----Original Message----- From: Francesco Duranti [mailto:fduranti at q8.it] Sent: Thu 9/14/2006 6:10 PM To: hobbit at hswn.dk Subject: [hobbit] Problem with ncv
I've a problem with data reporting in rrd files via ncv, I've one script that report data in this way
MySQL Connection statistics
Threads = 7 Questions = 153015 Slow queries = 0 Opens = 0 Flush tables = 1 Open tables = 32 Queries per second avg = 0.135
The rrd will get MySQLConnectionstat as the name of the first data to save in the rrd instead of getting Threads.
I've not found a way to make it get the Threads as the var name. I'ts like it's ignoring \n when getting the name so that "MySQL Connection statistics Threads" is used as the name of the first dataset to save instead of only threads.
If I remember the documentation well you have to replace the "=" by ":" and it should work...
An HTML attachment was scrubbed... URL: <http://lists.xymon.com/pipermail/xymon/attachments/20060914/88a9d769/attachment.html>
-----Original Message----- From: Francesco Duranti [mailto:fduranti at q8.it] Sent: Thu 9/14/2006 10:03 PM To: hobbit at hswn.dk; hobbit at hswn.dk Subject: [hobbit] R: [hobbit] Problem with ncv
The data will get in rrd also with "=" the only problem is that if there's something before the first datasetname it will become the datasetname and the \n is not counted. Removing the first line will make the ncv work.
So perhaps you can put the first line into the Status line of the message; probably shorten it as it will then become a new "Status" in your Hobbit display...
Da: Johann Eggers [mailto:Johann.Eggers at teleatlas.com] Inviato: gio 14/09/2006 21.33 A: hobbit at hswn.dk Oggetto: RE: [hobbit] Problem with ncv
-----Original Message----- From: Francesco Duranti [mailto:fduranti at q8.it] Sent: Thu 9/14/2006 6:10 PM To: hobbit at hswn.dk Subject: [hobbit] Problem with ncv
I've a problem with data reporting in rrd files via ncv, I've one script that report data in this way
MySQL Connection statistics
Threads = 7 Questions = 153015 Slow queries = 0 Opens = 0 Flush tables = 1 Open tables = 32 Queries per second avg = 0.135
The rrd will get MySQLConnectionstat as the name of the first data to save in the rrd instead of getting Threads.
I've not found a way to make it get the Threads as the var name. I'ts like it's ignoring \n when getting the name so that "MySQL Connection statistics Threads" is used as the name of the first dataset to save instead of only threads.
If I remember the documentation well you have to replace the "=" by ":" and it should work...
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
On Thu, Sep 14, 2006 at 06:10:50PM +0200, Francesco Duranti wrote:
I've a problem with data reporting in rrd files via ncv, I've one script that report data in this way
MySQL Connection statistics
Threads = 7 Questions = 153015 Slow queries = 0</PRE> <DIV align=left><PRE>Opens = 0 Flush tables = 1 Open tables = 32 Queries per second avg = 0.135
The rrd will get MySQLConnectionstat as the name of the first data to save in the rrd instead of getting Threads.
This patch should fix it.
Regards, Henrik
Thanks Henrick, now it work
I have another problem .... sometimes the rrd graphs lost values I send data to hobbit server every 20 minutes ... i must change or add something in hobbitgraph definitions?
DEF:seconds=inps.rrd:Seconds:AVERAGE
regards,
Marco
----- Original Message ----- From: "Henrik Stoerner" <henrik at hswn.dk> To: <hobbit at hswn.dk> Sent: Thursday, September 14, 2006 10:53 PM Subject: Re: [hobbit] Problem with ncv
On Thu, Sep 14, 2006 at 06:10:50PM +0200, Francesco Duranti wrote:
I've a problem with data reporting in rrd files via ncv, I've one script that report data in this way
MySQL Connection statistics
Threads = 7 Questions = 153015 Slow queries = 0</PRE> <DIV align=left><PRE>Opens = 0 Flush tables = 1 Open tables = 32 Queries per second avg = 0.135
The rrd will get MySQLConnectionstat as the name of the first data to save in the rrd instead of getting Threads.
This patch should fix it.
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
participants (5)
-
fduranti@q8.it
-
henrik@hswn.dk
-
Johann.Eggers@teleatlas.com
-
jonescr@cisco.com
-
marco.avvisano@regione.toscana.it