It's just a warning I think:
[hobbit at abc2 ext]$ perl bb-mysql.pl
Use of uninitialized value in concatenation (.) or user-69432286eeb3@xymon.invalid
line 52.
you use an unitialised variable on line 52
Use of uninitialized value in concatenation (.) or user-69432286eeb3@xymon.invalid
line 118.
Use of uninitialized value in concatenation (.) or user-69432286eeb3@xymon.invalid
line 118.
You use 2 more on line 118
sh: config bb-mysql.cfg-: command not found
this command cannot be found (no prizes for the one :-) )
Use of uninitialized value in substitution (s///) at bb-mysql.pl line
128.
You're using an uninitialised variable in your sed command (or similar
command)
Use of uninitialized value in concatenation (.) or user-69432286eeb3@xymon.invalid
line 131.
Use of uninitialized value in concatenation (.) or user-69432286eeb3@xymon.invalid
line 131.
Use of uninitialized value in concatenation (.) or user-69432286eeb3@xymon.invalid
line 131.
3 more on line 131
You should prob initialise the variables before you use them, not sure
on syntax in perl from memory but something like:
private int test
test=0
...
As for the command not found guessing the call is wrong, maybe a typo?
Jason.
From: Sabeer MZ [mailto:user-c73a09452f94@xymon.invalid]
Sent: 05 March 2007 13:34
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] mysql connections
any guess :)
On 3/5/07, Sabeer MZ <user-c73a09452f94@xymon.invalid> wrote:
This is my output when i excute the perl script.
hope this gives you some inputs
[hobbit at abc2 ext]$ perl bb-mysql.pl
Use of uninitialized value in concatenation (.) or user-69432286eeb3@xymon.invalid
line 52.
Use of uninitialized value in concatenation (.) or user-69432286eeb3@xymon.invalid
line 118.
Use of uninitialized value in concatenation (.) or user-69432286eeb3@xymon.invalid
line 118.
sh: config bb-mysql.cfg-: command not found
Use of uninitialized value in substitution (s///) at bb-mysql.pl line
128.
Use of uninitialized value in concatenation (.) or user-69432286eeb3@xymon.invalid
line 131.
Use of uninitialized value in concatenation (.) or user-69432286eeb3@xymon.invalid
line 131.
Use of uninitialized value in concatenation (.) or user-69432286eeb3@xymon.invalid
line 131.
sh: line 16: status .mysql green Mon Mar 5 06:15:05 2007 MySQL Server
OK
threads: 42
questions: 205976663
slow queries: 10
opens: 6671453
flush tables: 1
open tables: 64
queries per second avg: 7.429
maxcon: 100
Server version: 4.0.24-standard
Uptime: 320 days 21 hours 41 min 19 sec
Server reports timestamp of 2007-03-05 06:15:05
: command not found
thanks
Sabeer MZ
On 3/5/07, Charles Goyard < user-98f9625a7a59@xymon.invalid <mailto:user-98f9625a7a59@xymon.invalid> >
wrote:
Hi,
Sabeer MZ wrote :
Dear all,
Any comments on below errors. I am not able to see graphs for the data
coming.
And I see below errors on /var/log/hobbit/rrd-stastus.log
RRD error updating /home/hobbit/data/rrd/abc.abc.com/mysql.rrd from
147.183.128.98: not a simple integer: ' 106.435'
just wondering : how do you end up with a non-integer number of
connexions ?
--
Charles Goyard - user-98f9625a7a59@xymon.invalid - (+33) 1 45 38 01 31
--
Warm Regards
Sabeer MZ
--
Warm Regards
Sabeer MZ