8040 Commits

Author SHA1 Message Date
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 v2.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
Michael Friedrich
15395cab48 Fix wrong Logstash json plugin name in LogstashWriter docs
refs #5085
2017-03-20 16:30:38 +01:00
Michael Friedrich
e0d4e0de4a Merge pull request #5085 from Icinga/feature/logstash-4054
Add LogstashWriter feature

fixes #4054
2017-03-20 16:09:10 +01:00
Michael Friedrich
71d5ee7d41 Add documentation for the LogstashWriter feature
This includes Logstash and Icinga 2 configuration.

refs #4054
2017-03-20 16:04:06 +01:00
Michael Friedrich
bd5ff814f2 Review LogstashWriter feature implementation
refs #4054
2017-03-20 14:30:03 +01:00
Kai Goller
f5a971f5b0 Add LogstashWriter feature
This adds the UdpSocket class.

refs #4054
2017-03-20 14:30:03 +01:00
Michael Friedrich
06434b3e59 IDO: Fix where condition for downtime history updates
fixes #5080
2017-03-20 13:19:37 +01:00
Dirk Goetz
da980ac10e ITL: Update icingacli_businessprocess CheckCommand
fixes #4826

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-03-17 14:45:25 +01:00
Gunnar Beutner
94aeaa2e5c Don't use raw pointers in boost::bind
refs #4991
2017-03-16 15:33:59 +01:00