[icinga-checkins] icinga.org: icinga-core/mfriedrich/ido: idoutils: add is_in_effect and trigger_time to scheduleddowntime and downtimehistory tables #2539 - MF

git at icinga.org git at icinga.org
Tue Apr 24 17:31:39 CEST 2012


Module: icinga-core
Branch: mfriedrich/ido
Commit: b7a29ac4ceaf8a409e2c39657094b547d95111c9
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=b7a29ac4ceaf8a409e2c39657094b547d95111c9

Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Mon Apr 23 02:06:38 2012 +0200

idoutils: add is_in_effect and trigger_time to scheduleddowntime and downtimehistory tables #2539 - MF

requires change on doing neb callback after
having fetched all necessary data when
starting/triggering a downtime.

all 3 rdbms get scheduleddowntime and
downtimehistory populated.

db sqls and upgrade scripts require tests!

refs #2537
refs #2539

---

 Changelog                                          |    3 +
 common/downtime.c                                  |    8 +-
 module/idoutils/db/mysql/mysql.sql                 |    4 +
 .../db/mysql/upgrade/mysql-upgrade-1.7.0.sql       |   15 +-
 .../db/oracle/create_icinga_objects_oracle.sql     |    8 +-
 .../db/oracle/upgrade/oracle-upgrade-1.7.0.sql     |   10 +
 module/idoutils/db/pgsql/pgsql.sql                 |    4 +
 .../db/pgsql/upgrade/pgsql-upgrade-1.7.0.sql       |    9 +
 module/idoutils/include/protoapi.h                 |    4 +-
 module/idoutils/src/db.c                           |   27 ++-
 module/idoutils/src/dbhandlers.c                   |   86 ++++++--
 module/idoutils/src/dbqueries.c                    |  248 ++++++++++++--------
 module/idoutils/src/idomod.c                       |    6 +-
 13 files changed, 297 insertions(+), 135 deletions(-)

Diff:   https://git.icinga.org/?p=icinga-core.git;a=commitdiff;h=b7a29ac4ceaf8a409e2c39657094b547d95111c9




More information about the icinga-checkins mailing list