[hobbit] mysql connections

Jones, Jason (Altrincham) JasonAS_Jones at mentor.com
Tue Mar 6 10:24:25 CET 2007


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:stef.coene at docum.org] 
Sent: 06 March 2007 08:32
To: hobbit at hswn.dk
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

To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk





More information about the Xymon mailing list