Skip to content

shinken-discovery AttributeError #1542

@ryepup

Description

@ryepup

Getting a AttributeError: 'Config' object has no attribute 'create_reversed_list' error when trying to run shinken-discovery. Shinken is a recent installation via pip.

  • shinken-discovery - 1.0.1
  • shinken - 2.2
$ shinken-discovery -c /etc/shinken/discovery/discovery.cfg -o /etc/shinken/shared/ -r nmap -m "NMAPTARGETS=localhost"
Macros ['NMAPTARGETS=localhost']
Got macros [('NMAPTARGETS', 'localhost')]
[1426616679] WARNING: [Shinken] There is no arbiter, I add one in localhost:7770
Traceback (most recent call last):
  File "/usr/bin/shinken-discovery", line 144, in <module>
    d = DiscoveryManager(cfg_input, macros, overwrite, runners, output_dir=output_dir, dbmod=dbmod, backend=backend, modules_path=modules_path, merge=merge)
  File "/usr/local/lib/python2.7/dist-packages/shinken/discovery/discoverymanager.py", line 344, in __init__
    self.conf.create_reversed_list()
AttributeError: 'Config' object has no attribute 'create_reversed_list'

Seems to be discussed a little on this create_reversed_list not defined forum thread, where they trace it to 3e8ab43.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions