I need to get back to you with a question.
I attempt upgrading master nodes from v2.6.2 to v.2.8.4 by following the upgrade procedure:
Icinga2 update went well, now I have latest version (that is in the Icinga2 repository):
icinga2 - The Icinga 2 network monitoring daemon (version: r2.8.4-1)
I have adjusted /etc/icinga2 to match directives in the latest version, checking also from github repo:
MySQL update went fine as well:
mysql -u root -p icinga < /usr/share/icinga2-ido-mysql/schema/upgrade/2.8.0.sql
mysql -u root -p icinga < /usr/share/icinga2-ido-mysql/schema/upgrade/2.8.1.sql
First attempt to restart icinga2 throw in the logs:
critical/config: Error: Object 'generic-host' of type 'Host' re-defined:
Next, I commented out:
Next attempt to restart icinga2, new error thrown:
critical/config: Error: Validation failed for object 'NODE_NAMEt!ping!Service notification' of type 'Notification'; Attribute 'command': Object 'mail-service-notification' of type 'NotificationCommand' does not exist.
The object “mail-service-notification” is defined in ./conf.d/commands.conf, but because I have uncommented it in the icinga2.conf it is no longer taken into consideration now.
What do I miss? Please advise…
Thanks a lot.