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


Cheers,
Jay Newman

_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to