naparuba/shinken — Issue #144: arbiter - AttributeError: 'Config' object has no attribute 'get_name'
Author: sunshine69
Created: 2012-01-30 23:26:11+00:00
State: open

I am doing the migration from nagios to shinken, copy the nagios config folder and adjust it with existing shinken. When doing a start all go fine except arbiter failed.

CRITICAL ERROR : I got an non recoverable error. I must exit
You can log a bug ticket at https://sourceforge.net/apps/trac/shinken/newticket for geting help
Back trace of it: Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/shinken/daemons/arbiterdaemon.py", line 438, in main
self.load_config_file()
File "/usr/lib/python2.6/site-packages/shinken/daemons/arbiterdaemon.py", line 337, in load_config_file
self.conf.pythonize()
File "/usr/lib/python2.6/site-packages/shinken/objects/config.py", line 1287, in pythonize
super(Config, self).pythonize()
File "/usr/lib/python2.6/site-packages/shinken/objects/item.py", line 190, in pythonize
err = "ERROR : the property '%s' of '%s' do not have value" % (prop, self.get_name())
AttributeError: 'Config' object has no attribute 'get_name'

Traceback (most recent call last):
File "/usr/bin/shinken-arbiter", line 101, in
daemon.main()
File "/usr/lib/python2.6/site-packages/shinken/daemons/arbiterdaemon.py", line 438, in main
self.load_config_file()
File "/usr/lib/python2.6/site-packages/shinken/daemons/arbiterdaemon.py", line 337, in load_config_file
self.conf.pythonize()
File "/usr/lib/python2.6/site-packages/shinken/objects/config.py", line 1287, in pythonize
super(Config, self).pythonize()
File "/usr/lib/python2.6/site-packages/shinken/objects/item.py", line 190, in pythonize
err = "ERROR : the property '%s' of '%s' do not have value" % (prop, self.get_name())
AttributeError: 'Config' object has no attribute 'get_name'