]>
granicus.if.org Git - icinga2/log
Gunnar Beutner [Thu, 5 Mar 2015 06:42:13 +0000 (07:42 +0100)]
Remove the macro argument for IMPL_TYPE_LOOKUP
fixes #8599
Gunnar Beutner [Wed, 4 Mar 2015 15:41:53 +0000 (16:41 +0100)]
Fix compiler warning in Process::Run
Gunnar Beutner [Wed, 4 Mar 2015 11:03:35 +0000 (12:03 +0100)]
Implement support for the 'Limit' column in Livestatus
fixes #8529
Gunnar Beutner [Wed, 4 Mar 2015 09:58:22 +0000 (10:58 +0100)]
Improve Livestatus query performance
fixes #8594
Gunnar Beutner [Wed, 4 Mar 2015 09:43:01 +0000 (10:43 +0100)]
Add -fno-fat-lto-objects to the compiler flags when ICINGA2_LTO_BUILD is enabled
Gunnar Beutner [Wed, 4 Mar 2015 08:12:57 +0000 (09:12 +0100)]
Don't discard config validators
Gunnar Beutner [Wed, 4 Mar 2015 07:57:20 +0000 (08:57 +0100)]
Add a CMake variable for -flto
Gunnar Beutner [Wed, 4 Mar 2015 07:26:15 +0000 (08:26 +0100)]
Fix some compile warnings
Gunnar Beutner [Wed, 4 Mar 2015 07:22:14 +0000 (08:22 +0100)]
Fix memory leak when evaluating init.conf
refs #8593
Gunnar Beutner [Wed, 4 Mar 2015 07:00:38 +0000 (08:00 +0100)]
Fix a memory leak in *Expression::GetReference
fixes #8593
Gunnar Beutner [Tue, 3 Mar 2015 13:40:05 +0000 (14:40 +0100)]
Fix lag calculation for the 'cluster-zone' check
Gunnar Beutner [Tue, 3 Mar 2015 12:53:11 +0000 (13:53 +0100)]
Include GDB backtrace in crash reports
fixes #8575
Gunnar Beutner [Tue, 3 Mar 2015 09:22:21 +0000 (10:22 +0100)]
Fix: else if doesn't work without an else branch
fixes #8572
Gunnar Beutner [Tue, 3 Mar 2015 08:56:38 +0000 (09:56 +0100)]
Fix validator for TimePeriod ranges
fixes #8568
Gunnar Beutner [Tue, 3 Mar 2015 08:52:13 +0000 (09:52 +0100)]
Fix start condition for downtimes
fixes #8560
Gunnar Beutner [Tue, 3 Mar 2015 08:26:21 +0000 (09:26 +0100)]
Add VERIFY check in Utility::ExecuteDeferredInitializers
Coverity Bug ID:
1167738
Gunnar Beutner [Tue, 3 Mar 2015 08:24:21 +0000 (09:24 +0100)]
Fix crash when Utility::BaseName fails
Coverity Bug ID:
1167735
Gunnar Beutner [Tue, 3 Mar 2015 08:23:38 +0000 (09:23 +0100)]
Fix crash when specifying invalid argument for --autocomplete
Coverity Bug ID:
1167734
Gunnar Beutner [Tue, 3 Mar 2015 08:16:53 +0000 (09:16 +0100)]
Remove redundant error check in Utility::GetTime
Coverity Bug ID:
1167732
Gunnar Beutner [Tue, 3 Mar 2015 08:14:15 +0000 (09:14 +0100)]
Fix uninitialized field in the CheckerComponent class
Gunnar Beutner [Tue, 3 Mar 2015 06:36:43 +0000 (07:36 +0100)]
Fix file descriptor leak in SetDaemonIO
Gunnar Beutner [Tue, 3 Mar 2015 06:18:47 +0000 (07:18 +0100)]
Remove the return type for Utility::LoadExtensionLibrary
Gunnar Beutner [Mon, 2 Mar 2015 16:19:41 +0000 (17:19 +0100)]
Use _exit instead of Exit in Application::SetResourceLimits
Jean Flach [Mon, 2 Mar 2015 15:37:07 +0000 (16:37 +0100)]
Americaniz(s)e colo(u)r in troubleshoot cli
Michael Friedrich [Mon, 2 Mar 2015 15:20:22 +0000 (16:20 +0100)]
Fix deadlock in DB IDO and external command events
refs #8511
Michael Friedrich [Mon, 2 Mar 2015 14:28:02 +0000 (15:28 +0100)]
Fix troubleshooting cli hint text
refs #3446
Michael Friedrich [Mon, 2 Mar 2015 13:37:58 +0000 (14:37 +0100)]
Fix output formatting in troubleshoot cli command
refs #3446
Michael Friedrich [Mon, 2 Mar 2015 13:10:26 +0000 (14:10 +0100)]
Fix compiler warnings
Jason Young [Sun, 1 Mar 2015 16:04:48 +0000 (11:04 -0500)]
Update PerfdataValue::Parse to ignore invalid warn, crit, min, and max values
... instead of generating exception so that metric values can
still be passed to the graphing backend.
Also update icinga-perfdata tests to reflect these changes.
refs #5043
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
Gunnar Beutner [Mon, 2 Mar 2015 12:32:08 +0000 (13:32 +0100)]
Remove unused variable in PkiUtility::SignCsr
Gunnar Beutner [Mon, 2 Mar 2015 12:30:37 +0000 (13:30 +0100)]
Remove unnecessary SubStr call
Gunnar Beutner [Mon, 2 Mar 2015 12:23:26 +0000 (13:23 +0100)]
Remove redundant checks in check_service
Gunnar Beutner [Mon, 2 Mar 2015 12:22:37 +0000 (13:22 +0100)]
Remove redundant checks in check_procs
Gunnar Beutner [Mon, 2 Mar 2015 12:20:31 +0000 (13:20 +0100)]
Remove redundant checks
Gunnar Beutner [Mon, 2 Mar 2015 12:18:08 +0000 (13:18 +0100)]
Remove redundant check
Gunnar Beutner [Mon, 2 Mar 2015 12:13:57 +0000 (13:13 +0100)]
Remove unused variable
Jean-Marcel Flach [Mon, 2 Mar 2015 12:16:53 +0000 (13:16 +0100)]
Add more colour to troubleshoot cli
Gunnar Beutner [Mon, 2 Mar 2015 11:55:48 +0000 (12:55 +0100)]
Implement the assignment operator for the Value class
Gunnar Beutner [Mon, 2 Mar 2015 11:52:37 +0000 (12:52 +0100)]
Remove unused variables
Gunnar Beutner [Mon, 2 Mar 2015 11:51:11 +0000 (12:51 +0100)]
Fix incorrect operator in Value::operator^
Gunnar Beutner [Mon, 2 Mar 2015 11:46:16 +0000 (12:46 +0100)]
Fix incorrect header length check in NetString::ReadStringFromStream
Gunnar Beutner [Mon, 2 Mar 2015 11:44:52 +0000 (12:44 +0100)]
Fix incorrect assignment in Logger::EnableConsoleLog
Gunnar Beutner [Mon, 2 Mar 2015 11:44:15 +0000 (12:44 +0100)]
Remove redundant function
Gunnar Beutner [Mon, 2 Mar 2015 11:42:33 +0000 (12:42 +0100)]
Make copy constructor private for the Log class
Gunnar Beutner [Mon, 2 Mar 2015 11:41:02 +0000 (12:41 +0100)]
Fix incorrect return type for Application::Run
Gunnar Beutner [Mon, 2 Mar 2015 11:40:02 +0000 (12:40 +0100)]
Fix incorrect format specifier for fprintf
Jean-Marcel Flach [Mon, 2 Mar 2015 11:35:58 +0000 (12:35 +0100)]
Fix whitespace
Jean-Marcel Flach [Mon, 2 Mar 2015 11:17:34 +0000 (12:17 +0100)]
Work on troubleshoot cli
Changes the format timestamps are displayed.
--include-vars and --include-objects now print to console if --console
is given.
Also fixes two memory leaks.
fixes #8564 #8563
refs 3446
Gunnar Beutner [Mon, 2 Mar 2015 09:10:46 +0000 (10:10 +0100)]
Fix incorrect assignment in PluginUtility::ExecuteCommand
Coverity Bug ID:
1272344
Gunnar Beutner [Mon, 2 Mar 2015 09:09:21 +0000 (10:09 +0100)]
Fix uninitialized fields in the StreamLogger class
Coverity Bug ID:
1272329
Gunnar Beutner [Mon, 2 Mar 2015 09:07:27 +0000 (10:07 +0100)]
Fix uninitialized field in the LivestatusScriptFrame class
Coverity Bug ID:
1272326
Gunnar Beutner [Mon, 2 Mar 2015 09:00:09 +0000 (10:00 +0100)]
Fix uninitialized field in the LivestatusQuery class
Coverity Bug ID:
1272325
Gunnar Beutner [Mon, 2 Mar 2015 08:58:29 +0000 (09:58 +0100)]
Fix uninitialized field in the Checkable class
Coverity Bug ID:
1272323
Gunnar Beutner [Mon, 2 Mar 2015 08:57:19 +0000 (09:57 +0100)]
Fix uninitialized field in the ScriptError class
Coverity Bug ID:
1272322
Gunnar Beutner [Mon, 2 Mar 2015 08:56:09 +0000 (09:56 +0100)]
Fix uninitialized field in the ApiListener class
Coverity Bug ID:
1272321
Gunnar Beutner [Mon, 2 Mar 2015 08:54:00 +0000 (09:54 +0100)]
Remove unreachable code
Coverity Bug ID:
1272319
Gunnar Beutner [Mon, 2 Mar 2015 08:51:24 +0000 (09:51 +0100)]
Fix leak in SocketEvents::Threadproc
Coverity Bug ID:
1272338
Gunnar Beutner [Mon, 2 Mar 2015 08:46:41 +0000 (09:46 +0100)]
Fix uninitialized fields
Coverity Bug ID:
1272331
Gunnar Beutner [Mon, 2 Mar 2015 08:41:18 +0000 (09:41 +0100)]
Fix uninitialized variable in DaemonUtility::ValidateConfigFiles
Coverity bug ID:
1272330
Jean-Marcel Flach [Mon, 2 Mar 2015 08:35:04 +0000 (09:35 +0100)]
Add message concerning file compression to troubleshoot cli
Gunnar Beutner [Mon, 2 Mar 2015 06:34:11 +0000 (07:34 +0100)]
Add missing fclose() in mkembedconfig
Paul Richards [Sun, 1 Mar 2015 21:23:36 +0000 (21:23 +0000)]
Fix: check_memory tool shows incorrect memory size on windows
On a PC with >4GB of RAM, check_memory utility returns
an incorrect amount of RAM:
MEMORY OK - 100% free | memory=4096MB;;;0;4096
This patch uses GlobalMemoryStatusEx instead of GlobalMemoryStatus
[https://msdn.microsoft.com/en-us/library/windows/desktop/
aa366586 %28v=vs.85%29.aspx]
Following patch output of check_memory is as follows:
MEMORY OK - 32.4873% free | memory=5312MB;;;0;16351
fixes #8559
Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
Gunnar Beutner [Sun, 1 Mar 2015 21:25:14 +0000 (22:25 +0100)]
Make sure the WQ status timer is stopped properly
refs #8550
Gunnar Beutner [Sun, 1 Mar 2015 14:29:57 +0000 (15:29 +0100)]
Add --gc-sections to the linker flags
Gunnar Beutner [Sun, 1 Mar 2015 00:27:42 +0000 (01:27 +0100)]
Enable unity builds by default
Gunnar Beutner [Sat, 28 Feb 2015 07:43:49 +0000 (08:43 +0100)]
Fix another crash in Timer::Call
fixes #8550
Gunnar Beutner [Fri, 27 Feb 2015 19:18:20 +0000 (20:18 +0100)]
Refactor the API timeout timer
refs #8554
Gunnar Beutner [Fri, 27 Feb 2015 18:54:41 +0000 (19:54 +0100)]
Make sure that the timeout timer gets destroyed properly
refs #8554
Gunnar Beutner [Fri, 27 Feb 2015 17:31:37 +0000 (18:31 +0100)]
Use the main threadpool to disconnect API clients
refs #8554
Gunnar Beutner [Fri, 27 Feb 2015 17:29:21 +0000 (18:29 +0100)]
Fix a deadlock in WorkQueue::WorkerThreadProc
refs #8554
Gunnar Beutner [Fri, 27 Feb 2015 15:44:33 +0000 (16:44 +0100)]
Fix a crash in Timer::Reschedule
refs #8554
Gunnar Beutner [Fri, 27 Feb 2015 14:53:38 +0000 (15:53 +0100)]
Fix crash in SocketEvents::ThreadProc
fixes #8554
Jean-Marcel Flach [Fri, 27 Feb 2015 14:12:45 +0000 (15:12 +0100)]
Fix whitespace
Jean-Marcel Flach [Thu, 26 Feb 2015 16:09:45 +0000 (17:09 +0100)]
Use RequestShutdown with exitcode instead of Application::Exit
fixes #8436
Gunnar Beutner [Fri, 27 Feb 2015 13:09:46 +0000 (14:09 +0100)]
Fix null pointer dereference in ApiClient::TimeoutTimerHandler
fixes #8553
Jean-Marcel Flach [Fri, 27 Feb 2015 13:09:26 +0000 (14:09 +0100)]
Add colours to troubleshoot cli
refs #3446
Gunnar Beutner [Fri, 27 Feb 2015 13:07:12 +0000 (14:07 +0100)]
Fix a crash in Timer::Call
fixes #8473
Gunnar Beutner [Fri, 27 Feb 2015 08:03:23 +0000 (09:03 +0100)]
Fix another potential hang in TlsStream::Handshake
refs #8550
Gunnar Beutner [Thu, 26 Feb 2015 16:23:06 +0000 (17:23 +0100)]
Fix a deadlock in ApiClient::Disconnect
fixes #8549
Gunnar Beutner [Thu, 26 Feb 2015 13:59:39 +0000 (14:59 +0100)]
Don't send heartbeats during log replay
fixes #8461
refs #8485
Gunnar Beutner [Thu, 26 Feb 2015 12:50:25 +0000 (13:50 +0100)]
Implement 'else if'
fixes #8548
Jean Flach [Thu, 26 Feb 2015 12:37:15 +0000 (13:37 +0100)]
Update documentation
Gunnar Beutner [Thu, 26 Feb 2015 12:30:59 +0000 (13:30 +0100)]
Fix a crash in ApiClient::TimeoutTimerHandler
refs #8485
Jean-Marcel Flach [Thu, 26 Feb 2015 12:29:55 +0000 (13:29 +0100)]
Change behaviour of troubleshoot cli parameters
Gunnar Beutner [Thu, 26 Feb 2015 12:11:50 +0000 (13:11 +0100)]
Fix another crash in SocketEvents::Register
fixes #8547
Gunnar Beutner [Thu, 26 Feb 2015 12:09:13 +0000 (13:09 +0100)]
Improve log message for cluster connection timeouts
refs #8485
Jean-Marcel Flach [Thu, 26 Feb 2015 11:40:49 +0000 (12:40 +0100)]
Add --include-vars and --include-objects troubleshoot cli
refs #3446
Gunnar Beutner [Thu, 26 Feb 2015 11:41:47 +0000 (12:41 +0100)]
Close client connections if we haven't received any messages in some time
refs #8485
Gunnar Beutner [Thu, 26 Feb 2015 10:25:01 +0000 (11:25 +0100)]
Make sure that the 'connecting' flag is reset properly
refs #8485
Michael Friedrich [Thu, 26 Feb 2015 10:04:57 +0000 (11:04 +0100)]
Fix Livestatus tests on Windows
fixes #8486
Gunnar Beutner [Thu, 26 Feb 2015 08:02:45 +0000 (09:02 +0100)]
Build fix for Windows
refs #8486
Jean-Marcel Flach [Wed, 25 Feb 2015 14:39:17 +0000 (15:39 +0100)]
Remove --include-objects option from troubleshoot for now
Jean Flach [Wed, 25 Feb 2015 14:33:11 +0000 (15:33 +0100)]
Update troubleshoot documentation with manual steps
Michael Friedrich [Wed, 25 Feb 2015 14:28:30 +0000 (15:28 +0100)]
Documentation: Fix missing livestatus tables
refs #7361
Gunnar Beutner [Wed, 25 Feb 2015 14:18:35 +0000 (15:18 +0100)]
Make sure that the scheduled start time for downtimes isn't ignored
fixes #6959
Jean Flach [Wed, 25 Feb 2015 14:01:03 +0000 (15:01 +0100)]
Add documentation for the troubleshoot command
refs #3446
Gunnar Beutner [Wed, 25 Feb 2015 13:35:49 +0000 (14:35 +0100)]
Fix a crash in TlsStream::Close
fixes #8537
Michael Friedrich [Wed, 25 Feb 2015 13:11:59 +0000 (14:11 +0100)]
Change Livestatus query log level to 'notice'
fixes #8527
Gunnar Beutner [Wed, 25 Feb 2015 13:05:31 +0000 (14:05 +0100)]
Fix valgrind warning in ExternalCommandListener::CommandPipeThread
fixes #8536
Jean-Marcel Flach [Wed, 25 Feb 2015 13:03:15 +0000 (14:03 +0100)]
Fix a missing import