]>
granicus.if.org Git - icinga2/log
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
Gunnar Beutner [Wed, 25 Feb 2015 12:59:18 +0000 (13:59 +0100)]
Fix null pointer dereference in ApiEvents::RepositoryTimerHandler
fixes #8535
Jean-Marcel Flach [Wed, 25 Feb 2015 12:49:41 +0000 (13:49 +0100)]
Fix some whitespace
Gunnar Beutner [Wed, 25 Feb 2015 12:21:38 +0000 (13:21 +0100)]
Fix another problem where Icinga doesn't detect that a cluster connection is dead
refs #8485
Blerim Sheqa [Wed, 25 Feb 2015 08:52:45 +0000 (09:52 +0100)]
Add check command for check_webinject
fixes #8429
Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
Gunnar Beutner [Wed, 25 Feb 2015 11:43:03 +0000 (12:43 +0100)]
Make sure that Notification objects are activated after Host/Service objects
fixes #8517
Jean-Marcel Flach [Wed, 25 Feb 2015 10:08:05 +0000 (11:08 +0100)]
Fix troubleshoot not writing everything to file
Gunnar Beutner [Wed, 25 Feb 2015 09:17:26 +0000 (10:17 +0100)]
Add a new test script to the ITL
Jean-Marcel Flach [Wed, 25 Feb 2015 08:51:31 +0000 (09:51 +0100)]
Rename troubleshootCollectCommand to troubleshootCommand
Gunnar Beutner [Wed, 25 Feb 2015 08:30:51 +0000 (09:30 +0100)]
Change file type for ido-*.conf to config in the RPM spec file
fixes #8397
Gunnar Beutner [Tue, 24 Feb 2015 20:56:32 +0000 (21:56 +0100)]
Replace spaces with tabs in command-plugins.conf
fixes #8520
Gunnar Beutner [Tue, 24 Feb 2015 20:52:47 +0000 (21:52 +0100)]
Merge branch 'Freeaqingme-snmpCheckCommandOptions'
fixes #8498
Dolf Schimmel (Freeaqingme) [Tue, 24 Feb 2015 20:41:29 +0000 (21:41 +0100)]
Add .mailmap alias for Freeaqingme
refs #8498
Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
Dolf Schimmel (Freeaqingme) [Tue, 24 Feb 2015 20:07:53 +0000 (21:07 +0100)]
Add documentation for the new SNMP ITL custom attributes
refs #8498
Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
Dolf Schimmel (Freeaqingme) [Sat, 21 Feb 2015 13:25:15 +0000 (14:25 +0100)]
ITL: Add support for GETNEXT in SNMP CheckCommand
refs #8498
Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
Dolf Schimmel (Freeaqingme) [Fri, 20 Feb 2015 20:33:52 +0000 (21:33 +0100)]
ITL: Implement various options for the 'snmp' CheckCommand, including mib-list
refs #8498
Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
Gunnar Beutner [Tue, 24 Feb 2015 16:51:16 +0000 (17:51 +0100)]
Don't convert loop variables to string when using apply-for
fixes #8519
Tobias von der Krone [Tue, 24 Feb 2015 15:36:05 +0000 (16:36 +0100)]
Remove leading slash and extra blank line in constants.conf.cmake
refs #7209
Gunnar Beutner [Tue, 24 Feb 2015 15:03:32 +0000 (16:03 +0100)]
Add missing locks in ApiListener::UpdateConfigDir
Gunnar Beutner [Tue, 24 Feb 2015 12:45:36 +0000 (13:45 +0100)]
Implement support for the 'Changelog' custom field in changelog.py
Gunnar Beutner [Tue, 24 Feb 2015 11:52:10 +0000 (12:52 +0100)]
Fix crash in 'icinga2 console'
fixes #8516
Gunnar Beutner [Tue, 24 Feb 2015 08:27:37 +0000 (09:27 +0100)]
Improve output formatting for the 'cluster-zone' check
refs #8515
Gunnar Beutner [Tue, 24 Feb 2015 08:14:17 +0000 (09:14 +0100)]
Show slave lag for the cluster-zone check
fixes #8515
Gunnar Beutner [Tue, 24 Feb 2015 08:08:31 +0000 (09:08 +0100)]
Implement the get_time() function
Gunnar Beutner [Tue, 24 Feb 2015 07:31:14 +0000 (08:31 +0100)]
Prevent unnecessary thread wake-ups
refs #8485
Gunnar Beutner [Tue, 24 Feb 2015 06:11:22 +0000 (07:11 +0100)]
Fix another potential problem where TLS connection might get stalled
refs #8485
Michael Friedrich [Mon, 23 Feb 2015 21:29:46 +0000 (22:29 +0100)]
Docs: Fix typo
Gunnar Beutner [Mon, 23 Feb 2015 14:35:12 +0000 (15:35 +0100)]
Rename the PluginsContribDir constant to PluginContribDir
fixes #8509
Gunnar Beutner [Mon, 23 Feb 2015 14:24:07 +0000 (15:24 +0100)]
Make sure to not ignore fields which are set to an empty string
fixes #8496
Michael Friedrich [Mon, 23 Feb 2015 13:43:44 +0000 (14:43 +0100)]
Docs: Fix typo
refs #8467
Gunnar Beutner [Mon, 23 Feb 2015 13:29:17 +0000 (14:29 +0100)]
Add validator for the 'ignore_soft_states' attribute
refs #7326
Gunnar Beutner [Mon, 23 Feb 2015 13:06:32 +0000 (14:06 +0100)]
Implement the 'is_inside' attribute for the TimePeriod type
refs #8467
Gunnar Beutner [Mon, 23 Feb 2015 12:56:53 +0000 (13:56 +0100)]
Implement the 'get_time_period' function
refs #8467
Gunnar Beutner [Mon, 23 Feb 2015 12:54:18 +0000 (13:54 +0100)]
Add more arguments for the 'udp' check command
fixes #8410
Tobias von der Krone [Sat, 21 Feb 2015 21:08:04 +0000 (22:08 +0100)]
Add check command "ipmi-sensor"
Add the check command "ipmi-sensor" in plugings-contrib and its documentation.
fixes #8414
Michael Friedrich [Sat, 7 Feb 2015 23:30:58 +0000 (00:30 +0100)]
Add 'ignore_soft_states' attribute to Dependency objects
fixes #7326
Gunnar Beutner [Sat, 21 Feb 2015 12:19:04 +0000 (13:19 +0100)]
Fix off-by-one mistake in error reporting for 'icinga2 console'
fixes #8500