Closed icinga-migration closed 7 years ago
Updated by peter_m on 2016-03-28 19:47:15 +00:00
I just realized that by removing the symbolic link in /etc/icinga2/features-enabled/ido-mysql.conf isn't an option because then icinga2 thinks the feature isn't enabled.
root@host# icinga2 feature list
Disabled features: api gelf graphite icingastatus ido-mysql livestatus opentsdb perfdata syslog
Enabled features: checker command compatlog debuglog mainlog notification statusdata
Should I just manually modify /etc/icinga2/features-available/ido-mysql.conf?
Updated by vkhatri on 2016-04-17 07:45:22 +00:00
Feature ido-mysql
disabled in recipe server_ido_schema
. Closing.
This is still a problem for us. I simply added a line to empty the contents of the ido-mysql.conf file in /etc/icinga2/features-enabled/ido-mysql.conf
This issue has been migrated from Redmine: https://dev.icinga.com/issues/11463
Created by peter_m on 2016-03-28 19:26:40 +00:00
Assignee: vkhatri Status: Assigned Target Version: (none) Last Update: 2016-04-17 07:45:22 +00:00 (in Redmine)
Ubuntu 14.04 using the latest commit of the chef-icinga2 cookbook.
I am using the LWRP icinga2_idomysqlconnection to create /etc/icinga2/objects.d/ido-mysql.conf. The icinga2 service fails to start and I get the following error:
critical/config: Error: Object 'ido-mysql' of type 'IdoMysqlConnection' re-defined: in /etc/icinga2/objects.d/ido-mysql.conf: 12:1-12:37; previous definition: in /etc/icinga2/features-enabled/ido-mysql.conf: 12:1-12:37
/var/log/icinga2/startup.log
Am I supposed to manually delete the symbolic link in /etc/icinga2/features-enabled/ido-mysql.conf?
MY WRAPPER COOKBOOK:
Berksfile
metadata.rb
attributes/default.rb
recipes/install.rb
The load_schema works so if I manually delete the symbolic link in /etc/icinga2/features-enabled/ido-mysql.conf, the service starts successfully.
/var/log/icinga2/startup.log
/var/log/icinga2/icinga2.log
Thanks!
Peter