[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [hobbit] R: [hobbit] Problem with ncv





-----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