Xymon Mailing List Archive search

mysql connections

list Jason Altrincham Jones
Tue, 6 Mar 2007 09:24:25 -0000
Message-Id: <user-c55a0b9b45b4@xymon.invalid>

One other thing is that I'm mostly half sure that you will want GAUGE
data types not DERIVE since derive assumes the value will always
increase (I can't remember why this is the case) whereas gauge can
increase and decrease.  What changes have you made to hobbitserver.cfg
for this test?

Jason.

-----Original Message-----
From: Stef Coene [mailto:user-dbffe946c0f4@xymon.invalid] 
Sent: 06 March 2007 08:32
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] mysql connections

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