Results 1 to 4 of 4

Thread: Shinken installation 2.4.3

  1. #1
    Junior Member
    Join Date
    Jun 2016
    Posts
    3

    Shinken installation 2.4.3

    Hello,

    Sorry for my english, I am french.

    I have installed shinken 2.4.3 on an Ubuntu 15.04 with several modules (webui2, pnp4nagios, thruk, ....). But all my hosts stay at the status "PENDING".

    I can not find what is wrong with my installation (it is the first time I am using Shinken). Are these logs "normal" ?

    [1465368426] INFO: [Shinken] Correctly loaded ui-pnp as an old-new-style shinken module :|
    [1465368426] INFO: [Shinken] Correctly loaded dummy_scheduler as an old-new-style shinken module :|
    [1465368426] INFO: [Shinken] Correctly loaded named-pipe as an old-new-style shinken module :|
    [1465368426] INFO: [Shinken] Correctly loaded simple-log as an old-new-style shinken module :|
    [1465368426] INFO: [Shinken] Correctly loaded sqlitedb as an old-new-style shinken module :|
    [1465368426] INFO: [Shinken] Correctly loaded ui-graphite2 as an old-new-style shinken module :|
    [1465368426] INFO: [Shinken] Correctly loaded pickle-retention-file-scheduler as an old-new-style shinken module :|
    [1465368426] INFO: [Shinken] Correctly loaded logstore-sqlite as an old-new-style shinken module :|
    [1465368426] INFO: [Shinken] Correctly loaded graphite2 as an old-new-style shinken module :|
    [1465368426] INFO: [Shinken] Correctly loaded auth-cfg-password as an old-new-style shinken module :|
    [1465368426] INFO: [Shinken] Correctly loaded dummy_broker_external as an old-new-style shinken module :|
    [1465368426] INFO: [Shinken] Correctly loaded webui as an old-new-style shinken module :|
    [1465368426] INFO: [Shinken] Correctly loaded livestatus as a very-new-style shinken module
    [1465368426] INFO: [Shinken] Correctly loaded pickle-retention-file-generic as an old-new-style shinken module :|
    [1465368426] INFO: [Shinken] Correctly loaded dummy_poller as an old-new-style shinken module :|
    [1465368426] WARNING: [Shinken] [WebUI-auth-htpasswd] Can not import bcrypt password authentication. You should 'pip install passlib' if you intend to use it.
    [1465368426] WARNING: [Shinken] [WebUI] Can not import Alignak frontend library. If you intend to use Alignak backend authentication or objects, you should 'pip install alignak_backend_client'
    [1465368426] INFO: [Shinken] Correctly loaded webui2 as an old-new-style shinken module :|
    [1465368426] INFO: [Shinken] Correctly loaded npcdmod as an old-new-style shinken module :|
    [1465368426] INFO: [Shinken] Correctly loaded dummy_arbiter as an old-new-style shinken module :|
    [1465368426] INFO: [Shinken] Correctly loaded ui-graphite as an old-new-style shinken module :|
    [1465368426] INFO: [Shinken] Correctly loaded dummy_broker as an old-new-style shinken module :|
    [1465368426] INFO: [Shinken] I correctly loaded the modules: []

    Does someone would be able to help me ?

    Please find all logs in attachements.

    Thank you

    arbiterd.zipbrokerd.zippollerd.log.txtreactionnerd.log.txtreceiverd.log.txt

  2. #2
    Junior Member
    Join Date
    Jun 2016
    Posts
    3
    Add: Shinken.log in attachment

    shinken.zip

  3. #3
    Junior Member
    Join Date
    Jun 2016
    Posts
    3
    Hello,

    Nobody has an idea to help me ?

    I think the problem could comes from the poller which it seems not do much.


    [1466164314] DEBUG: [Shinken] HTTP: calling lock for put_conf
    [1466164314] DEBUG: [Shinken] Debug perf: put_conf [args:0.00105381011963] [aqu_lock:0.000343084335327][calling:1.19209289551e-05] [json:3.91006469727e-05] [global:0.00144791603088]
    [1466164315] DEBUG: [Shinken] [poller] Sending us a configuration {'arbiters': {}, 'global': {'poller_name': u'poller-master', 'http_proxy': '', 'use_timezone': u'Europe/Paris', 'statsd_host': u'localhost', 'max_plugins_output_length': 65536, 'manage_arbiters': False, 'statsd_types': None, 'passive': False, 'secret': '', 'satellitemap': {}, 'polling_interval': 1, 'min_workers': 0, 'statsd_prefix': u'shinken', 'poller_tags': ['None'], 'max_workers': 0, 'statsd_interval': 5, 'api_key': '', 'statsd_enabled': False, 'statsd_port': 8125, 'modules': [], 'statsd_pattern': None, 'processes_by_worker': 256}, 'schedulers': {0: {'data_timeout': 120, 'name': u'scheduler-master', 'hard_ssl_name_check': False, 'instance_id': 0, 'timeout': 3, 'address': u'172.20.100.252', 'active': True, 'use_ssl': False, 'push_flavor': 730939, 'port': 7768}}}
    [1466164315] INFO: [Shinken] [poller-master] Init connection with scheduler-master at http://172.20.100.252:7768/ (3s,120s)
    [1466164315] INFO: [Shinken] [poller-master] Connection OK with scheduler scheduler-master
    [1466164315] INFO: [Shinken] [poller-master] Using max workers: 2
    [1466164315] INFO: [Shinken] [poller-master] Using min workers: 2
    [1466164315] INFO: [Shinken] [poller-master] Setting our timezone to Europe/Paris
    [1466164315] INFO: [Shinken] We have our schedulers: {0: {'wait_homerun': {}, 'data_timeout': 120, 'name': u'scheduler-master', 'hard_ssl_name_check': False, 'uri': u'http://172.20.100.252:7768/', 'actions': {}, 'instance_id': 0, 'running_id': 1466164310.3425834, 'timeout': 3, 'address': u'172.20.100.252', 'active': True, 'use_ssl': False, 'push_flavor': 730939, 'port': 7768, 'con': <shinken.http_client.HTTPClient object at 0xb6264f6c>}}
    [1466164315] INFO: [Shinken] Correctly loaded ui-pnp as an old-new-style shinken module :|
    [1466164315] INFO: [Shinken] Correctly loaded dummy_scheduler as an old-new-style shinken module :|
    [1466164315] INFO: [Shinken] Correctly loaded named-pipe as an old-new-style shinken module :|
    [1466164315] INFO: [Shinken] Correctly loaded simple-log as an old-new-style shinken module :|
    [1466164315] INFO: [Shinken] Correctly loaded sqlitedb as an old-new-style shinken module :|
    [1466164315] INFO: [Shinken] Correctly loaded ui-graphite2 as an old-new-style shinken module :|
    [1466164315] INFO: [Shinken] Correctly loaded pickle-retention-file-scheduler as an old-new-style shinken module :|
    [1466164315] INFO: [Shinken] Correctly loaded logstore-sqlite as an old-new-style shinken module :|
    [1466164315] INFO: [Shinken] Correctly loaded graphite2 as an old-new-style shinken module :|
    [1466164315] INFO: [Shinken] Correctly loaded auth-cfg-password as an old-new-style shinken module :|
    [1466164315] INFO: [Shinken] Correctly loaded dummy_broker_external as an old-new-style shinken module :|
    [1466164316] INFO: [Shinken] Correctly loaded webui as an old-new-style shinken module :|
    [1466164316] INFO: [Shinken] Correctly loaded livestatus as a very-new-style shinken module
    [1466164316] INFO: [Shinken] Correctly loaded pickle-retention-file-generic as an old-new-style shinken module :|
    [1466164316] INFO: [Shinken] Correctly loaded dummy_poller as an old-new-style shinken module :|
    [1466164316] WARNING: [Shinken] [WebUI-auth-htpasswd] Can not import bcrypt password authentication. You should 'pip install passlib' if you intend to use it.
    [1466164316] WARNING: [Shinken] [WebUI] Can not import Alignak frontend library. If you intend to use Alignak backend authentication or objects, you should 'pip install alignak_backend_client'
    [1466164316] INFO: [Shinken] Correctly loaded webui2 as an old-new-style shinken module :|
    [1466164316] INFO: [Shinken] Correctly loaded npcdmod as an old-new-style shinken module :|
    [1466164316] INFO: [Shinken] Correctly loaded dummy_arbiter as an old-new-style shinken module :|
    [1466164316] INFO: [Shinken] Correctly loaded ui-graphite as an old-new-style shinken module :|
    [1466164316] INFO: [Shinken] Correctly loaded dummy_broker as an old-new-style shinken module :|
    [1466164316] INFO: [Shinken] I correctly loaded the modules: []
    [1466164316] DEBUG: [Shinken] Debug perf: ping [args:6.103515625e-05] [aqu_lock:2.86102294922e-06][calling:4.05311584473e-06] [json:3.00407409668e-05] [global:9.79900360107e-05]
    [1466164316] DEBUG: [Shinken] Debug perf: get_external_commands [args:1.38282775879e-05] [aqu_lock:3.09944152832e-06][calling:7.48634338379e-05] [json:2.62260437012e-05] [global:0.000118017196655]
    [1466164316] INFO: [Shinken] [poller-master] Allocating new fork Worker: 0
    [1466164316] DEBUG: [Shinken] Loop turn
    [1466164316] INFO: [Shinken] Cleaning BrokHandler <shinken.log.BrokHandler object at 0xb626402c> from logger.handlers..
    [1466164317] DEBUG: [Shinken] Debug perf: ping [args:2.50339508057e-05] [aqu_lock:1.90734863281e-06][calling:1.4066696167e-05] [json:8.60691070557e-05] [global:0.000127077102661]
    [1466164317] DEBUG: [Shinken] Debug perf: get_external_commands [args:2.00271606445e-05] [aqu_lock:2.86102294922e-06][calling:0.000234127044678] [json:2.00271606445e-05] [global:0.000277042388916]
    [1466164317] DEBUG: [Shinken] ========================
    [1466164317] DEBUG: [Shinken] [0][scheduler-master][fork] Stats: Workers:0 (Queued:0 TotalReturnWait:0)
    [1466164317] DEBUG: [Shinken] Wait ratio: 1.000000
    [1466164317] DEBUG: [Shinken] [poller-master] Trying to adjust worker number. Actual number : 1, min per module : 2, max per module : 2
    [1466164317] INFO: [Shinken] [poller-master] Allocating new fork Worker: 1
    [1466164317] DEBUG: [Shinken] Ask actions to 0, got 0
    [1466164317] DEBUG: [Shinken] Debug perf: ping [args:1.90734863281e-05] [aqu_lock:1.90734863281e-06][calling:2.00271606445e-05] [json:2.69412994385e-05] [global:6.79492950439e-05]
    [1466164317] DEBUG: [Shinken] Debug perf: get_running_id [args:7.15255737305e-06] [aqu_lock:1.90734863281e-06][calling:1.09672546387e-05] [json:2.00271606445e-05] [global:4.00543212891e-05]
    [1466164317] DEBUG: [Shinken] Debug perf: ping [args:5.96046447754e-06] [aqu_lock:1.90734863281e-06][calling:3.09944152832e-06] [json:1.4066696167e-05] [global:2.50339508057e-05]
    [1466164317] DEBUG: [Shinken] HTTP: calling lock for get_broks
    [1466164317] INFO: [Shinken] Cleaning BrokHandler <shinken.log.BrokHandler object at 0xb626402c> from logger.handlers..
    [...]
    [1466164614] DEBUG: [Shinken] Debug perf: ping [args:8.10623168945e-06] [aqu_lock:1.90734863281e-06][calling:3.09944152832e-06] [json:1.50203704834e-05] [global:2.8133392334e-05]
    [1466164614] DEBUG: [Shinken] Debug perf: get_external_commands [args:6.91413879395e-06] [aqu_lock:9.53674316406e-07][calling:4.00543212891e-05] [json:1.59740447998e-05] [global:6.38961791992e-05]
    [1466164615] DEBUG: [Shinken] Debug perf: ping [args:6.91413879395e-06] [aqu_lock:9.53674316406e-07][calling:3.09944152832e-06] [json:1.50203704834e-05] [global:2.59876251221e-05]
    [1466164615] DEBUG: [Shinken] Debug perf: get_external_commands [args:6.91413879395e-06] [aqu_lock:1.90734863281e-06][calling:3.81469726562e-05] [json:1.50203704834e-05] [global:6.19888305664e-05]
    [1466164616] DEBUG: [Shinken] Debug perf: ping [args:1.09672546387e-05] [aqu_lock:2.86102294922e-06][calling:4.05311584473e-06] [json:3.09944152832e-05] [global:4.88758087158e-05]
    [1466164616] DEBUG: [Shinken] Debug perf: get_external_commands [args:8.10623168945e-06] [aqu_lock:9.53674316406e-07][calling:4.10079956055e-05] [json:1.59740447998e-05] [global:6.60419464111e-05]
    [1466164617] DEBUG: [Shinken] Debug perf: ping [args:5.96046447754e-06] [aqu_lock:2.14576721191e-06][calling:2.86102294922e-06] [json:1.4066696167e-05] [global:2.50339508057e-05]
    [1466164617] DEBUG: [Shinken] Debug perf: get_external_commands [args:6.91413879395e-06] [aqu_lock:2.14576721191e-06][calling:3.88622283936e-05] [json:1.62124633789e-05] [global:6.41345977783e-05]
    [1466164618] DEBUG: [Shinken] Debug perf: ping [args:7.15255737305e-06] [aqu_lock:1.90734863281e-06][calling:3.09944152832e-06] [json:1.50203704834e-05] [global:2.71797180176e-05]
    [1466164618] DEBUG: [Shinken] The arbiter asked me what I manage. It's {0: 730939}
    [1466164618] DEBUG: [Shinken] Debug perf: what_i_managed [args:5.96046447754e-06] [aqu_lock:2.14576721191e-06][calling:0.000381946563721] [json:4.41074371338e-05] [global:0.000434160232544]
    [1466164618] DEBUG: [Shinken] Debug perf: ping [args:6.91413879395e-06] [aqu_lock:3.09944152832e-06][calling:1.90734863281e-06] [json:1.71661376953e-05] [global:2.90870666504e-05]
    [1466164618] DEBUG: [Shinken] Debug perf: get_external_commands [args:7.15255737305e-06] [aqu_lock:1.90734863281e-06][calling:4.10079956055e-05] [json:1.59740447998e-05] [global:6.60419464111e-05]
    [1466164619] DEBUG: [Shinken] Debug perf: ping [args:5.96046447754e-06] [aqu_lock:1.90734863281e-06][calling:3.09944152832e-06] [json:1.50203704834e-05] [global:2.59876251221e-05]
    [1466164619] DEBUG: [Shinken] Debug perf: get_external_commands [args:8.10623168945e-06] [aqu_lock:1.90734863281e-06][calling:5.60283660889e-05] [json:1.90734863281e-05] [global:8.51154327393e-05]
    [1466164620] DEBUG: [Shinken] Debug perf: ping [args:5.96046447754e-06] [aqu_lock:1.90734863281e-06][calling:3.09944152832e-06] [json:1.38282775879e-05] [global:2.47955322266e-05]
    [1466164620] DEBUG: [Shinken] Debug perf: get_external_commands [args:6.91413879395e-06] [aqu_lock:3.09944152832e-06][calling:5.19752502441e-05] [json:1.8835067749e-05] [global:8.08238983154e-05]
    [1466164621] DEBUG: [Shinken] Debug perf: ping [args:6.91413879395e-06] [aqu_lock:2.14576721191e-06][calling:2.86102294922e-06] [json:1.59740447998e-05] [global:2.78949737549e-05]

    Thanks

  4. #4
    Junior Member
    Join Date
    Jul 2016
    Posts
    5
    Hi,

    Easy to say but did you read all the file and in particular the WARNING messages ?

    Modules you are trying to use did not have all their dependencies.

    So first try to solve this by installing them.

    With root privilege :

    pip install passlib

    pip install alignak_backend_client

    If it still didn't work take look at your broker conf file if all the modules you want to use are declared.

    Take a look to your webui conf file too.


Posting Permissions

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