Commit Graph

201 Commits

Author SHA1 Message Date
Gunnar Beutner 16ef84fd35 Use TypeInstance field instead of looking up types by name
fixes #8817
2015-03-20 08:15:07 +01:00
Gunnar Beutner dae206e899 Move the base command templates into libmethods
fixes #8775
2015-03-17 08:19:31 +01:00
Gunnar Beutner 100eb0cf8a Don't update custom vars for each status update
fixes #8736
2015-03-13 13:46:00 +01:00
Gunnar Beutner cd20044e4f Implement the pending_queries metric for the IDO check task
refs #8688
2015-03-13 12:00:30 +01:00
Gunnar Beutner c996fbb5c4 Build fix
refs #8688
2015-03-12 13:44:17 +01:00
Gunnar Beutner 52b33f560f Improve output for the ido check task
refs #8688
2015-03-12 11:51:02 +01:00
Gunnar Beutner a4d37132bf Implement a check for IDO database connections
fixes #8688
2015-03-12 10:19:12 +01:00
Gunnar Beutner 94fde1a6b2 Add support for using the 1.12.0 IDO database schema
fixes #8689
2015-03-12 10:19:12 +01:00
Gunnar Beutner 3046ad5d5e Fix incorrect value for the process_performance_data column in the icinga_hosts table
fixes #8544
2015-03-09 08:12:05 +01:00
Michael Friedrich c61134d55a Fix deadlock in DB IDO and external command events
refs #8511
2015-03-02 16:20:22 +01:00
Michael Friedrich 4a64d4991b DB IDO: Fix {host,service}checks command_line value is "Object of type 'icinga::Array'"
fixes #8438
2015-02-15 00:24:05 +01:00
Michael Friedrich 48fa1a1418 DB IDO: Fix duplicate entries in scheduleddowntime table
fixes #8425
2015-02-12 13:19:27 +01:00
Michael Friedrich 19c374040e Fix missing persistent_comment, notify_contact columns for acknowledgement table
fixes #7871
refs #8298
2015-02-07 23:24:16 +01:00
Michael Friedrich bb2338631f Fix last_hard_state missing in StatusDataWriter
fixes #8383
2015-02-07 19:37:35 +01:00
Gunnar Beutner 1a23ae94f9 Implement support for updating the program_end_time column
fixes #6923
2015-02-04 15:25:10 +01:00
Gunnar Beutner e7938c9374 Fix crash in DbConnection::ProgramStatusHandler
fixes #8288
2015-01-27 09:53:07 +01:00
Michael Friedrich 78bfd0204c Update copyright year 2015-01-22 12:00:23 +01:00
Gunnar Beutner 363f23b1d8 Rename ScriptFunction to Function
fixes #8258
2015-01-21 08:48:38 +01:00
Gunnar Beutner 9f18211ada Remove obsolete code
refs #7709
2014-12-18 15:57:30 +01:00
Gunnar Beutner 873e294158 Refactor the WorkQueue class to make error reporting easier
refs #7709
2014-12-18 15:11:57 +01:00
Gunnar Beutner 1cb0231c05 Refactor how variable scopes work
refs #8074
2014-12-14 11:33:45 +01:00
Michael Friedrich d11286e9a5 DB IDO: Update child object reachability if parentchanges to !{OK,UP}
fixes #7683
2014-12-12 16:12:05 +01:00
Michael Friedrich 868d403a8a DB IDO: Missing last_hard_state column update in {host,service}status tables
fixes #8058
2014-12-12 13:25:10 +01:00
Gunnar Beutner 2d53e000c8 Refactor the config validator so that it doesn't require serialized objects
refs #7701
2014-11-20 13:28:21 +01:00
Gunnar Beutner 7321e45abc Implement support for executing remote commands
fixes #7559
2014-11-13 14:54:55 +01:00
Gunnar Beutner e52b2b6509 Fix incorrect IDO queries
fixes #7634
2014-11-11 16:36:20 +01:00
Gunnar Beutner 11710ef683 Fix static initializers
refs #7634
2014-11-11 13:24:44 +01:00
Jean Flach 0ba2efe97f Fix some Ido initialization bugs
refs #7625
2014-11-11 10:04:37 +01:00
Gunnar Beutner 4df3fd4451 Add missing category type for some IDO queries
fixes #7625
2014-11-10 13:21:33 +01:00
Gunnar Beutner 478f03b49a Replace boost::shared_ptr with boost::intrusive_ptr
refs #7622
2014-11-09 16:54:41 +01:00
Gunnar Beutner 684ad2641a Fix GetInstance() methods for the DbType and config validator registry classes 2014-11-09 13:06:25 +01:00
Gunnar Beutner 9e2aa4c5ed Fix problem with unresolved symbols
refs #7561
2014-11-07 18:37:28 +01:00
Michael Friedrich 58d5c42d9c DB IDO: Dump custom attributes as json encoded arrays/dictionaries; add 'is_json' column
refs #7560
2014-11-04 13:47:45 +01:00
Gunnar Beutner 170c5a59e4 Implement typeof() function 2014-11-03 00:45:14 +01:00
Gunnar Beutner 4677014b6d Implement support for arrays in custom variables
fixes #6544
2014-11-02 07:27:50 +01:00
Gunnar Beutner 9368ff0e03 Update some more log messages 2014-10-20 10:09:57 +02:00
Gunnar Beutner 2d5e9514a5 Refactor logging code 2014-10-19 17:52:17 +02:00
Gunnar Beutner b18f57a745 Remove logger_fwd.hpp 2014-10-19 14:50:39 +02:00
Gunnar Beutner 92896311f3 Implement support for C/C++ comments in the TI compiler
fixes #5018
2014-10-17 19:44:31 +02:00
Michael Friedrich 3fd20d56aa DB IDO: Add program_version column to programstatus table
Bump schema version to 1.11.8

fixes #7391
2014-10-16 12:11:10 +02:00
Gunnar Beutner 6f2ea6bc08 Fix build problems with Oracle Solaris Studio
refs #6896
2014-09-02 13:09:17 +02:00
Gunnar Beutner eb091a87b0 Implement support for unity builds
fixes #7034
fixes #7035
2014-08-30 20:02:12 +02:00
Gunnar Beutner 65bec9e904 Clean up some parts of the code 2014-08-17 17:57:41 +02:00
Michael Friedrich e52848b923 DB IDO: Fix failover_timeout config validator
refs #6827
2014-08-15 17:50:38 +02:00
Michael Friedrich 1c98a3a9f7 DB IDO: Add failover_timeout attribute
refs #6827
2014-08-15 17:21:12 +02:00
Michael Friedrich f6c24f8964 DB IDO: Delay connection in HA RunOnce mode
refs #6827
refs #6203
2014-08-15 17:21:12 +02:00
Michael Friedrich d326678e76 DB IDO: Add 'enable_ha' configuration flag
This feature is true by default. If disabled all cluster nodes in a high
availability zone will write to their own local database.

TODO: documentation, tests.

refs #6827
refs #6203
2014-08-15 17:21:12 +02:00
Gunnar Beutner a098fe804b Fix duplicate rows in icinga_objects
fixes #6414
2014-07-16 10:20:01 +02:00
Michael Friedrich 4bfa068e46 Change log message identifier for libdb_ido.
Refs #6346
2014-05-28 14:42:01 +02:00
Gunnar Beutner 632026cd9f Rename C++ header files.
Fixes #6291
2014-05-25 16:27:14 +02:00