Gunnar Beutner
9a0107d360
Fix memory/thread leak in the HttpServerConnection class
...
fixes #10655
2016-02-23 09:38:23 +01:00
Gunnar Beutner
b6a799d53e
Ensure that HttpServerConnections are properly closed
...
fixes #10655
2016-02-23 09:38:05 +01:00
Gunnar Beutner
6cd931726d
Fix crash in ConfigItem::RunWithActivationContext
...
fixes #11085
2016-02-23 09:36:17 +01:00
Gunnar Beutner
b3b2eb856b
Make sure the "syncing" attribute is set to false
...
refs #11083
2016-02-23 09:35:57 +01:00
Michael Friedrich
a7142252fa
Ensure that config sync updates are always sent on reconnect
...
fixes #11083
2016-02-23 09:35:47 +01:00
Michael Friedrich
b58ddfb158
Implement String#trim
...
fixes #11037
2016-02-23 09:35:05 +01:00
Michael Friedrich
9141855454
Fix incorrect --version information
...
fixes #10784
2016-02-23 09:34:50 +01:00
Gunnar Beutner
a2cbe1a0d5
Improve performance for TlsStream::OnEvent
...
refs #11014
2016-02-23 09:34:20 +01:00
Gunnar Beutner
3b4fc69fab
Fix crash in IdoCheckTask::ScriptFunc
...
refs #11014
2016-02-23 09:33:47 +01:00
Gunnar Beutner
1fe27e55e9
Use multiple threads for socket IO
...
refs #11014
2016-02-23 09:33:45 +01:00
Gunnar Beutner
4fdc7042d6
Remove debug log message
...
refs #11014
2016-02-23 09:33:02 +01:00
Gunnar Beutner
d36c3d4066
Avoid unnecessary pollfd updates
...
refs #11014
2016-02-23 09:33:01 +01:00
Gunnar Beutner
0fbbe620f9
Increase the buffer size in TlsStream::OnEvent to avoid unnecessary poll() calls
...
refs #11014
2016-02-23 09:32:38 +01:00
Gunnar Beutner
60181e0abb
Fix deadlock in HttpClientConnection::DataAvailableHandler
...
refs #11014
2016-02-23 09:32:38 +01:00
Gunnar Beutner
4565a1fdb8
Fix incorrect memcpy() with overlapping buffers
...
refs #11014
2016-02-23 09:32:38 +01:00
Gunnar Beutner
4ae0681ffa
Fix incorrect method call in JsonRpcConnection::MessageHandler
...
refs #11014
2016-02-23 09:32:38 +01:00
Gunnar Beutner
f3ab63b60e
Avoid unnecessary new/deletes
...
refs #11014
2016-02-23 09:32:37 +01:00
Gunnar Beutner
55720f3005
Fix deadlock in {HttpServerConnection,JsonRpcConnection}::DataAvailableHandler
...
refs #11014
2016-02-23 09:32:36 +01:00
Michael Friedrich
a49f8f142e
Remove debug output, part 2
...
refs #11014
2016-02-23 09:31:52 +01:00
Michael Friedrich
186b52082a
Remove debug output
...
refs #11014
2016-02-23 09:31:52 +01:00
Gunnar Beutner
fe79c54df6
Avoid unnecessary reallocs in FIFO::Optimize
...
refs #11014
2016-02-23 09:31:52 +01:00
Gunnar Beutner
211fc5ad53
Avoid unnecessary dictionary lookups in SocketEvents::ThreadProc
...
refs #11014
2016-02-23 09:31:52 +01:00
Gunnar Beutner
d474877add
Remove debug output
...
refs #11014
2016-02-23 09:31:52 +01:00
Gunnar Beutner
579d0049f3
Avoid unnecessary wake-ups in SocketEvents::ChangeEvents (part 2)
...
refs #11014
2016-02-23 09:31:52 +01:00
Gunnar Beutner
77abfed873
Avoid updating the file descriptor list for poll() unless we really need to
...
refs #11014
2016-02-23 09:31:52 +01:00
Gunnar Beutner
85c962a587
Decode cluster messages in the WorkQueue threads
...
refs #11014
2016-02-23 09:31:52 +01:00
Gunnar Beutner
d1b705613d
Use multiple WorkQueues to process cluster messages
...
refs #11014
2016-02-23 09:31:52 +01:00
Gunnar Beutner
864cdee8d9
Improve performance for ApiListener::RelayMessageOne
...
refs #11014
2016-02-23 09:31:52 +01:00
Gunnar Beutner
f9efc2ffe7
Improve the performance for ApiListener::SyncRelayMessage (part 2)
...
refs #11014
2016-02-23 09:31:52 +01:00
Gunnar Beutner
0d5592a615
Improve performance for ApiListener::SyncRelayMessage
...
refs #11014
2016-02-23 09:31:52 +01:00
Gunnar Beutner
e7a1c83004
Ignore the .timestamp file when determining whether the zone config has changed (second attempt)
...
refs #11014
2016-02-23 09:31:51 +01:00
Gunnar Beutner
12b5e332e4
Ignore the .timestamp file when determining whether the zone config has changed
...
refs #11014
2016-02-23 09:31:51 +01:00
Gunnar Beutner
b7a152ef48
Make sure the updated config sync works with old versions of Icinga 2
...
refs #11014
2016-02-23 09:31:51 +01:00
Gunnar Beutner
c6be1c90aa
Make sure the .timestamp file is synced for config updates
...
refs #11014
2016-02-23 09:31:51 +01:00
Michael Friedrich
8859242c5b
Fix cluster config timestamp again
...
refs #11014
2016-02-23 09:31:51 +01:00
Michael Friedrich
f7df3beb38
Fix cluster config sync timestamp
...
refs #11014
2016-02-23 09:31:51 +01:00
Gunnar Beutner
fbc638e0b8
Make sure we only have one connection per satellite
...
refs #11014
2016-02-23 09:31:51 +01:00
Gunnar Beutner
5c23beb6a9
Use MkDirP instead of MkDir when syncing zone configs
...
fixes #10932
2016-02-23 09:28:37 +01:00
Claudio Kuenzler
a19527f109
Fix mongodb CheckCommand
...
Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>
fixes #10979
2016-02-23 09:28:15 +01:00
Sebastian Brückner
0f93bfe3ed
Add timeout to snmpv3 check
...
Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>
fixes #10920
2016-02-23 09:27:45 +01:00
Lee Clemens
ea2aedba3c
Reload logs after logrotate across distros
...
Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>
fixes #10935
2016-02-23 09:27:30 +01:00
Michael Friedrich
37dfc2dc9c
Documentation: Fix missing SUSE repository for monitoring plugins
...
fixes #10806
2016-02-23 09:27:05 +01:00
Mathieu Lutfy
4e8ca34d9a
Documentation: Fix typos in troubleshooting.
...
Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>
fixes #10908
2016-02-23 09:26:39 +01:00
Dirk Goetz
bbfc734df4
Only execute chcon if selinux is enabled and use full context
...
fixes #10773
2016-02-23 09:26:25 +01:00
Eduard Güldner
1c37f5929a
Added exclude parameter in disk-windows CheckCommand
...
Added missing command parameter in definition for disk-windows CheckCommand
in order to be able to exclude certain drives from being checked.
This parameter was addressed in feature #9201
Further details can be found in feature #10787
Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>
fixes #10787
2016-02-23 09:26:07 +01:00
Michael Friedrich
91e1e9d93e
Use a work queue for replaying the cluster log
...
refs #10713
2016-02-23 09:25:48 +01:00
Gunnar Beutner
93834623a0
Fix incorrect return value for ApiListener::GetInstance
...
refs #10711
2016-02-23 09:25:35 +01:00
Michael Friedrich
eda28b219d
Improve performance for Zone::CanAccessObject
...
fixes #10711
2016-02-23 09:25:27 +01:00
Michael Friedrich
9dc37c58ea
DB IDO: Only update 'next_check' column when manually scheduling a check
...
Otherwise the changes from #7287 already take care of setting
the proper next check time from inside ProcessCheckResult().
There is no need to use the generic OnNextCheckChanged signal
but instead we're using a new one, locally just for DB IDO.
fixes #11019
2016-02-23 09:25:05 +01:00
Michael Friedrich
9ca7245c18
Properly set the next check time for active and passive checks
...
fixes #7287
refs #11019
2016-02-23 09:24:57 +01:00