]> granicus.if.org Git - icinga2/log
icinga2
9 years agoRemove an unnecessary temporary variable
Gunnar Beutner [Tue, 10 Mar 2015 14:23:27 +0000 (15:23 +0100)]
Remove an unnecessary temporary variable

9 years agoFix documentation for -DICINGA2_GIT_VERSION_INFO
Louis Sautier [Tue, 10 Mar 2015 13:09:14 +0000 (14:09 +0100)]
Fix documentation for -DICINGA2_GIT_VERSION_INFO

fixes #8667

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
9 years agoAllow some of the Array and Dictionary methods to be inlined by the compiler
Gunnar Beutner [Tue, 10 Mar 2015 12:45:29 +0000 (13:45 +0100)]
Allow some of the Array and Dictionary methods to be inlined by the compiler

fixes #8666

9 years agoFix path for the icinga2 binary in the documentation
Gunnar Beutner [Tue, 10 Mar 2015 08:53:33 +0000 (09:53 +0100)]
Fix path for the icinga2 binary in the documentation

9 years agoFix check_disk thresholds: make sure partitions are the last arguments
Louis Sautier [Mon, 9 Mar 2015 14:11:25 +0000 (15:11 +0100)]
Fix check_disk thresholds: make sure partitions are the last arguments

fixes #8658

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
9 years agoFix missing program name in 'icinga2 --version'
Gunnar Beutner [Mon, 9 Mar 2015 14:02:53 +0000 (15:02 +0100)]
Fix missing program name in 'icinga2 --version'

fixes #8657

9 years agoRelease version 2.3.0 v2.3.0
Gunnar Beutner [Mon, 9 Mar 2015 11:52:05 +0000 (12:52 +0100)]
Release version 2.3.0

9 years agochangelog.py: Convert Windows new-lines to UNIX new-lines
Gunnar Beutner [Mon, 9 Mar 2015 11:47:01 +0000 (12:47 +0100)]
changelog.py: Convert Windows new-lines to UNIX new-lines

9 years agoDocument closures
Gunnar Beutner [Mon, 9 Mar 2015 10:18:18 +0000 (11:18 +0100)]
Document closures

fixes #8648

9 years agoReplace tabs with spaces in the documentation examples
Gunnar Beutner [Mon, 9 Mar 2015 10:18:05 +0000 (11:18 +0100)]
Replace tabs with spaces in the documentation examples

9 years agoAdd -fvisibility-inlines-hidden to the C/CXX flags when available
Gunnar Beutner [Mon, 9 Mar 2015 08:49:55 +0000 (09:49 +0100)]
Add -fvisibility-inlines-hidden to the C/CXX flags when available

9 years agoDon't accept config updates for zones for which we have an authoritative copy of...
Gunnar Beutner [Mon, 9 Mar 2015 07:43:46 +0000 (08:43 +0100)]
Don't accept config updates for zones for which we have an authoritative copy of the config

fixes #8555

9 years agoFix incorrect value for the process_performance_data column in the icinga_hosts table
Gunnar Beutner [Mon, 9 Mar 2015 07:12:05 +0000 (08:12 +0100)]
Fix incorrect value for the process_performance_data column in the icinga_hosts table

fixes #8544

9 years agoFix validator for dependencies
Gunnar Beutner [Mon, 9 Mar 2015 07:04:18 +0000 (08:04 +0100)]
Fix validator for dependencies

fixes #8596

9 years agoAdd validator for time ranges in ScheduledDowntime objects
Gunnar Beutner [Mon, 9 Mar 2015 06:51:55 +0000 (07:51 +0100)]
Add validator for time ranges in ScheduledDowntime objects

fixes #8600

9 years agoRemove incorrect VERIFY
Gunnar Beutner [Mon, 9 Mar 2015 05:51:22 +0000 (06:51 +0100)]
Remove incorrect VERIFY

fixes #8628

9 years agoUpdate AUTHORS
Gunnar Beutner [Mon, 9 Mar 2015 05:41:56 +0000 (06:41 +0100)]
Update AUTHORS

9 years agoFix a spelling error
Louis Sautier [Sun, 8 Mar 2015 21:34:31 +0000 (22:34 +0100)]
Fix a spelling error

fixes #8638

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
9 years agoImprove support for the Value class in the natvis extension
Gunnar Beutner [Sun, 8 Mar 2015 19:34:25 +0000 (20:34 +0100)]
Improve support for the Value class in the natvis extension

9 years agoUpdate documentation links
Gunnar Beutner [Sun, 8 Mar 2015 10:34:59 +0000 (11:34 +0100)]
Update documentation links

9 years agoRemove duplicate chapter and fix chapter headings
Gunnar Beutner [Sun, 8 Mar 2015 10:32:49 +0000 (11:32 +0100)]
Remove duplicate chapter and fix chapter headings

9 years agoDocumentation: Add wiki howto url for help updating the docs
Michael Friedrich [Sat, 7 Mar 2015 16:12:45 +0000 (17:12 +0100)]
Documentation: Add wiki howto url for help updating the docs

9 years agoDocumentation: Remove obsolete info
Michael Friedrich [Sat, 7 Mar 2015 15:26:09 +0000 (16:26 +0100)]
Documentation: Remove obsolete info

refs #8318

9 years agoDocumentation: Refactor RemoteClient/Cluster/etc from community&training feedback
Michael Friedrich [Sat, 7 Mar 2015 14:52:56 +0000 (15:52 +0100)]
Documentation: Refactor RemoteClient/Cluster/etc from community&training feedback

fixes #8318
fixes #8522
fixes #6858

9 years agoRemove unnecessary dynamic_casts
Gunnar Beutner [Sat, 7 Mar 2015 13:47:54 +0000 (14:47 +0100)]
Remove unnecessary dynamic_casts

9 years agoAdd check commands for NSClient++
Gunnar Beutner [Fri, 6 Mar 2015 12:08:42 +0000 (13:08 +0100)]
Add check commands for NSClient++

fixes #8621

9 years agoMove webinject documentation to the right chapter
Gunnar Beutner [Fri, 6 Mar 2015 11:44:50 +0000 (12:44 +0100)]
Move webinject documentation to the right chapter

9 years agoUpdate Window plugins' usage strings
Jean Flach [Fri, 6 Mar 2015 11:14:09 +0000 (12:14 +0100)]
Update Window plugins' usage strings

9 years agoFix second Deserialize() call in ApiEvents::ExecuteCommandAPIHandler
Gunnar Beutner [Fri, 6 Mar 2015 00:45:43 +0000 (01:45 +0100)]
Fix second Deserialize() call in ApiEvents::ExecuteCommandAPIHandler

refs #8117

9 years agoMake sure we don't evaluate apply rules for fake hosts used in agent checks
Gunnar Beutner [Thu, 5 Mar 2015 20:19:04 +0000 (21:19 +0100)]
Make sure we don't evaluate apply rules for fake hosts used in agent checks

fixes #8117

9 years agoAdd missing service name in check results
Gunnar Beutner [Thu, 5 Mar 2015 19:50:27 +0000 (20:50 +0100)]
Add missing service name in check results

refs #8257

9 years agoAdd check command definitions for the check_vmware_esx plugin
Carlos Cesario [Wed, 25 Feb 2015 12:32:22 +0000 (09:32 -0300)]
Add check command definitions for the check_vmware_esx plugin

fixes #6697

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
9 years agoAdd missing "return"s in Ido*Connection::Reconnect
Gunnar Beutner [Thu, 5 Mar 2015 14:57:46 +0000 (15:57 +0100)]
Add missing "return"s in Ido*Connection::Reconnect

9 years agoImplement SNI support for the TlsStream class
Gunnar Beutner [Thu, 5 Mar 2015 13:15:42 +0000 (14:15 +0100)]
Implement SNI support for the TlsStream class

fixes #8610

9 years agoFix incorrect debug hints for nested attributes
Gunnar Beutner [Thu, 5 Mar 2015 12:18:15 +0000 (13:18 +0100)]
Fix incorrect debug hints for nested attributes

fixes #8604

9 years agoRemove the macro argument for IMPL_TYPE_LOOKUP
Gunnar Beutner [Thu, 5 Mar 2015 06:42:13 +0000 (07:42 +0100)]
Remove the macro argument for IMPL_TYPE_LOOKUP

fixes #8599

9 years agoFix compiler warning in Process::Run
Gunnar Beutner [Wed, 4 Mar 2015 15:41:53 +0000 (16:41 +0100)]
Fix compiler warning in Process::Run

9 years agoImplement support for the 'Limit' column in Livestatus
Gunnar Beutner [Wed, 4 Mar 2015 11:03:35 +0000 (12:03 +0100)]
Implement support for the 'Limit' column in Livestatus

fixes #8529

9 years agoImprove Livestatus query performance
Gunnar Beutner [Wed, 4 Mar 2015 09:58:22 +0000 (10:58 +0100)]
Improve Livestatus query performance

fixes #8594

9 years agoAdd -fno-fat-lto-objects to the compiler flags when ICINGA2_LTO_BUILD is enabled
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

9 years agoDon't discard config validators
Gunnar Beutner [Wed, 4 Mar 2015 08:12:57 +0000 (09:12 +0100)]
Don't discard config validators

9 years agoAdd a CMake variable for -flto
Gunnar Beutner [Wed, 4 Mar 2015 07:57:20 +0000 (08:57 +0100)]
Add a CMake variable for -flto

9 years agoFix some compile warnings
Gunnar Beutner [Wed, 4 Mar 2015 07:26:15 +0000 (08:26 +0100)]
Fix some compile warnings

9 years agoFix memory leak when evaluating init.conf
Gunnar Beutner [Wed, 4 Mar 2015 07:22:14 +0000 (08:22 +0100)]
Fix memory leak when evaluating init.conf

refs #8593

9 years agoFix a memory leak in *Expression::GetReference
Gunnar Beutner [Wed, 4 Mar 2015 07:00:38 +0000 (08:00 +0100)]
Fix a memory leak in *Expression::GetReference

fixes #8593

9 years agoFix lag calculation for the 'cluster-zone' check
Gunnar Beutner [Tue, 3 Mar 2015 13:40:05 +0000 (14:40 +0100)]
Fix lag calculation for the 'cluster-zone' check

9 years agoInclude GDB backtrace in crash reports
Gunnar Beutner [Tue, 3 Mar 2015 12:53:11 +0000 (13:53 +0100)]
Include GDB backtrace in crash reports

fixes #8575

9 years agoFix: else if doesn't work without an else branch
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

9 years agoFix validator for TimePeriod ranges
Gunnar Beutner [Tue, 3 Mar 2015 08:56:38 +0000 (09:56 +0100)]
Fix validator for TimePeriod ranges

fixes #8568

9 years agoFix start condition for downtimes
Gunnar Beutner [Tue, 3 Mar 2015 08:52:13 +0000 (09:52 +0100)]
Fix start condition for downtimes

fixes #8560

9 years agoAdd VERIFY check in Utility::ExecuteDeferredInitializers
Gunnar Beutner [Tue, 3 Mar 2015 08:26:21 +0000 (09:26 +0100)]
Add VERIFY check in Utility::ExecuteDeferredInitializers

Coverity Bug ID: 1167738

9 years agoFix crash when Utility::BaseName fails
Gunnar Beutner [Tue, 3 Mar 2015 08:24:21 +0000 (09:24 +0100)]
Fix crash when Utility::BaseName fails

Coverity Bug ID: 1167735

9 years agoFix crash when specifying invalid argument for --autocomplete
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

9 years agoRemove redundant error check in Utility::GetTime
Gunnar Beutner [Tue, 3 Mar 2015 08:16:53 +0000 (09:16 +0100)]
Remove redundant error check in Utility::GetTime

Coverity Bug ID: 1167732

9 years agoFix uninitialized field in the CheckerComponent class
Gunnar Beutner [Tue, 3 Mar 2015 08:14:15 +0000 (09:14 +0100)]
Fix uninitialized field in the CheckerComponent class

9 years agoFix file descriptor leak in SetDaemonIO
Gunnar Beutner [Tue, 3 Mar 2015 06:36:43 +0000 (07:36 +0100)]
Fix file descriptor leak in SetDaemonIO

9 years agoRemove the return type for Utility::LoadExtensionLibrary
Gunnar Beutner [Tue, 3 Mar 2015 06:18:47 +0000 (07:18 +0100)]
Remove the return type for Utility::LoadExtensionLibrary

9 years agoUse _exit instead of Exit in Application::SetResourceLimits
Gunnar Beutner [Mon, 2 Mar 2015 16:19:41 +0000 (17:19 +0100)]
Use _exit instead of Exit in Application::SetResourceLimits

9 years agoAmericaniz(s)e colo(u)r in troubleshoot cli
Jean Flach [Mon, 2 Mar 2015 15:37:07 +0000 (16:37 +0100)]
Americaniz(s)e colo(u)r in troubleshoot cli

9 years agoFix deadlock in DB IDO and external command events
Michael Friedrich [Mon, 2 Mar 2015 15:20:22 +0000 (16:20 +0100)]
Fix deadlock in DB IDO and external command events

refs #8511

9 years agoFix troubleshooting cli hint text
Michael Friedrich [Mon, 2 Mar 2015 14:28:02 +0000 (15:28 +0100)]
Fix troubleshooting cli hint text

refs #3446

9 years agoFix output formatting in troubleshoot cli command
Michael Friedrich [Mon, 2 Mar 2015 13:37:58 +0000 (14:37 +0100)]
Fix output formatting in troubleshoot cli command

refs #3446

9 years agoFix compiler warnings
Michael Friedrich [Mon, 2 Mar 2015 13:10:26 +0000 (14:10 +0100)]
Fix compiler warnings

9 years agoUpdate PerfdataValue::Parse to ignore invalid warn, crit, min, and max values
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>
9 years agoRemove unused variable in PkiUtility::SignCsr
Gunnar Beutner [Mon, 2 Mar 2015 12:32:08 +0000 (13:32 +0100)]
Remove unused variable in PkiUtility::SignCsr

9 years agoRemove unnecessary SubStr call
Gunnar Beutner [Mon, 2 Mar 2015 12:30:37 +0000 (13:30 +0100)]
Remove unnecessary SubStr call

9 years agoRemove redundant checks in check_service
Gunnar Beutner [Mon, 2 Mar 2015 12:23:26 +0000 (13:23 +0100)]
Remove redundant checks in check_service

9 years agoRemove redundant checks in check_procs
Gunnar Beutner [Mon, 2 Mar 2015 12:22:37 +0000 (13:22 +0100)]
Remove redundant checks in check_procs

9 years agoRemove redundant checks
Gunnar Beutner [Mon, 2 Mar 2015 12:20:31 +0000 (13:20 +0100)]
Remove redundant checks

9 years agoRemove redundant check
Gunnar Beutner [Mon, 2 Mar 2015 12:18:08 +0000 (13:18 +0100)]
Remove redundant check

9 years agoRemove unused variable
Gunnar Beutner [Mon, 2 Mar 2015 12:13:57 +0000 (13:13 +0100)]
Remove unused variable

9 years agoAdd more colour to troubleshoot cli
Jean-Marcel Flach [Mon, 2 Mar 2015 12:16:53 +0000 (13:16 +0100)]
Add more colour to troubleshoot cli

9 years agoImplement the assignment operator for the Value class
Gunnar Beutner [Mon, 2 Mar 2015 11:55:48 +0000 (12:55 +0100)]
Implement the assignment operator for the Value class

9 years agoRemove unused variables
Gunnar Beutner [Mon, 2 Mar 2015 11:52:37 +0000 (12:52 +0100)]
Remove unused variables

9 years agoFix incorrect operator in Value::operator^
Gunnar Beutner [Mon, 2 Mar 2015 11:51:11 +0000 (12:51 +0100)]
Fix incorrect operator in Value::operator^

9 years agoFix incorrect header length check in NetString::ReadStringFromStream
Gunnar Beutner [Mon, 2 Mar 2015 11:46:16 +0000 (12:46 +0100)]
Fix incorrect header length check in NetString::ReadStringFromStream

9 years agoFix incorrect assignment in Logger::EnableConsoleLog
Gunnar Beutner [Mon, 2 Mar 2015 11:44:52 +0000 (12:44 +0100)]
Fix incorrect assignment in Logger::EnableConsoleLog

9 years agoRemove redundant function
Gunnar Beutner [Mon, 2 Mar 2015 11:44:15 +0000 (12:44 +0100)]
Remove redundant function

9 years agoMake copy constructor private for the Log class
Gunnar Beutner [Mon, 2 Mar 2015 11:42:33 +0000 (12:42 +0100)]
Make copy constructor private for the Log class

9 years agoFix incorrect return type for Application::Run
Gunnar Beutner [Mon, 2 Mar 2015 11:41:02 +0000 (12:41 +0100)]
Fix incorrect return type for Application::Run

9 years agoFix incorrect format specifier for fprintf
Gunnar Beutner [Mon, 2 Mar 2015 11:40:02 +0000 (12:40 +0100)]
Fix incorrect format specifier for fprintf

9 years agoFix whitespace
Jean-Marcel Flach [Mon, 2 Mar 2015 11:35:58 +0000 (12:35 +0100)]
Fix whitespace

9 years agoWork on troubleshoot cli
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

9 years agoFix incorrect assignment in PluginUtility::ExecuteCommand
Gunnar Beutner [Mon, 2 Mar 2015 09:10:46 +0000 (10:10 +0100)]
Fix incorrect assignment in PluginUtility::ExecuteCommand

Coverity Bug ID: 1272344

9 years agoFix uninitialized fields in the StreamLogger class
Gunnar Beutner [Mon, 2 Mar 2015 09:09:21 +0000 (10:09 +0100)]
Fix uninitialized fields in the StreamLogger class

Coverity Bug ID: 1272329

9 years agoFix uninitialized field in the LivestatusScriptFrame class
Gunnar Beutner [Mon, 2 Mar 2015 09:07:27 +0000 (10:07 +0100)]
Fix uninitialized field in the LivestatusScriptFrame class

Coverity Bug ID: 1272326

9 years agoFix uninitialized field in the LivestatusQuery class
Gunnar Beutner [Mon, 2 Mar 2015 09:00:09 +0000 (10:00 +0100)]
Fix uninitialized field in the LivestatusQuery class

Coverity Bug ID: 1272325

9 years agoFix uninitialized field in the Checkable class
Gunnar Beutner [Mon, 2 Mar 2015 08:58:29 +0000 (09:58 +0100)]
Fix uninitialized field in the Checkable class

Coverity Bug ID: 1272323

9 years agoFix uninitialized field in the ScriptError class
Gunnar Beutner [Mon, 2 Mar 2015 08:57:19 +0000 (09:57 +0100)]
Fix uninitialized field in the ScriptError class

Coverity Bug ID: 1272322

9 years agoFix uninitialized field in the ApiListener class
Gunnar Beutner [Mon, 2 Mar 2015 08:56:09 +0000 (09:56 +0100)]
Fix uninitialized field in the ApiListener class

Coverity Bug ID: 1272321

9 years agoRemove unreachable code
Gunnar Beutner [Mon, 2 Mar 2015 08:54:00 +0000 (09:54 +0100)]
Remove unreachable code

Coverity Bug ID: 1272319

9 years agoFix leak in SocketEvents::Threadproc
Gunnar Beutner [Mon, 2 Mar 2015 08:51:24 +0000 (09:51 +0100)]
Fix leak in SocketEvents::Threadproc

Coverity Bug ID: 1272338

9 years agoFix uninitialized fields
Gunnar Beutner [Mon, 2 Mar 2015 08:46:41 +0000 (09:46 +0100)]
Fix uninitialized fields

Coverity Bug ID: 1272331

9 years agoFix uninitialized variable in DaemonUtility::ValidateConfigFiles
Gunnar Beutner [Mon, 2 Mar 2015 08:41:18 +0000 (09:41 +0100)]
Fix uninitialized variable in DaemonUtility::ValidateConfigFiles

Coverity bug ID: 1272330

9 years agoAdd message concerning file compression to troubleshoot cli
Jean-Marcel Flach [Mon, 2 Mar 2015 08:35:04 +0000 (09:35 +0100)]
Add message concerning file compression to troubleshoot cli

9 years agoAdd missing fclose() in mkembedconfig
Gunnar Beutner [Mon, 2 Mar 2015 06:34:11 +0000 (07:34 +0100)]
Add missing fclose() in mkembedconfig

9 years agoFix: check_memory tool shows incorrect memory size on windows
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>
9 years agoMake sure the WQ status timer is stopped properly
Gunnar Beutner [Sun, 1 Mar 2015 21:25:14 +0000 (22:25 +0100)]
Make sure the WQ status timer is stopped properly

refs #8550

9 years agoAdd --gc-sections to the linker flags
Gunnar Beutner [Sun, 1 Mar 2015 14:29:57 +0000 (15:29 +0100)]
Add --gc-sections to the linker flags

9 years agoEnable unity builds by default
Gunnar Beutner [Sun, 1 Mar 2015 00:27:42 +0000 (01:27 +0100)]
Enable unity builds by default