Xymon Mailing List Archive search

mysql connections

list Sabeer MZ
Wed, 7 Mar 2007 12:23:13 +0530
Message-Id: <user-b0a2fd7c3298@xymon.invalid>

that worked.-

Great community Great work.
Thanks a ton to all of you. (stef.coene, Charles , Jason)

Sabeer MZ

On 3/6/07, Stef Coene <user-dbffe946c0f4@xymon.invalid> wrote:
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

-- 
Warm Regards
Sabeer MZ