Commit Graph

7015 Commits

Author SHA1 Message Date
Gunnar Beutner 365390b5f0 Build fix for CentOS 5
fixes #11179
2016-02-23 09:51:52 +01:00
Gunnar Beutner 9313373447 Rename the IOTHREADS macro
refs #11014
2016-02-23 09:51:47 +01:00
Thomas Widhalm fd0aa4a290 Add check_iostat to ITL
fixes #10777

Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>
2016-02-23 09:47:28 +01:00
Per von Zweigbergk 30f9a1e393 Fixed precision for percentage calculations with large units
The check_memory and check_swap plugins on Windows were incorrectly
rounding the memory/swap measurements to the nearest unit prior to
calculating a percentage. This was causing imprecise percentage
values when the unit selected meant that the values in question had
few significant figures.

fixes #10497

Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>
2016-02-23 09:47:19 +01:00
Jean Flach 4f253e53ea Document disk_ignore_reserved
fixes #11138
2016-02-23 09:46:56 +01:00
Jean Flach ecefcb5b6a Add -f option to check_disk CheckCommand
fixes #11138
2016-02-23 09:45:55 +01:00
Gunnar Beutner ed9a7bb129 Update AUTHORS
refs #10777
refs #11132
2016-02-23 09:45:34 +01:00
Adam James 998abbbae7 Fix parsing of YYYY-MM-DD in LegacyTimePeriod::ParseTimeSpec
fixes #11132

Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>
2016-02-23 09:45:34 +01:00
Michael Friedrich 2ec36d20ce DB IDO: PArtially revert change for *group_members
Otherwise the index breaks.

refs #11103
2016-02-23 09:45:10 +01:00
Michael Friedrich 2b643640a8 DB IDO: Fix problem with hostgroup_members cleanup
fixes #11103
2016-02-23 09:45:10 +01:00
Gunnar Beutner 80b8bdc640 Fix: Cluster WQ thread dies after fork()
fixes #11118
2016-02-23 09:44:44 +01:00
Michael Friedrich a30b112391 ApiListener: Bail out if object could not be created during config sync
refs #11006
2016-02-23 09:44:26 +01:00
Gunnar Beutner 2f948ca8ca Fix crash in ApiListener::ConfigUpdateObjectAPIHandler
fixes #11006
2016-02-23 09:44:26 +01:00
Jean Flach c1b4a8b757 Remove unused variables
fixes #11111
2016-02-23 09:44:05 +01:00
Jean Flach 9bc7f0ad75 Make schedule-downtime default fixed
fixes #10923
2016-02-23 09:43:53 +01:00
Michael Friedrich 7cbe1c46c9 Fix: Deleting an object via API does not disable it in DB IDO
fixes #11065
2016-02-23 09:43:41 +01:00
Gunnar Beutner 0dc6189f47 Build fix
fixes #11096
2016-02-23 09:43:18 +01:00
Michael Friedrich e3373ebfc5 Windows build fix
fixes #11096
2016-02-23 09:41:23 +01:00
Tobias Birnbaum 3b4099a536 Fix missing escaping in doc/7-icinga-template-library.md
There are several not properly escaped sequences in
doc/7-icinga-template-library.md
Namely these are missing backslashes in front of \n, \r, \t in various
occurrences. The make for example markup->latex conversion using pandoc
impossible.

fixes #11074

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2016-02-23 09:40:29 +01:00
Michael Friedrich 32c7e14e93 Update AUTHORS
refs #11074
refs #11075
2016-02-23 09:39:18 +01:00
Tobias Birnbaum daf876133f Docs: Fix outdated link to icingaweb2-module-nagvis
The link to icingaweb2-module-nagvis is pointing to an outdated
repository. This is fixed now by using the official Icinga-git
repository.

fixes #11075

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2016-02-23 09:39:18 +01:00
Michael Friedrich c3dc3e6ec6 Fix: API queries on non-existant objects cause exception
fixes #11088
2016-02-23 09:38:39 +01:00
Gunnar Beutner 8af6ad74c3 Fix memory leak in Stream::Close
refs #10655
2016-02-23 09:38:24 +01:00
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