Thank you

It was effectively the lack of the python-mysql module...
I knew I made a stupid error :-[

nap wrote:
Hi,

The most common problem with this module is the lack of the mysql
module for Python, so look if you have the python-mysqldb module.

If you have it, we will need to have the debug output of the broker
and see why it's killing this module (the log feature is in the last
git, so if you have a version that is less than 1 week old, you can
look at the global log file).

To launch the broker in debug, just add the -debug /mp/myfile option
to the bin/launch_broker.sh script. I'll add a task to add a
launch_debug_* script.



Jean

On Tue, Jul 27, 2010 at 3:59 PM, Julien.HENRY <[email protected]> wrote:
Hello,

I've installed Shinken on my monitoring node. It seems to work fine, but
I encounter a problem with the database export.
I'm using a mysql merlin database, but the broker doesn't insert any
data in it.

The others broker modules are working...

my shinken_specific.cfg seems to be correct :

define broker{
      broker_name      broker-1
      address          localhost.localdomain
      port             7772
      spare            0
      modules          ToMerlindb_Mysql, Status-Dat, Simple-log,
Host-Perfdata, Service-Perfdata
      manage_sub_realms 1
      manage_arbiters   1
      realm    All
}

define module{
      module_name      ToMerlindb_Mysql
      module_type      merlindb
      backend          mysql    ;backend to use, here mysql database
      database         merlin   ;database name
      user             merlin
      password         merlin
      host             localhost.localdomain ; host of the database
}

and the database exists.


What could be bad configured ?

Thank you for your support.

Julien

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
Shinken-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shinken-devel


------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
Shinken-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shinken-devel



------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
Shinken-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shinken-devel

Reply via email to