[hobbit] mysql connections
Jones, Jason (Altrincham)
JasonAS_Jones at mentor.com
Mon Mar 5 15:15:08 CET 2007
It's just a warning I think:
[hobbit at abc2 ext]$ perl bb-mysql.pl
Use of uninitialized value in concatenation (.) or string at bb-mysql.pl
line 52.
> you use an unitialised variable on line 52
Use of uninitialized value in concatenation (.) or string at bb-mysql.pl
line 118.
Use of uninitialized value in concatenation (.) or string at bb-mysql.pl
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 string at bb-mysql.pl
line 131.
Use of uninitialized value in concatenation (.) or string at bb-mysql.pl
line 131.
Use of uninitialized value in concatenation (.) or string at bb-mysql.pl
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:sabeer.mz at gmail.com]
Sent: 05 March 2007 13:34
To: hobbit at hswn.dk
Subject: Re: [hobbit] mysql connections
any guess :)
On 3/5/07, Sabeer MZ <sabeer.mz at gmail.com> 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 string at bb-mysql.pl
line 52.
Use of uninitialized value in concatenation (.) or string at bb-mysql.pl
line 118.
Use of uninitialized value in concatenation (.) or string at bb-mysql.pl
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 string at bb-mysql.pl
line 131.
Use of uninitialized value in concatenation (.) or string at bb-mysql.pl
line 131.
Use of uninitialized value in concatenation (.) or string at bb-mysql.pl
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 < cgoyard at cvf.fr <mailto:cgoyard at cvf.fr> >
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 - cgoyard at cvf.fr - (+33) 1 45 38 01 31
To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk
--
Warm Regards
Sabeer MZ
--
Warm Regards
Sabeer MZ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20070305/80c22b66/attachment.html>
More information about the Xymon
mailing list