Skip to content
This repository has been archived by the owner on Jan 15, 2019. It is now read-only.

[dev.icinga.com #4808] ido2db does not clear scheduleddowntime table on instance startup #1352

Closed
icinga-migration opened this issue Oct 7, 2013 · 2 comments
Milestone

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/4808

Created by mfrosch on 2013-10-07 10:55:30 +00:00

Assignee: mfriedrich
Status: Resolved (closed on 2013-10-07 23:03:24 +00:00)
Target Version: 1.10
Last Update: 2014-12-08 14:38:17 +00:00 (in Redmine)

Icinga Version: 1.10.0
OS Version: any

ido2db does currently not clear downtimes in the database on startup of a instance:

            /* clear realtime data */
            /* don't clear necessary status tables on restart/reload of the core, as Icinga Web
               won't show any data then */
            /* ido2db_db_clear_table(idi, ido2db_db_tablenames[IDO2DB_DBTABLE_HOSTSTATUS]); */
            /* ido2db_db_clear_table(idi, ido2db_db_tablenames[IDO2DB_DBTABLE_SERVICESTATUS]); */
            /* ido2db_db_clear_table(idi, ido2db_db_tablenames[IDO2DB_DBTABLE_SCHEDULEDDOWNTIME]); */

Now the problem: when downtimes are no longer present in the retention data, they never get deleted from the database.

Icinga Web shows the downtimes, since they are still in the database. (previous web bug was #3822)

Changesets

2013-10-07 10:58:46 +00:00 by (unknown) ca38005

idoutils: fix ido2db does not clear scheduleddowntime table on instance startup

fixes #4808

Relations:

@icinga-migration
Copy link
Author

Updated by Anonymous on 2013-10-07 23:03:24 +00:00

  • Status changed from Assigned to Resolved
  • Done % changed from 0 to 100

Applied in changeset icinga-core:ca38005c6fdcb40cbd1e477bab26bd000eee57a8.

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2014-12-08 14:38:17 +00:00

  • Project changed from 18 to Core, Classic UI, IDOUtils
  • Category changed from 82 to IDOUtils
  • Icinga Version changed from 1 to 1
  • OS Version set to any

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant