Results 1 to 8 of 8

Thread: Unable to use Ndo Oracle Broker module

  1. #1
    Junior Member
    Join Date
    Mar 2012
    Posts
    4

    Unable to use Ndo Oracle Broker module

    Hi All,

    I try activate the broker Module ToNdodb_Oracle.

    DB is 11G Express. DB is fine and Oracle.sql script has been run but noghint goes to DB.

    In the Brokerd.log file i find this : get_instance for module ToNdodb_Oracle returned None !

    Here's my shinken configuration :

    define module {
    oracle_home /u01/app/oracle/product/11.2.0/xe
    database XE
    module_type ndodb_oracle
    user system
    module_name ToNdodb_Oracle
    password xxxxxxx
    }

    define broker {
    broker_name broker-1
    data_timeout 120
    check_interval 60
    modules Livestatus, ToNdodb_Oracle, WebUI, PickleRetentionBroker
    port 7772
    manage_sub_realms 1
    spare 0
    timeout 3
    address localhost
    realm All
    max_check_attempts 3
    manage_arbiters 1
    }

    thanks for ur help ;-D





  2. #2
    Shinken project leader
    Join Date
    May 2011
    Location
    Bordeaux (France)
    Posts
    2,131

    Re: Unable to use Ndo Oracle Broker module

    Hi,

    Please launch in debug mode (shinken -d start for the init.d script) and look at the broker.debug file. This will output why it's not happy about this module.
    No direct support by personal message. Please open a thread so everyone can see the solution

  3. #3
    Junior Member
    Join Date
    Mar 2012
    Posts
    4

    Re: Unable to use Ndo Oracle Broker module

    here it is


  4. #4
    Shinken project leader
    Join Date
    May 2011
    Location
    Bordeaux (France)
    Posts
    2,131

    Re: Unable to use Ndo Oracle Broker module

    Hi,

    It return : No module named cx_Oracle

    Please install this python module. You will find the link on the wiki page : http://www.shinken-monitoring.org/wi...eb_with_oracle


    Jean
    No direct support by personal message. Please open a thread so everyone can see the solution

  5. #5
    Junior Member
    Join Date
    Mar 2012
    Posts
    4

    Re: Unable to use Ndo Oracle Broker module

    Hello Jean,

    i'll try this. is there a version available for Centos 6.2 ?

    iZi

  6. #6
    Shinken project leader
    Join Date
    May 2011
    Location
    Bordeaux (France)
    Posts
    2,131

    Re: Unable to use Ndo Oracle Broker module

    I don't know, I'm not a big fan of Oracle so I don't use this module
    No direct support by personal message. Please open a thread so everyone can see the solution

  7. #7
    Junior Member
    Join Date
    Mar 2012
    Posts
    4

    Re: Unable to use Ndo Oracle Broker module

    oki ;-)

    cx_oracle was setup


    now i get this errors in broker-debug.log

    I connect to NDO database with Oracle
    Error : the instance ToNdodb_Oracle raised an exception 'NoneType' object is not
    callable, I remove it!
    Back trace of this remove : Traceback (most recent call last):
    File "/usr/local/shinken/shinken/modulesmanager.py", line 138, in try_instance
    _init
    inst.init()
    File "/usr/local/shinken/shinken/modules/ndodb_oracle_broker/ndodb_oracle_brok
    er.py", line 61, in init
    self.db.connect_database()
    File "/usr/local/shinken/shinken/db_oracle.py", line 59, in connect_database
    self.db = connect_function(connstr)
    TypeError: 'NoneType' object is not callable

    Warning : the module 'ToNdodb_Oracle' failed to init, I will try to restart it l
    ater

  8. #8
    Shinken project leader
    Join Date
    May 2011
    Location
    Bordeaux (France)
    Posts
    2,131

    Re: Unable to use Ndo Oracle Broker module

    Can you try to open a python and launch :

    from cx_Oracle import connect as connect_function


    ?
    No direct support by personal message. Please open a thread so everyone can see the solution

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •