Xymon Mailing List Archive search

mysql connections

list Stef Coene
Tue, 6 Mar 2007 19:18:35 +0100
Message-Id: <user-01a210c6a846@xymon.invalid>

On Tuesday 06 March 2007 17:42, Sabeer MZ wrote:
Graphs still not come. i see below errors too ..
any guess :)

2007-03-06 08:34:31 RRD error updating
/home/hobbit/data/rrd/abc.abc.com/mysql.rrd from x.x.x.x: not a simple
integer: '0.020'
I had the same problem.  RRD wants integers.

I added the line
$metrics =~ s/(\d)+\.(\d)+/$1/g;

just before
$metrics =~ s/(\d)\s+/$1\n/g; # remplace les espaces qui suivent un chiffre 
par des \n

This will filter out the ".0.20" of "0.020" so "0" is reported.


Stef