Problem with ncv
list Johann Eggers
Thu, 14 Sep 2006 22:28:57 +0200
Message-Id: <user-3fc7e0045655@xymon.invalid>
-----Original Message-----
From: Francesco Duranti [mailto:user-7104dcecbfef@xymon.invalid]
Sent: Thu 9/14/2006 10:03 PM
To: user-ae9b8668bcde@xymon.invalid; user-ae9b8668bcde@xymon.invalid
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:user-769b09132207@xymon.invalid]
Inviato: gio 14/09/2006 21.33
A: user-ae9b8668bcde@xymon.invalid
Oggetto: RE: [hobbit] Problem with ncv
-----Original Message-----
From: Francesco Duranti [mailto:user-7104dcecbfef@xymon.invalid]
Sent: Thu 9/14/2006 6:10 PM
To: user-ae9b8668bcde@xymon.invalid
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...