<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>RE: [hobbit] R: [hobbit] Problem with ncv</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>
<BR>
<BR>

<P><FONT SIZE=2>-----Original Message-----<BR>
From: Francesco Duranti [<A HREF="mailto:fduranti@q8.it">mailto:fduranti@q8.it</A>]<BR>
Sent: Thu 9/14/2006 10:03 PM<BR>
To: hobbit@hswn.dk; hobbit@hswn.dk<BR>
Subject: [hobbit] R: [hobbit] Problem with ncv<BR>
<BR>
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.<BR>
<BR>
<BR>
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...<BR>
<BR>
________________________________<BR>
<BR>
Da: Johann Eggers [<A HREF="mailto:Johann.Eggers@teleatlas.com">mailto:Johann.Eggers@teleatlas.com</A>]<BR>
Inviato: gio 14/09/2006 21.33<BR>
A: hobbit@hswn.dk<BR>
Oggetto: RE: [hobbit] Problem with ncv<BR>
<BR>
<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: Francesco Duranti [<A HREF="mailto:fduranti@q8.it">mailto:fduranti@q8.it</A>]<BR>
Sent: Thu 9/14/2006 6:10 PM<BR>
To: hobbit@hswn.dk<BR>
Subject: [hobbit] Problem with ncv<BR>
<BR>
I've a problem with data reporting in rrd files via ncv, I've one script that report data in this way<BR>
<BR>
MySQL Connection statistics<BR>
<BR>
Threads         = 7<BR>
Questions       = 153015<BR>
Slow queries    = 0<BR>
Opens           = 0<BR>
Flush tables    = 1<BR>
Open tables     = 32<BR>
Queries per second avg  = 0.135<BR>
<BR>
<BR>
The rrd will get MySQLConnectionstat as the name of the first data to save in the rrd instead of getting Threads.<BR>
<BR>
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.<BR>
<BR>
<BR>
<BR>
If I remember the documentation well you have to replace the "=" by ":" and it should work...<BR>
<BR>
<BR>
<BR>
<BR>
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe@hswn.dk<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>