Results 1 to 2 of 2

Thread: Shinken start error

  1. #1
    Junior Member
    Join Date
    Jun 2017
    Posts
    1

    Shinken start error

    hi,
    i install Shinken, it started wihtout problems.
    I copied the files that had NAGIOS3 and i exceedf this error.
    What can it be?

    LOG FILE
    [1498212334] Debug : Opening local log file
    None
    [1498212334] Info : And arbiter is launched with the hostname:ELLEDATA202 from an arbiter point of view of addr:ELLEDATA202
    [1498212334] Info : I am the master Arbiter: Arbiter-Master
    [1498212334] Info : My own modules:
    [1498212334] Info : Modules directory: /usr/share/pyshared/shinken/modules
    [1498212334] Warning : Importing module logstore-mongodb: cannot import name Connection
    [1498212334] Info : I correctly loaded the modules: []
    [1498212334] Critical : I got an unrecoverable error. I have to exit
    [1498212334] Critical : You can log a bug ticket at https://github.com/naparuba/shinken/issues/new to get help
    [1498212334] Critical : Exception trace follows: Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/shinken/daemons/arbiterdaemon.py", line 595, in main
    self.load_config_file()
    File "/usr/lib/python2.7/dist-packages/shinken/daemons/arbiterdaemon.py", line 376, in load_config_file
    self.conf.explode()
    File "/usr/lib/python2.7/dist-packages/shinken/objects/config.py", line 1031, in explode
    self.triggers)
    File "/usr/lib/python2.7/dist-packages/shinken/objects/service.py", line 1305, in explode
    self.explode_host_groups_into_hosts(hosts, hostgroups)
    File "/usr/lib/python2.7/dist-packages/shinken/objects/item.py", line 1160, in explode_host_groups_into_hosts
    hnames_list.extend(self.evaluate_hostgroup_express ion(i.hostgroup_name, hosts, hostgroups))
    File "/usr/lib/python2.7/dist-packages/shinken/objects/item.py", line 1139, in evaluate_hostgroup_expression
    expr_tree = f.eval_cor_pattern(expr)
    File "/usr/lib/python2.7/dist-packages/shinken/complexexpression.py", line 152, in eval_cor_pattern
    obj, error = self.find_object(pattern)
    File "/usr/lib/python2.7/dist-packages/shinken/complexexpression.py", line 280, in find_object
    elts = hg.get_hosts().split(',')
    AttributeError: 'list' object has no attribute 'split'

    Traceback (most recent call last):
    File "/usr/bin/shinken-arbiter", line 118, in <module>
    daemon.main()
    File "/usr/lib/python2.7/dist-packages/shinken/daemons/arbiterdaemon.py", line 595, in main
    self.load_config_file()
    File "/usr/lib/python2.7/dist-packages/shinken/daemons/arbiterdaemon.py", line 376, in load_config_file
    self.conf.explode()
    File "/usr/lib/python2.7/dist-packages/shinken/objects/config.py", line 1031, in explode
    self.triggers)
    File "/usr/lib/python2.7/dist-packages/shinken/objects/service.py", line 1305, in explode
    self.explode_host_groups_into_hosts(hosts, hostgroups)
    File "/usr/lib/python2.7/dist-packages/shinken/objects/item.py", line 1160, in explode_host_groups_into_hosts
    hnames_list.extend(self.evaluate_hostgroup_express ion(i.hostgroup_name, hosts, hostgroups))
    File "/usr/lib/python2.7/dist-packages/shinken/objects/item.py", line 1139, in evaluate_hostgroup_expression
    expr_tree = f.eval_cor_pattern(expr)
    File "/usr/lib/python2.7/dist-packages/shinken/complexexpression.py", line 152, in eval_cor_pattern
    obj, error = self.find_object(pattern)
    File "/usr/lib/python2.7/dist-packages/shinken/complexexpression.py", line 280, in find_object
    elts = hg.get_hosts().split(',')
    AttributeError: 'list' object has no attribute 'split'

    Thanks for your help

    D.

  2. #2
    Junior Member
    Join Date
    Jul 2017
    Posts
    13
    is Shinken dead???

Posting Permissions

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