]> granicus.if.org Git - icinga2/log
icinga2
6 years agoMerge pull request #5893 from Icinga/fix/whitespace
Jean Flach [Wed, 20 Dec 2017 14:02:30 +0000 (15:02 +0100)]
Merge pull request #5893 from Icinga/fix/whitespace

Whitespace fix

6 years agoWhitespace fix 5893/head
Jean Flach [Tue, 19 Dec 2017 14:50:05 +0000 (15:50 +0100)]
Whitespace fix

What does this change?
* Remove use of spaces for formatting
These could be found by using `grep -r -l -P '^\t+ +[^*]'
* Removal of training whitespaces
* A few lines longer than 120 chars

6 years agoMerge pull request #5897 from Icinga/remove-inline
Gunnar Beutner [Wed, 20 Dec 2017 13:14:31 +0000 (14:14 +0100)]
Merge pull request #5897 from Icinga/remove-inline

Remove unnecessary inline statements

6 years agoMerge pull request #5892 from Icinga/feature/solaris-init
Michael Friedrich [Wed, 20 Dec 2017 13:10:39 +0000 (14:10 +0100)]
Merge pull request #5892 from Icinga/feature/solaris-init

Enable installing the init scripts on Solaris

6 years agoRemove unnecessary inline statements 5897/head
Jean Flach [Wed, 20 Dec 2017 12:22:38 +0000 (13:22 +0100)]
Remove unnecessary inline statements

fixes #5886

6 years agoMerge pull request #5894 from Icinga/remove-string_iless
Gunnar Beutner [Wed, 20 Dec 2017 10:33:39 +0000 (11:33 +0100)]
Merge pull request #5894 from Icinga/remove-string_iless

Remove string_iless

6 years agoRemove string_iless 5894/head
Jean Flach [Wed, 20 Dec 2017 10:18:28 +0000 (11:18 +0100)]
Remove string_iless

It's unused

6 years agoMerge pull request #5887 from Icinga/fix/windows-build-fix
Jean Flach [Wed, 20 Dec 2017 09:50:27 +0000 (10:50 +0100)]
Merge pull request #5887 from Icinga/fix/windows-build-fix

Windows build fix

6 years agoMerge pull request #5885 from Icinga/fix/build-fix-gcc
Jean Flach [Wed, 20 Dec 2017 08:59:45 +0000 (09:59 +0100)]
Merge pull request #5885 from Icinga/fix/build-fix-gcc

Workaround for GCC bug 61321

6 years agoMerge pull request #5805 from KAMI911/master
Michael Friedrich [Wed, 20 Dec 2017 08:48:41 +0000 (09:48 +0100)]
Merge pull request #5805 from KAMI911/master

Add support for LD_LIBRARY_PATH env variable in oracle_health ITL CheckCommand

6 years agoEnable installing the init scripts on Solaris 5892/head
Gunnar Beutner [Wed, 20 Dec 2017 07:44:06 +0000 (08:44 +0100)]
Enable installing the init scripts on Solaris

6 years agoMerge pull request #5871 from Icinga/feature/legacy-timerperiod-test
Gunnar Beutner [Wed, 20 Dec 2017 07:28:19 +0000 (08:28 +0100)]
Merge pull request #5871 from Icinga/feature/legacy-timerperiod-test

Unit tests for the LegacyTimePeriod class

6 years agoFix build errors 5871/head
Jean Flach [Fri, 15 Dec 2017 16:58:47 +0000 (17:58 +0100)]
Fix build errors

6 years agoImplement unit tests for the time period parser
Adam James [Wed, 11 May 2016 06:55:08 +0000 (08:55 +0200)]
Implement unit tests for the time period parser

fixes #11146

6 years agoFix for outdated libstdcxx 5885/head
Gunnar Beutner [Tue, 19 Dec 2017 16:03:53 +0000 (17:03 +0100)]
Fix for outdated libstdcxx

6 years agoWorkaround for GCC bug 51494
Gunnar Beutner [Tue, 19 Dec 2017 14:58:58 +0000 (15:58 +0100)]
Workaround for GCC bug 51494

6 years agoWorkaround for GCC bug 61321
Gunnar Beutner [Tue, 19 Dec 2017 07:42:24 +0000 (08:42 +0100)]
Workaround for GCC bug 61321

6 years agoWindows build fix 5887/head
Gunnar Beutner [Tue, 19 Dec 2017 14:00:09 +0000 (15:00 +0100)]
Windows build fix

6 years agoMerge pull request #5891 from Icinga/feature/update-gitignore
Gunnar Beutner [Wed, 20 Dec 2017 06:57:11 +0000 (07:57 +0100)]
Merge pull request #5891 from Icinga/feature/update-gitignore

Update .gitignore

6 years agoUpdate .gitignore 5891/head
Gunnar Beutner [Wed, 20 Dec 2017 06:56:04 +0000 (07:56 +0100)]
Update .gitignore

6 years agoMerge pull request #5889 from Icinga/fix/execvpe-indention
Gunnar Beutner [Wed, 20 Dec 2017 06:53:55 +0000 (07:53 +0100)]
Merge pull request #5889 from Icinga/fix/execvpe-indention

execvpe: Fixup indention for readability

6 years agoexecvpe: Fixup indention for readability 5889/head
Markus Frosch [Tue, 19 Dec 2017 15:36:03 +0000 (16:36 +0100)]
execvpe: Fixup indention for readability

The file was added with a mixed indention, now all are spaces.

Corresponding to the indented tabwidth of 2 and a sub-indention on curly
brackets.

6 years agoAdd support for LD_LIBRARY_PATH env variable in oracle_health ITL CheckCommand 5805/head
Kálmán Szalai - KAMI [Thu, 30 Nov 2017 07:12:07 +0000 (08:12 +0100)]
Add support for LD_LIBRARY_PATH env variable in oracle_health ITL CheckCommand

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
6 years agoMerge pull request #5717 from hrld/patch-1
Michael Friedrich [Tue, 19 Dec 2017 08:22:22 +0000 (09:22 +0100)]
Merge pull request #5717 from hrld/patch-1

add order tags to disk check

6 years agoMerge pull request #5882 from Icinga/feature/avoid-allocations
Michael Friedrich [Mon, 18 Dec 2017 16:11:27 +0000 (17:11 +0100)]
Merge pull request #5882 from Icinga/feature/avoid-allocations

Avoid unnecessary allocations

6 years agoAvoid unnecessary allocations for script frames 5882/head
Gunnar Beutner [Mon, 18 Dec 2017 09:30:20 +0000 (10:30 +0100)]
Avoid unnecessary allocations for script frames

6 years agoAvoid allocations in ScriptUtils::Match
Gunnar Beutner [Mon, 18 Dec 2017 08:58:55 +0000 (09:58 +0100)]
Avoid allocations in ScriptUtils::Match

6 years agoMerge pull request #5881 from Icinga/fix/api-package
Gunnar Beutner [Mon, 18 Dec 2017 10:30:07 +0000 (11:30 +0100)]
Merge pull request #5881 from Icinga/fix/api-package

Fix package error message

6 years agoFix package error message 5881/head
Jean Flach [Mon, 18 Dec 2017 10:04:40 +0000 (11:04 +0100)]
Fix package error message

fixes #5879

6 years agoMerge pull request #5757 from ekeih/doc/systemd-restart-5721
Michael Friedrich [Mon, 18 Dec 2017 08:57:45 +0000 (09:57 +0100)]
Merge pull request #5757 from ekeih/doc/systemd-restart-5721

Add documentation about automatic service restarts with systemd

6 years agoMerge pull request #5868 from Icinga/feature/expression-ptr
Michael Friedrich [Mon, 18 Dec 2017 08:54:30 +0000 (09:54 +0100)]
Merge pull request #5868 from Icinga/feature/expression-ptr

Use std::unique_ptr for Expression objects

6 years agoMerge pull request #5872 from Icinga/fix/incorrect-fclose
Michael Friedrich [Sun, 17 Dec 2017 14:40:12 +0000 (15:40 +0100)]
Merge pull request #5872 from Icinga/fix/incorrect-fclose

Replace incorrect fclose() call with pclose()

6 years agoReplace incorrect fclose() call with pclose() 5872/head
Gunnar Beutner [Fri, 15 Dec 2017 21:24:08 +0000 (22:24 +0100)]
Replace incorrect fclose() call with pclose()

6 years agoUse std::unique_ptr for Expression objects 5868/head
Gunnar Beutner [Fri, 15 Dec 2017 04:34:46 +0000 (05:34 +0100)]
Use std::unique_ptr for Expression objects

6 years agoMerge pull request #5858 from Icinga/feature/coverity
Michael Friedrich [Fri, 15 Dec 2017 09:06:47 +0000 (10:06 +0100)]
Merge pull request #5858 from Icinga/feature/coverity

Travis: Add support for Coverity

6 years agoTravis: Add support for Coverity 5858/head
Gunnar Beutner [Thu, 14 Dec 2017 08:24:39 +0000 (09:24 +0100)]
Travis: Add support for Coverity

6 years agoMerge pull request #5865 from Icinga/fix/uuid
Michael Friedrich [Fri, 15 Dec 2017 08:08:26 +0000 (09:08 +0100)]
Merge pull request #5865 from Icinga/fix/uuid

Add missing initializer in Utility::NewUniqueID()

6 years agoMerge pull request #5864 from Icinga/fix/add-initdb-to-postgresql-documentation
Michael Friedrich [Fri, 15 Dec 2017 07:38:16 +0000 (08:38 +0100)]
Merge pull request #5864 from Icinga/fix/add-initdb-to-postgresql-documentation

Add missing initdb to PostgreSQL documentation

6 years agoMerge pull request #5866 from Icinga/fix/remove-redundant-freebsd-restart-code
Michael Friedrich [Fri, 15 Dec 2017 07:37:38 +0000 (08:37 +0100)]
Merge pull request #5866 from Icinga/fix/remove-redundant-freebsd-restart-code

Remove redundant FreeBSD from restart instructions and add openSUSE

6 years agoDocumentation: Add openSUSE to restart instructions 5866/head
Noah Hilverling [Fri, 15 Dec 2017 07:19:00 +0000 (08:19 +0100)]
Documentation: Add openSUSE to restart instructions

6 years agoDocumentation: Remove redundant FreeBSD restart instructions
Noah Hilverling [Fri, 15 Dec 2017 06:41:05 +0000 (07:41 +0100)]
Documentation: Remove redundant FreeBSD restart instructions

6 years agoMerge pull request #5861 from Icinga/fix/invalid-memory-access
Gunnar Beutner [Fri, 15 Dec 2017 05:25:10 +0000 (06:25 +0100)]
Merge pull request #5861 from Icinga/fix/invalid-memory-access

Fix incorrect memory access

6 years agoMerge pull request #5863 from Icinga/fix/glob-5859
Gunnar Beutner [Thu, 14 Dec 2017 18:08:54 +0000 (19:08 +0100)]
Merge pull request #5863 from Icinga/fix/glob-5859

Fix glob error handling

6 years agoAdd missing initializer in Utility::NewUniqueID() 5865/head
Gunnar Beutner [Thu, 14 Dec 2017 17:48:58 +0000 (18:48 +0100)]
Add missing initializer in Utility::NewUniqueID()

6 years agoMerge pull request #5860 from Icinga/fix/memory-leaks
Jean Flach [Thu, 14 Dec 2017 16:31:02 +0000 (17:31 +0100)]
Merge pull request #5860 from Icinga/fix/memory-leaks

Fix memory leaks in the unit tests

6 years agoMerge pull request #5862 from Icinga/feature/nullptr-cleanup
Michael Friedrich [Thu, 14 Dec 2017 16:11:18 +0000 (17:11 +0100)]
Merge pull request #5862 from Icinga/feature/nullptr-cleanup

Replace a few more NULLs with nullptr

6 years agoAdd missing initdb to PostgreSQL documentation 5864/head
Noah Hilverling [Thu, 14 Dec 2017 16:08:03 +0000 (17:08 +0100)]
Add missing initdb to PostgreSQL documentation

6 years agoFix glob error handling 5863/head
Jean Flach [Thu, 14 Dec 2017 16:04:35 +0000 (17:04 +0100)]
Fix glob error handling

fixes #5859

6 years agoReplace a few more NULLs with nullptr 5862/head
Gunnar Beutner [Thu, 14 Dec 2017 14:37:20 +0000 (15:37 +0100)]
Replace a few more NULLs with nullptr

6 years agoFix incorrect memory access 5861/head
Gunnar Beutner [Thu, 14 Dec 2017 14:04:25 +0000 (15:04 +0100)]
Fix incorrect memory access

6 years agoFix memory leaks in the unit tests 5860/head
Gunnar Beutner [Thu, 14 Dec 2017 13:57:23 +0000 (14:57 +0100)]
Fix memory leaks in the unit tests

6 years agoMerge pull request #5857 from Icinga/fix/compiler-warnings
Gunnar Beutner [Thu, 14 Dec 2017 12:49:25 +0000 (13:49 +0100)]
Merge pull request #5857 from Icinga/fix/compiler-warnings

Fix compiler warnings

6 years agoMerge pull request #5838 from waja/doc_fix_config_sync
Michael Friedrich [Thu, 14 Dec 2017 12:35:15 +0000 (13:35 +0100)]
Merge pull request #5838 from waja/doc_fix_config_sync

services.conf has also be moved to zones.d/global-templates/

6 years agoMerge pull request #5855 from Icinga/fix/vs2017
Jean Flach [Thu, 14 Dec 2017 12:15:24 +0000 (13:15 +0100)]
Merge pull request #5855 from Icinga/fix/vs2017

Fix build problems with Visual Studio 2017

6 years agoMerge pull request #5856 from Icinga/feature/applocal-ucrt
Jean Flach [Thu, 14 Dec 2017 11:59:34 +0000 (12:59 +0100)]
Merge pull request #5856 from Icinga/feature/applocal-ucrt

Implement AppLocal deployment support for UCRT

6 years agoMerge pull request #5851 from Icinga/fix/checl-service-5849
Jean Flach [Thu, 14 Dec 2017 10:41:21 +0000 (11:41 +0100)]
Merge pull request #5851 from Icinga/fix/checl-service-5849

Fix check_service returning Warning instead of Critical

6 years agoFix check_service returning Warning instead of Critical 5851/head
Jean Flach [Wed, 13 Dec 2017 16:48:16 +0000 (17:48 +0100)]
Fix check_service returning Warning instead of Critical

fixes #5849

6 years agoFix compiler warnings 5857/head
Gunnar Beutner [Thu, 14 Dec 2017 07:47:04 +0000 (08:47 +0100)]
Fix compiler warnings

6 years agoMerge pull request #5853 from mcktr/fix/output-format-check-service
Gunnar Beutner [Thu, 14 Dec 2017 08:11:42 +0000 (09:11 +0100)]
Merge pull request #5853 from mcktr/fix/output-format-check-service

Fix missing space in check_service output

6 years agoFix build problems with Visual Studio 2017 5855/head
Gunnar Beutner [Wed, 13 Dec 2017 10:35:38 +0000 (11:35 +0100)]
Fix build problems with Visual Studio 2017

6 years agoImplement AppLocal deployment support for UCRT 5856/head
Gunnar Beutner [Wed, 13 Dec 2017 21:31:56 +0000 (22:31 +0100)]
Implement AppLocal deployment support for UCRT

6 years agoRemove extraneous whitespace
Gunnar Beutner [Wed, 13 Dec 2017 11:54:14 +0000 (12:54 +0100)]
Remove extraneous whitespace

6 years agomkclass: Fix compiler warnings in auto-generated code
Gunnar Beutner [Wed, 13 Dec 2017 11:49:04 +0000 (12:49 +0100)]
mkclass: Fix compiler warnings in auto-generated code

6 years agoFix incorrect format strings
Gunnar Beutner [Wed, 13 Dec 2017 11:48:14 +0000 (12:48 +0100)]
Fix incorrect format strings

6 years agoRemove unused variables
Gunnar Beutner [Wed, 13 Dec 2017 11:47:51 +0000 (12:47 +0100)]
Remove unused variables

6 years agoFix missing space in check_service output 5853/head
Michael Insel [Wed, 13 Dec 2017 20:21:17 +0000 (21:21 +0100)]
Fix missing space in check_service output

6 years agoMerge pull request #5848 from Icinga/fix/COPYING
Gunnar Beutner [Wed, 13 Dec 2017 11:14:52 +0000 (12:14 +0100)]
Merge pull request #5848 from Icinga/fix/COPYING

Fix COPYING format

6 years agoMerge pull request #5846 from Icinga/fix/compiler-warning
Gunnar Beutner [Wed, 13 Dec 2017 10:34:21 +0000 (11:34 +0100)]
Merge pull request #5846 from Icinga/fix/compiler-warning

Fix compiler warnings

6 years agoFix COPYING format 5848/head
Jean Flach [Tue, 12 Dec 2017 13:23:19 +0000 (14:23 +0100)]
Fix COPYING format

6 years agoReplace boost foreach and bind
Jean Flach [Tue, 12 Dec 2017 12:29:50 +0000 (13:29 +0100)]
Replace boost foreach and bind

fixes #5821

6 years agoFix compiler warning introduced by #5753 5846/head
Gunnar Beutner [Tue, 12 Dec 2017 10:55:30 +0000 (11:55 +0100)]
Fix compiler warning introduced by #5753

6 years agoFix compiler warning introduced by #5811
Gunnar Beutner [Tue, 12 Dec 2017 10:54:47 +0000 (11:54 +0100)]
Fix compiler warning introduced by #5811

6 years agoMerge pull request #5753 from Icinga/fix/ringbuffer-does-not-get-updated-if-nothing...
Gunnar Beutner [Tue, 12 Dec 2017 10:32:18 +0000 (11:32 +0100)]
Merge pull request #5753 from Icinga/fix/ringbuffer-does-not-get-updated-if-nothing-is-written-5750

Fix that RingBuffer does not get updated and add metrics about communication between endpoints

6 years agoMerge pull request #5764 from Icinga/feature/influxdb-cleanup
Gunnar Beutner [Tue, 12 Dec 2017 09:57:48 +0000 (10:57 +0100)]
Merge pull request #5764 from Icinga/feature/influxdb-cleanup

Improve InfluxdbWriter performance

6 years agoFix performance issues for InfluxdbWriter 5764/head
Gunnar Beutner [Tue, 24 Oct 2017 13:23:58 +0000 (15:23 +0200)]
Fix performance issues for InfluxdbWriter

6 years agoAdd metrics about communication between endpoints 5753/head
Noah Hilverling [Mon, 13 Nov 2017 15:30:29 +0000 (16:30 +0100)]
Add metrics about communication between endpoints

refs #5509

6 years agoMerge pull request #5760 from Icinga/fix/http-client-bugs
Michael Friedrich [Fri, 8 Dec 2017 11:51:50 +0000 (12:51 +0100)]
Merge pull request #5760 from Icinga/fix/http-client-bugs

Fix incorrect socket handling for the HTTP client

6 years agoservices.conf has also be moved to zones.d/global-templates/ 5838/head
Jan Wagner [Wed, 6 Dec 2017 16:07:14 +0000 (17:07 +0100)]
services.conf has also be moved to zones.d/global-templates/

6 years agoMerge pull request #5811 from Icinga/feature/update-constants-conf-api-setup
Michael Friedrich [Thu, 7 Dec 2017 16:35:46 +0000 (17:35 +0100)]
Merge pull request #5811 from Icinga/feature/update-constants-conf-api-setup

Update NodeName/ZoneName constants with 'api setup'

6 years agoMerge pull request #5840 from Icinga/fix/elasticsearch-writer-6
Michael Friedrich [Thu, 7 Dec 2017 16:07:01 +0000 (17:07 +0100)]
Merge pull request #5840 from Icinga/fix/elasticsearch-writer-6

Fix newline terminator for bulk requests in ElasticsearchWriter

6 years agoUpdate docs for Elasticsearch 5.x and 6.x support 5840/head
Michael Friedrich [Thu, 7 Dec 2017 12:31:07 +0000 (13:31 +0100)]
Update docs for Elasticsearch 5.x and 6.x support

6 years agoFix newline terminator for bulk requests in ElasticsearchWriter
Michael Friedrich [Thu, 7 Dec 2017 10:11:03 +0000 (11:11 +0100)]
Fix newline terminator for bulk requests in ElasticsearchWriter

This enables compatibility with 6.x.

This commit also fixes an incorrect HTTP response parsing
which could lead into false positives.

Analysis and fix in https://github.com/Icinga/icinga2/issues/5795#issuecomment-349920587

fixes #5795

6 years agoMerge pull request #5835 from dgoetz/fix/postgres-update-doc
Michael Friedrich [Wed, 6 Dec 2017 08:58:18 +0000 (09:58 +0100)]
Merge pull request #5835 from dgoetz/fix/postgres-update-doc

Fixes postgres schema upgrade path

6 years agofixes postgres schema upgrade path 5835/head
Dirk Goetz [Wed, 6 Dec 2017 08:00:07 +0000 (09:00 +0100)]
fixes postgres schema upgrade path

6 years agoMerge pull request #5833 from MrStrix/patch-1
Michael Friedrich [Tue, 5 Dec 2017 10:34:14 +0000 (11:34 +0100)]
Merge pull request #5833 from MrStrix/patch-1

fix formatting error

6 years agofix formatting error 5833/head
Strix [Tue, 5 Dec 2017 10:31:34 +0000 (11:31 +0100)]
fix formatting error

6 years agoMerge pull request #5827 from Icinga/feature/replace-statsfunction-with-function
Michael Friedrich [Thu, 30 Nov 2017 20:28:32 +0000 (21:28 +0100)]
Merge pull request #5827 from Icinga/feature/replace-statsfunction-with-function

Replace StatsFunction with Function

6 years agoMerge pull request #5825 from Icinga/feature/boost-assign
Michael Friedrich [Thu, 30 Nov 2017 20:20:46 +0000 (21:20 +0100)]
Merge pull request #5825 from Icinga/feature/boost-assign

Replace boost::assign::list_of with initializer lists

6 years agoMerge pull request #5824 from Icinga/feature/cxx11-features
Michael Friedrich [Thu, 30 Nov 2017 19:39:21 +0000 (20:39 +0100)]
Merge pull request #5824 from Icinga/feature/cxx11-features

Replace a few Boost features with equivalent C++11 features

6 years agoReplace StatsFunction with Function 5827/head
Gunnar Beutner [Thu, 30 Nov 2017 09:46:44 +0000 (10:46 +0100)]
Replace StatsFunction with Function

6 years agoReplace boost::assign::list_of with initializer lists 5825/head
Gunnar Beutner [Thu, 30 Nov 2017 17:09:38 +0000 (18:09 +0100)]
Replace boost::assign::list_of with initializer lists

6 years agoUse nullptr instead of <Type>::Ptr() 5824/head
Gunnar Beutner [Thu, 30 Nov 2017 07:36:35 +0000 (08:36 +0100)]
Use nullptr instead of <Type>::Ptr()

6 years agoUse std::vector::emplace_back instead of std::vector::push_back
Gunnar Beutner [Thu, 30 Nov 2017 07:19:58 +0000 (08:19 +0100)]
Use std::vector::emplace_back instead of std::vector::push_back

6 years agoUse std::vector instead of std::set where appropriate
Gunnar Beutner [Thu, 23 Nov 2017 14:32:33 +0000 (15:32 +0100)]
Use std::vector instead of std::set where appropriate

6 years agoUse initializer lists instead of std::vector::push_back
Gunnar Beutner [Thu, 23 Nov 2017 08:58:05 +0000 (09:58 +0100)]
Use initializer lists instead of std::vector::push_back

6 years agoTidy up INITIALIZE_ONCE use in console.cpp a bit
Gunnar Beutner [Thu, 23 Nov 2017 08:46:06 +0000 (09:46 +0100)]
Tidy up INITIALIZE_ONCE use in console.cpp a bit

6 years agoGet rid of INITIALIZE_ONCE for the ExternalCommandProcessor
Gunnar Beutner [Thu, 23 Nov 2017 08:31:39 +0000 (09:31 +0100)]
Get rid of INITIALIZE_ONCE for the ExternalCommandProcessor

6 years agoReplace boost::ref/boost::cref with std::ref/std::cref
Gunnar Beutner [Thu, 23 Nov 2017 05:51:48 +0000 (06:51 +0100)]
Replace boost::ref/boost::cref with std::ref/std::cref

6 years agoReplace boost::tuple with std::tuple
Gunnar Beutner [Wed, 22 Nov 2017 11:05:36 +0000 (12:05 +0100)]
Replace boost::tuple with std::tuple

6 years agoReplace CheckResult::StaticInitialize with a lambda function
Gunnar Beutner [Tue, 21 Nov 2017 13:15:29 +0000 (14:15 +0100)]
Replace CheckResult::StaticInitialize with a lambda function