> On 06 Feb 2016, at 23:55, Jay Newman <jay.new...@esentire.com> wrote: > > Hello, all. > I notice in the Icinga2 startup log, that I am getting a lot of warning > messages similar to below. It appears that the warning is raised because a > comment still exists for a host that has been removed. > Icinga2 still starts up, but my question is whether the comment objects > eventually get removed during a configuration reload, or if there is a way > from the web interface to remove “orphaned” comments? > > warning/ConfigObject: Ignoring config object 'master1-1453247014-2' of type > 'Comment' due to errors: Error: Validation failed for object > 'cyclops-0435!racetrack!master1-1453247014-2' of type 'Comment'; Attribute > 'host_name': Object 'cyclops-0435' of type 'Host' does not exist. > Location: in > /var/lib/icinga2/api/packages/_api/master1-1451568458-1/conf.d/comments/cyclops-0435!racetrack!master1-1453247014-2.conf: > 1:0-1:52 > /var/lib/icinga2/api/packages/_api/master1-1451568458-1/conf.d/comments/cyclops-0435!racetrack!master1-1453247014-2.conf(1): > object Comment "master1-1453247014-2" ignore_on_error { > > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > /var/lib/icinga2/api/packages/_api/master1-1451568458-1/conf.d/comments/cyclops-0435!racetrack!master1-1453247014-2.conf(2): > author = "molurotimi" > /var/lib/icinga2/api/packages/_api/master1-1451568458-1/conf.d/comments/cyclops-0435!racetrack!master1-1453247014-2.conf(3): > entry_type = 4.000000
There’s a ticket open to purge that in housekeeping fashion. Meanwhile a manual rm -f solves your issue. https://dev.icinga.org/issues/10717 Kind regards, Michael > > > Cheers, > Jay Newman > > _______________________________________________ > icinga-users mailing list > icinga-users@lists.icinga.org > https://lists.icinga.org/mailman/listinfo/icinga-users -- Michael Friedrich, DI (FH) Senior Developer NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg Tel: +49 911 92885-0 | Fax: +49 911 92885-77 CEO: Julian Hein, Bernd Erk | AG Nuernberg HRB18461 http://www.netways.de | michael.friedr...@netways.de ** OSDC 2016 - April - netways.de/osdc ** ** OSBConf 2016 - September - osbconf.org ** _______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users