Except I'm seeing a new problem now: [2017-02-23 18:05:00 -0500] critical/Downtime: Object cannot be deleted because it was not created using the API. [2017-02-23 18:05:00 -0500] warning/ExternalCommandListener: External command failed: Erro r: Could not remove downtime.
This happens when the expire time has passed. It happens if Icinga was reloaded at some point between creating the downtime and trying to remove the downtime. It does not happen if no reload has occurred since the downtime was created. On Thu, Feb 23, 2017 at 2:10 PM, Rob DeSanno <rdesa...@gmail.com> wrote: > Fantastic! > > On Feb 23, 2017, 5:01 PM -0500, Michael Martinez <mwt...@gmail.com>, wrote: > > Hi Rob, thanks for the info. > Actually I was able to fix it by appending the following in icinga2.conf: > > include_recursive "/var/lib/icinga2/api/packages/_api/conf.d" > > > > On Thu, Feb 23, 2017 at 1:47 PM, Rob DeSanno <rdesa...@gmail.com> wrote: > > I had this same exact problem too and the only way I found to resolve it was > to blow the install / db away and reinstall from scratch. The only downside, > aside from the time it takes to reinstall, was the loss of our history but > that was acceptable compared to not having consistent downtimes. > > https://github.com/Icinga/icinga2/issues/4747 > > On Feb 23, 2017, 3:48 PM -0500, Michael Martinez <mwt...@gmail.com>, wrote: > > HEre are the contents of my /var/lib/icinga2/api directory: > > [root@ec2 icinga101 api]$ pwd > /media/ephemeral0/icinga2/var/lib/icinga2/api > [root@ec2 icinga101 api]$ !find > find . -path '*downtimes*' -prune -o -path '*comments*' -prune -o -type f > ./packages/_api/conf.d/downtimes > ./packages/_api/conf.d/comments > > On Thu, Feb 23, 2017 at 12:30 PM, Michael Martinez <mwt...@gmail.com> wrote: > > Is there any way to make the scheduled Downtimes persistent between > doing a reload? They disappear every time a reload occurs. > > -- > --- > Michael Martinez > http://www.michael--martinez.com > > > > > -- > --- > Michael Martinez > http://www.michael--martinez.com > _______________________________________________ > icinga-users mailing list > icinga-users@lists.icinga.org > https://lists.icinga.org/mailman/listinfo/icinga-users > > > _______________________________________________ > icinga-users mailing list > icinga-users@lists.icinga.org > https://lists.icinga.org/mailman/listinfo/icinga-users > > > > > -- > --- > Michael Martinez > http://www.michael--martinez.com > _______________________________________________ > icinga-users mailing list > icinga-users@lists.icinga.org > https://lists.icinga.org/mailman/listinfo/icinga-users > > > _______________________________________________ > icinga-users mailing list > icinga-users@lists.icinga.org > https://lists.icinga.org/mailman/listinfo/icinga-users > -- --- Michael Martinez http://www.michael--martinez.com _______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users