Many thanks. I am seeing some light ....:)
No errors when i run it thru bbcmd.
so now to clear mysql.rrd file.
"[hobbit at abc bin]$ ./bbcmd ../ext/bb-mysql.pl
2007-03-06 02:11:58 Using default environment file
/home/hobbit/server/etc/hobbitserver.cfg
/home/hobbit/server/bin/bb x.x.160.x "status abc,abc,com.mysql green Tue
Mar 6 02:11:59 2007 MySQL Server OK
threads: 1
questions: 14036
slow queries: 0
opens: 7
flush tables: 1
open tables: 6
queries per second avg: 0.020
maxcon: 100
Server version: 4.1.20
Uptime: 8 days 48 min 32 sec
Server reports timestamp of 2007-03-06 02:11:59
Thanks
Sabeer MZ
On 3/6/07, Stef Coene <user-dbffe946c0f4@xymon.invalid> wrote:
On Tuesday 06 March 2007 06:44, Sabeer MZ wrote:
good suggestion. i got one more clue.-
Use of uninitialized value in concatenation (.) or string at
bb-mysql.plline 119.
"config bb-mysql.cfg-"sh: config bb-mysql.cfg-: command not found
this is showing that BB/Hobbit variables are not set.
So Where is the soure profile that We need to execute to get these
variables.
or how to set bb/hobbit env varibales.
The hobbit variables are set with the "bbcmd" command. That's why you
have to
execute "../bin/bbcmd perl bb-mysql.pl".
For the error, on line 119, you will find "system($cmd);". You can add
the
line "print $cmd" before this line. This will print the command that
will be
executed when you run the script. Check the command for errors or
missing
options.
Stef
--
Warm Regards
Sabeer MZ