Commit Graph

8098 Commits

Author SHA1 Message Date
Michael Friedrich 1c816ac9ad Update documentation (troubleshooting, monitor Icinga 2, configs, integrations, etc.)
fixes #5137
fixes #5140
fixes #1880
fixes #5142
fixes #5144
2017-04-05 20:13:32 +02:00
Jean Flach 966c2a4602 Fix CMake handling of openssl 1.1.0
fixes #5141
2017-04-05 17:51:20 +02:00
Jean Flach 1459970986 Add missing header
fixes #5135
2017-04-05 10:26:54 +02:00
Dirk Goetz 7608acd0e2 improve systemd service file 2017-04-04 09:27:19 +02:00
Jean Flach 273c893a77 Fix hiredis being built when not needed
fixes #5125
2017-04-03 16:20:00 +02:00
Michael Friedrich 46900cea3c Fix duration attribute requirement for schedule-downtime API action
fixes #5111
2017-03-31 10:34:07 +02:00
Michael Friedrich 8842aa9b0c Add network requirement to init script
fixes #4921
2017-03-30 18:47:04 +02:00
Yannick Charton 4f5b546d27 Update link for the NSCP documentation
fixes #5104

Signed-off-by: Gunnar Beutner <gunnar.beutner@icinga.com>
2017-03-30 11:48:48 +02:00
Gunnar Beutner e13f6f1ea8 Update Chocolatey package metadata
refs #5100
2017-03-30 09:59:15 +02:00
Gunnar Beutner 8c6fb425c6 Fix incorrect metadata for the Chocolatey package
fixes #5101
2017-03-29 12:21:46 +02:00
Thomas Gelf ed2ebdf0d0 RedisWriter: publish Icinga 2 stats as a simple "keepalive"
Use case: a reader subscribes to config changes. As they happen rarely, chances
are good that the connection will time out in the meantime. Now, a reconnect is
easy - but you wouldn't know whether you missed any config changes. So you are
required to issue a new sync to be on the safe side. Given a 60sec connection
timeout (think: SSL layer, firewalls etc) when no traffic happens this would be
too expensive.

Some kind of a heartbeat available for subscription would allow subscribers to
artificially keep the connection alive. As a first simple solution to this I'd
suggest to publish CIB data, that might be useful anyways.

refs #4991
fixes #5098

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-03-29 10:17:03 +02:00
Michael Friedrich 2f84ff84b2 Fix object deletion on restart
refs #4991
2017-03-29 10:17:03 +02:00
Michael Friedrich f76f655dc1 Rename source file
refs #4991
2017-03-29 10:17:03 +02:00
Michael Friedrich af3e2c429f Add exception handler for Redis WorkQueue
refs #4991
2017-03-29 10:17:03 +02:00
Michael Friedrich a5556cbaae Add log message for config/status dump end for Redis
refs #4991
2017-03-29 10:17:03 +02:00
Michael Friedrich 91b8decaac Fix possible crash on startup status updates in Redis
refs #4991
2017-03-29 10:17:03 +02:00
Michael Friedrich 3310cc30ae Fix hash value for empty custom attributes
refs #4991
2017-03-29 10:17:03 +02:00
Gunnar Beutner 9de4c8bc58 Fix memory leak in RedisWriter::ExecuteQuery
refs #4991
2017-03-29 10:17:03 +02:00
Gunnar Beutner dac9775b93 Add COUNT parameter for SCAN
refs #4991
2017-03-29 10:17:03 +02:00
Gunnar Beutner 28b2345a3b Updated remaining queries to use ExecuteQuery()
refs #4991
2017-03-29 10:17:03 +02:00
Gunnar Beutner 844e2bf68c Replace existing queries with ExecuteQuery() calls
refs #4991
2017-03-29 10:17:03 +02:00
Michael Friedrich fcd9e3666d Implement config dump/update/delete publishing; fix runtime created object creation
refs #4991
2017-03-29 10:17:03 +02:00
Gunnar Beutner 75bfd775b9 Implement RedisWriter::ExecuteQuery
refs #4991
2017-03-29 10:17:03 +02:00
Michael Friedrich f29a82bcfe Add properties and vars config checksums
refs #4991
2017-03-29 10:17:03 +02:00
Gunnar Beutner 6178ca3886 Use GetHostService() instead of casts
refs #4991
2017-03-29 10:17:03 +02:00
Gunnar Beutner 6b48a36192 Implement the db_index property for the RedisWriter class
fixes #5081
2017-03-29 10:17:03 +02:00
Gunnar Beutner 1bbdd082b0 Use transactions for the initial config and status updates
refs #4991
2017-03-29 10:17:03 +02:00
Gunnar Beutner c64d296edb Make sure to use pretty-printed checksums in JSON blobs; remove semicolons
refs #4991
2017-03-29 10:17:03 +02:00
Gunnar Beutner 2d9be77260 Clean up the code a bit
refs #4991
2017-03-29 10:17:03 +02:00
Gunnar Beutner 0c25d14d0c Fix crash in SHA1
refs #4991
2017-03-29 10:17:03 +02:00
Gunnar Beutner 2773d93d40 Update log message
refs #4991
2017-03-29 10:17:03 +02:00
Michael Friedrich 0b466aabc0 Start working on checksum config dump
refs #4991
2017-03-29 10:17:03 +02:00
Gunnar Beutner 6e70e2ddf0 Merge branch 'support/2.6' 2017-03-29 10:00:00 +02:00
Gunnar Beutner ce92ddf592 Release version 2.6.3 2017-03-29 09:59:21 +02:00
Gunnar Beutner f3fdf6f98c Release version 2.6.3 2017-03-29 09:55:49 +02:00
Michael Friedrich ea5160ebb1 Docs: Fix wrong code block formatting
refs #4955
2017-03-28 15:37:06 +02:00
Michael Friedrich 6903f5e034 Docs: Fix wrong code block formatting
refs #4955
2017-03-28 15:36:16 +02:00
Michael Friedrich 0273886bcf Docs: Review contributed plugin check commands (URLs, description details)
fixes #4955
2017-03-28 15:31:44 +02:00
Michael Friedrich f0cfeb9fee Docs: Review contributed plugin check commands (URLs, description details)
fixes #4955
2017-03-28 15:26:02 +02:00
Gunnar Beutner 50310fb5bc Add missing arguments
refs #5087
2017-03-28 13:24:21 +02:00
Michael Friedrich 900b33dc5d IDO: Do not terminate Icinga 2 if the database schema version does not match
Instead, log an error and continue.

fixes #4440
2017-03-28 10:16:07 +02:00
Gunnar Beutner 39ca1b8460 Fix: The last example for typeof() is missing the result
fixes #5097
2017-03-28 09:06:27 +02:00
Gunnar Beutner 5d45c74be3 Improve function metadata by adding arguments
fixes #5087
2017-03-27 14:43:19 +02:00
Michael Friedrich 42f6dfc859 Fix logging for discarded cluster messages
fixes #4930
2017-03-27 11:18:28 +02:00
Gunnar Beutner 95093bae3e Move log message
refs #5094
2017-03-27 11:01:14 +02:00
Gunnar Beutner a73c1580ca Don't try to remove comments that were statically configured
fixes #5094
2017-03-27 10:46:35 +02:00
Gunnar Beutner 2d6434e96a Improve log message in ConfigObjectUtility::DeleteObjectHelper
refs #5094
2017-03-27 10:46:35 +02:00
Michael Friedrich b3354266f3 IDO: Fix where condition for downtime history updates
fixes #5080
2017-03-27 10:15:09 +02:00
Dirk Goetz f169232ef2 ITL: Fix mitigation attribute for nwc_health
fixes #5075

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-03-22 11:15:58 +01:00
Gunnar Beutner 14f3ee8024 Ensure that only child processes for checks are reniced
fixes #4989
2017-03-22 10:47:34 +01:00