naparuba/shinken — Issue #18: 'Servicedependency' object has no attribute 'host_name'
Author: Frescha
Created: 2011-10-28 18:04:01+00:00
State: open

This config verifies with nagios but not with shinken. Servicedependcy has hostgroup_name defined but no host_name:

'Servicedependency' object has no attribute 'host_name'
CRITICAL ERROR : I got an non recovarable 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 411, in main

self.load_config_file()

File "/usr/lib/python2.6/site-packages/shinken/daemons/arbiterdaemon.py", line 320, in load_config_file

self.conf.linkify()

File "/usr/lib/python2.6/site-packages/shinken/objects/config.py", line 663, in linkify

self.timeperiods)

File "/usr/lib/python2.6/site-packages/shinken/objects/servicedependency.py", line 134, in linkify

self.linkify_s_by_sd()

File "/usr/lib/python2.6/site-packages/shinken/objects/servicedependency.py", line 180, in linkify_s_by_sd

dsc.add_service_act_dependancy(sdval, sd.notification_failure_criteria, dp, sd.inherits_parent)

File "/usr/lib/python2.6/site-packages/shinken/objects/service.py", line 420, in add_service_act_dependancy

srv.act_depend_of_me.append( (self, status, 'logic_dep',

AttributeError?: 'unicode' object has no attribute 'act_depend_of_me'