]> granicus.if.org Git - icinga2/log
icinga2
6 years agoMerge pull request #6176 from mauricemeyer/master
Michael Friedrich [Fri, 23 Mar 2018 11:34:19 +0000 (12:34 +0100)]
Merge pull request #6176 from mauricemeyer/master

hashed_password -> password_hash. Fixes #6175

6 years agohashed_password -> password_hash. Fixes #6175 6176/head
Maurice Meyer [Thu, 22 Mar 2018 19:40:46 +0000 (20:40 +0100)]
hashed_password -> password_hash. Fixes #6175

Signed-off-by: Maurice Meyer <morre@mor.re>
6 years agoMerge branch 'support/2.8'
Jean Flach [Thu, 22 Mar 2018 10:29:48 +0000 (11:29 +0100)]
Merge branch 'support/2.8'

6 years agoRelease version 2.8.2
Jean Flach [Thu, 22 Mar 2018 10:17:13 +0000 (11:17 +0100)]
Release version 2.8.2

6 years agoRelease version 2.8.2 v2.8.2
Jean Flach [Thu, 22 Mar 2018 10:17:13 +0000 (11:17 +0100)]
Release version 2.8.2

6 years agoUpdate mailmap
Jean Flach [Thu, 22 Mar 2018 09:35:02 +0000 (10:35 +0100)]
Update mailmap

6 years agoMerge pull request #6174 from Icinga/fix/api-crash-no-headeralloworigin
Michael Friedrich [Wed, 21 Mar 2018 19:50:48 +0000 (20:50 +0100)]
Merge pull request #6174 from Icinga/fix/api-crash-no-headeralloworigin

Fix crash without CORS setting

6 years agoFix crash without CORS config settings 6174/head
Michael Friedrich [Wed, 21 Mar 2018 19:41:52 +0000 (20:41 +0100)]
Fix crash without CORS config settings

fixes #6173
refs #6098

6 years agoDocs: Add a note to only query the NSClient++ API from the local Icinga 2 client
Michael Friedrich [Tue, 20 Mar 2018 10:50:52 +0000 (11:50 +0100)]
Docs: Add a note to only query the NSClient++ API from the local Icinga 2 client

refs #6172

6 years agoMerge pull request #6172 from Icinga/fix/docs-nscp-api
Michael Friedrich [Wed, 21 Mar 2018 15:04:39 +0000 (16:04 +0100)]
Merge pull request #6172 from Icinga/fix/docs-nscp-api

Docs: Add a note to only query the NSClient++ API from the local Icinga 2 client

6 years agoDocs: Add a note to only query the NSClient++ API from the local Icinga 2 client 6172/head
Michael Friedrich [Tue, 20 Mar 2018 10:50:52 +0000 (11:50 +0100)]
Docs: Add a note to only query the NSClient++ API from the local Icinga 2 client

6 years agoMerge pull request #6119 from tclh123/dev
Jean Flach [Wed, 21 Mar 2018 08:56:47 +0000 (09:56 +0100)]
Merge pull request #6119 from tclh123/dev

fixup set rlimit stack failed condition

6 years agoMerge pull request #6171 from Icinga/fix/windows-agent-copyright-date
Michael Friedrich [Wed, 21 Mar 2018 07:55:08 +0000 (08:55 +0100)]
Merge pull request #6171 from Icinga/fix/windows-agent-copyright-date

Update copyright of the Windows Agent to 2018

6 years agoUpdate copyright of the Windows Agent to 2018 6171/head
Michael Insel [Tue, 20 Mar 2018 20:03:46 +0000 (21:03 +0100)]
Update copyright of the Windows Agent to 2018

This updates the copyright of the Windows Agent to 2018.

6 years agoMerge pull request #6098 from Icinga/fix/improve-cors-implementation
Michael Friedrich [Mon, 19 Mar 2018 15:00:36 +0000 (16:00 +0100)]
Merge pull request #6098 from Icinga/fix/improve-cors-implementation

Clean up CORS implementation

6 years agoMerge pull request #6058 from gunnarbeutner/feature/clean-up-plugins
Michael Friedrich [Mon, 19 Mar 2018 14:57:57 +0000 (15:57 +0100)]
Merge pull request #6058 from gunnarbeutner/feature/clean-up-plugins

Clean up the Icinga plugins a bit

6 years agoMerge pull request #6016 from Icinga/fix/state-filters-for-custom-notifications
Michael Friedrich [Mon, 19 Mar 2018 14:52:37 +0000 (15:52 +0100)]
Merge pull request #6016 from Icinga/fix/state-filters-for-custom-notifications

Check notification state filters for problems only, not for Custom, etc.

6 years agoMerge pull request #6169 from Icinga/appveyor
Jean Flach [Sat, 17 Mar 2018 17:41:00 +0000 (18:41 +0100)]
Merge pull request #6169 from Icinga/appveyor

appveyor: Clean cache when updating appveyor.yml

6 years agoappveyor: Clean cache when updating appveyor.yml 6169/head
Markus Frosch [Fri, 16 Mar 2018 14:09:19 +0000 (15:09 +0100)]
appveyor: Clean cache when updating appveyor.yml

6 years agoMerge pull request #6166 from Icinga/fix/broken-link-readme
Michael Friedrich [Thu, 15 Mar 2018 16:17:29 +0000 (17:17 +0100)]
Merge pull request #6166 from Icinga/fix/broken-link-readme

Fix broken link in README

6 years agoFix broken link in README 6166/head
Michael Insel [Thu, 15 Mar 2018 15:59:41 +0000 (16:59 +0100)]
Fix broken link in README

This fixes the broken documentation link inside the readme.

6 years agoImprove error handling for empty packages in /v1/config/packages
Michael Friedrich [Wed, 7 Mar 2018 12:27:31 +0000 (13:27 +0100)]
Improve error handling for empty packages in /v1/config/packages

- If there is no package main directory, assume "empty packages".
- Catch exceptions thrown through GlobRecursive() and present a better http 500
to the user.

The packages directory tree is automatically created with the first
package creation, either from the user, or by the `_api` package.

fixes #6129

6 years agoAdd CORS notice to 2.9 upgrading docs 6098/head
Noah Hilverling [Thu, 1 Mar 2018 13:07:53 +0000 (14:07 +0100)]
Add CORS notice to 2.9 upgrading docs

6 years agoMerge pull request #6153 from Icinga/fix/api-no-packages
Gunnar Beutner [Tue, 13 Mar 2018 08:23:01 +0000 (09:23 +0100)]
Merge pull request #6153 from Icinga/fix/api-no-packages

Improve error handling for empty packages in /v1/config/packages

6 years agoMerge pull request #6160 from Icinga/fix/code-style-global-zones
Gunnar Beutner [Tue, 13 Mar 2018 08:22:10 +0000 (09:22 +0100)]
Merge pull request #6160 from Icinga/fix/code-style-global-zones

Replace std::vector:push_back calls with initializer list

6 years agoReplace std::vector:push_back with initializer list 6160/head
Michael Insel [Mon, 12 Mar 2018 19:23:21 +0000 (20:23 +0100)]
Replace std::vector:push_back with initializer list

This replaces a few std::vector::push_back calls with initializer lists.

6 years agoImprove error handling for empty packages in /v1/config/packages 6153/head
Michael Friedrich [Wed, 7 Mar 2018 12:27:31 +0000 (13:27 +0100)]
Improve error handling for empty packages in /v1/config/packages

- If there is no package main directory, assume "empty packages".
- Catch exceptions thrown through GlobRecursive() and present a better http 500
to the user.

The packages directory tree is automatically created with the first
package creation, either from the user, or by the `_api` package.

fixes #6129

6 years agoBuild fix
Gunnar Beutner [Wed, 7 Mar 2018 08:56:42 +0000 (09:56 +0100)]
Build fix

6 years agoCode style
Jean Flach [Fri, 16 Feb 2018 09:31:00 +0000 (10:31 +0100)]
Code style

6 years agoFix ApiUser unit test
Gunnar Beutner [Tue, 6 Mar 2018 08:30:22 +0000 (09:30 +0100)]
Fix ApiUser unit test

6 years agoMerge pull request #6148 from gunnarbeutner/fix/api-unit-test
Gunnar Beutner [Tue, 6 Mar 2018 08:36:30 +0000 (09:36 +0100)]
Merge pull request #6148 from gunnarbeutner/fix/api-unit-test

Fix ApiUser unit test

6 years agoEnsure that SetCorked() works properly
Gunnar Beutner [Tue, 6 Mar 2018 07:49:43 +0000 (08:49 +0100)]
Ensure that SetCorked() works properly

6 years agoMerge pull request #6146 from gunnarbeutner/fix/corked-fixes
Gunnar Beutner [Tue, 6 Mar 2018 08:33:46 +0000 (09:33 +0100)]
Merge pull request #6146 from gunnarbeutner/fix/corked-fixes

Ensure that SetCorked() works properly

6 years agoFix ApiUser unit test 6148/head
Gunnar Beutner [Tue, 6 Mar 2018 08:30:22 +0000 (09:30 +0100)]
Fix ApiUser unit test

6 years agoEnsure that SetCorked() works properly 6146/head
Gunnar Beutner [Tue, 6 Mar 2018 07:49:43 +0000 (08:49 +0100)]
Ensure that SetCorked() works properly

6 years agoFix incorrect argument type for JsonRpc::SendMessage
Gunnar Beutner [Tue, 6 Mar 2018 07:54:47 +0000 (08:54 +0100)]
Fix incorrect argument type for JsonRpc::SendMessage

6 years agoMerge pull request #6147 from gunnarbeutner/fix/incorrect-arg-type
Gunnar Beutner [Tue, 6 Mar 2018 08:01:47 +0000 (09:01 +0100)]
Merge pull request #6147 from gunnarbeutner/fix/incorrect-arg-type

Fix incorrect argument type for JsonRpc::SendMessage

6 years agoFix incorrect argument type for JsonRpc::SendMessage 6147/head
Gunnar Beutner [Tue, 6 Mar 2018 07:54:47 +0000 (08:54 +0100)]
Fix incorrect argument type for JsonRpc::SendMessage

6 years agoLimit anonymous connections to 25
Jean Flach [Mon, 5 Mar 2018 12:22:43 +0000 (13:22 +0100)]
Limit anonymous connections to 25

6 years agoLimit JSON-RPC message size
Noah Hilverling [Thu, 1 Mar 2018 08:47:29 +0000 (09:47 +0100)]
Limit JSON-RPC message size

6 years agoMerge pull request #6135 from Icinga/fix/limit-api-package-size
Gunnar Beutner [Mon, 5 Mar 2018 12:24:09 +0000 (13:24 +0100)]
Merge pull request #6135 from Icinga/fix/limit-api-package-size

Limit JSON RPC message size

6 years agoLimit anonymous connections to 25 6135/head
Jean Flach [Mon, 5 Mar 2018 12:22:43 +0000 (13:22 +0100)]
Limit anonymous connections to 25

6 years agoLimit JSON-RPC message size
Noah Hilverling [Thu, 1 Mar 2018 08:47:29 +0000 (09:47 +0100)]
Limit JSON-RPC message size

6 years agoMerge pull request #6145 from gunnarbeutner/fix/incorrect-parameter-name
Gunnar Beutner [Mon, 5 Mar 2018 08:00:08 +0000 (09:00 +0100)]
Merge pull request #6145 from gunnarbeutner/fix/incorrect-parameter-name

Fix incorrect parameter name in the API documentation

6 years agoFix incorrect parameter name in the API documentation 6145/head
Gunnar Beutner [Mon, 5 Mar 2018 07:43:13 +0000 (08:43 +0100)]
Fix incorrect parameter name in the API documentation

fixes #6140

6 years agoMerge pull request #6139 from Icinga/itl/disk-docker-types
Gunnar Beutner [Mon, 5 Mar 2018 07:38:00 +0000 (08:38 +0100)]
Merge pull request #6139 from Icinga/itl/disk-docker-types

itl/disk: Ignore overlay and netfs filesystems

6 years agoitl: Ignore overlay and netfs filesystems 6139/head
Markus Frosch [Fri, 2 Mar 2018 11:44:08 +0000 (12:44 +0100)]
itl: Ignore overlay and netfs filesystems

Usually used by Docker and other containers and namespaces

6 years agoMerge pull request #6136 from Icinga/feature/counter-for-currently-running-concurrent...
Noah Hilverling [Thu, 1 Mar 2018 14:47:25 +0000 (15:47 +0100)]
Merge pull request #6136 from Icinga/feature/counter-for-currently-running-concurrent-checks-4939

Add counter for current concurrent checks to Icinga check

6 years agoClean up the Icinga plugins a bit 6058/head
Gunnar Beutner [Thu, 1 Feb 2018 07:45:09 +0000 (08:45 +0100)]
Clean up the Icinga plugins a bit

6 years agoAdd counter for current concurrent checks to Icinga check 6136/head
Noah Hilverling [Thu, 1 Mar 2018 14:01:47 +0000 (15:01 +0100)]
Add counter for current concurrent checks to Icinga check

fixes #4939

6 years agoClean up CORS implementation
Noah Hilverling [Mon, 12 Feb 2018 14:06:23 +0000 (15:06 +0100)]
Clean up CORS implementation

6 years agoFix incorrect HTTP content length limits
Gunnar Beutner [Wed, 28 Feb 2018 11:06:01 +0000 (12:06 +0100)]
Fix incorrect HTTP content length limits

6 years agoMerge pull request #6134 from gunnarbeutner/fix/incorrect-content-length-limits
Gunnar Beutner [Wed, 28 Feb 2018 13:16:15 +0000 (14:16 +0100)]
Merge pull request #6134 from gunnarbeutner/fix/incorrect-content-length-limits

Fix incorrect HTTP content length limits

6 years agoAdd SetCorked() calls to the JsonRpcConnection class
Gunnar Beutner [Wed, 28 Feb 2018 10:42:05 +0000 (11:42 +0100)]
Add SetCorked() calls to the JsonRpcConnection class

6 years agoUse cork in tlsstream and HTTP connection
Jean Flach [Tue, 27 Feb 2018 13:49:15 +0000 (14:49 +0100)]
Use cork in tlsstream and HTTP connection

6 years agoAdd cork
Jean Flach [Tue, 27 Feb 2018 13:48:37 +0000 (14:48 +0100)]
Add cork

6 years agoMerge pull request #6133 from Icinga/fix/cork-socket
Gunnar Beutner [Wed, 28 Feb 2018 11:48:06 +0000 (12:48 +0100)]
Merge pull request #6133 from Icinga/fix/cork-socket

Limit the number of HTTP/JSON-RPC requests we read in parallel

6 years agoFix incorrect HTTP content length limits 6134/head
Gunnar Beutner [Wed, 28 Feb 2018 11:06:01 +0000 (12:06 +0100)]
Fix incorrect HTTP content length limits

6 years agoMerge pull request #6116 from Icinga/fix/windows-service-restart
Gunnar Beutner [Wed, 28 Feb 2018 11:23:53 +0000 (12:23 +0100)]
Merge pull request #6116 from Icinga/fix/windows-service-restart

Fix Windows reload

6 years agoMerge pull request #6131 from Icinga/feature/log-master-ticket-invalid
Gunnar Beutner [Wed, 28 Feb 2018 11:22:34 +0000 (12:22 +0100)]
Merge pull request #6131 from Icinga/feature/log-master-ticket-invalid

Log which ticket was invalid on the master

6 years agoMerge pull request #6132 from gunnarbeutner/fix/http-parser-crash
Gunnar Beutner [Wed, 28 Feb 2018 11:21:09 +0000 (12:21 +0100)]
Merge pull request #6132 from gunnarbeutner/fix/http-parser-crash

Fix HTTP parser crash/hang

6 years agoFix null ptr dereference in HttpServerConnection::ProcessMessageAsync
Gunnar Beutner [Wed, 28 Feb 2018 10:07:19 +0000 (11:07 +0100)]
Fix null ptr dereference in HttpServerConnection::ProcessMessageAsync

6 years agoFix incorrect return value
Gunnar Beutner [Wed, 28 Feb 2018 09:50:33 +0000 (10:50 +0100)]
Fix incorrect return value

6 years agoAdd SetCorked() calls to the JsonRpcConnection class 6133/head
Gunnar Beutner [Wed, 28 Feb 2018 10:42:05 +0000 (11:42 +0100)]
Add SetCorked() calls to the JsonRpcConnection class

6 years agoUse cork in tlsstream and HTTP connection
Jean Flach [Tue, 27 Feb 2018 13:49:15 +0000 (14:49 +0100)]
Use cork in tlsstream and HTTP connection

6 years agoAdd cork
Jean Flach [Tue, 27 Feb 2018 13:48:37 +0000 (14:48 +0100)]
Add cork

6 years agoFix null ptr dereference in HttpServerConnection::ProcessMessageAsync 6132/head
Gunnar Beutner [Wed, 28 Feb 2018 10:07:19 +0000 (11:07 +0100)]
Fix null ptr dereference in HttpServerConnection::ProcessMessageAsync

6 years agoFix incorrect return value
Gunnar Beutner [Wed, 28 Feb 2018 09:50:33 +0000 (10:50 +0100)]
Fix incorrect return value

6 years agoLog which ticket was invalid on the master 6131/head
Michael Friedrich [Wed, 28 Feb 2018 09:18:29 +0000 (10:18 +0100)]
Log which ticket was invalid on the master

This helps debugging a lot, especially to reproduce the issue
why the ticket is invalid.

6 years agoMerge pull request #6128 from Icinga/fix/doc-adding-global-zones
Gunnar Beutner [Wed, 28 Feb 2018 08:46:45 +0000 (09:46 +0100)]
Merge pull request #6128 from Icinga/fix/doc-adding-global-zones

Adding documentation for configurable global zones during setup

6 years agoMerge pull request #6126 from Icinga/fix/require-systemd-libs
Gunnar Beutner [Wed, 28 Feb 2018 08:45:05 +0000 (09:45 +0100)]
Merge pull request #6126 from Icinga/fix/require-systemd-libs

Require systemd headers

6 years agoAdding documentation for configurable global zones during setup 6128/head
Michael Insel [Tue, 27 Feb 2018 20:22:29 +0000 (21:22 +0100)]
Adding documentation for configurable global zones during setup

This adds the documentation for the configurable global zones during the node wizard/setup.

refs #5767

6 years agoRequire systemd headers 6126/head
Jean Flach [Tue, 27 Feb 2018 14:54:58 +0000 (15:54 +0100)]
Require systemd headers

Only mandatory if using systemd

6 years agoMerge pull request #6125 from ekeih/fix/misleading-description-in-notification.conf...
Jean Flach [Tue, 27 Feb 2018 13:54:33 +0000 (14:54 +0100)]
Merge pull request #6125 from ekeih/fix/misleading-description-in-notification.conf-feature-file-6122

Fix description of the NotificationComponent in notification.conf

6 years agoFix description of the NotificationComponent in notification.conf, fix #6122 6125/head
Max Rosin [Tue, 27 Feb 2018 13:31:00 +0000 (14:31 +0100)]
Fix description of the NotificationComponent in notification.conf, fix #6122

6 years agofixup set rlimit stack failed condition 6119/head
lihan [Tue, 27 Feb 2018 04:56:36 +0000 (12:56 +0800)]
fixup set rlimit stack failed condition

6 years agoMerge pull request #6050 from gunnarbeutner/feature/remove-boost-split
Gunnar Beutner [Mon, 26 Feb 2018 07:37:46 +0000 (08:37 +0100)]
Merge pull request #6050 from gunnarbeutner/feature/remove-boost-split

Replace boost::algorithm::split calls with String::Split

6 years agoUse std::vector<std::string> for command-line arguments
Gunnar Beutner [Mon, 26 Feb 2018 07:34:45 +0000 (08:34 +0100)]
Use std::vector<std::string> for command-line arguments

6 years agoImplement ability to make global zones configurable
Michael [Wed, 15 Nov 2017 17:42:29 +0000 (18:42 +0100)]
Implement ability to make global zones configurable

This adds the ability to make global zones configurable during the node
wizard/setup. The implementation will add the given global zones to the default
included global zones.

6 years agoMerge pull request #6051 from gunnarbeutner/feature/icingaloader-cmake-folder
Gunnar Beutner [Mon, 26 Feb 2018 07:27:41 +0000 (08:27 +0100)]
Merge pull request #6051 from gunnarbeutner/feature/icingaloader-cmake-folder

Set FOLDER cmake property for the icingaloader target

6 years agoReplace boost::algorithm::split calls with String::Split 6050/head
Gunnar Beutner [Thu, 1 Feb 2018 07:07:30 +0000 (08:07 +0100)]
Replace boost::algorithm::split calls with String::Split

6 years agoMerge pull request #6107 from MichalMMac/master
Gunnar Beutner [Mon, 26 Feb 2018 07:09:35 +0000 (08:09 +0100)]
Merge pull request #6107 from MichalMMac/master

Allow MYSQL_LIB to be specified by ENV variable

6 years agoFix Windows reload 6116/head
Jean Flach [Fri, 23 Feb 2018 16:01:46 +0000 (17:01 +0100)]
Fix Windows reload

6 years agoFix incorrect size of request limits
Jean Flach [Fri, 23 Feb 2018 13:29:18 +0000 (14:29 +0100)]
Fix incorrect size of request limits

refs #6103

6 years agoFix typo in prepare-dirs
Jean Flach [Fri, 23 Feb 2018 12:25:59 +0000 (13:25 +0100)]
Fix typo in prepare-dirs

refs #5850

6 years agoMerge pull request #6115 from Icinga/ineedmorebranches
Jean Flach [Fri, 23 Feb 2018 13:42:25 +0000 (14:42 +0100)]
Merge pull request #6115 from Icinga/ineedmorebranches

Fix incorrect size of request limits

6 years agoMerge pull request #6114 from Icinga/whycantipushintomasteragain
Jean Flach [Fri, 23 Feb 2018 13:42:15 +0000 (14:42 +0100)]
Merge pull request #6114 from Icinga/whycantipushintomasteragain

Fix typo in prepare-dirs

6 years agoFix incorrect size of request limits 6115/head
Jean Flach [Fri, 23 Feb 2018 13:29:18 +0000 (14:29 +0100)]
Fix incorrect size of request limits

refs #6103

6 years agoFix typo in prepare-dirs 6114/head
Jean Flach [Fri, 23 Feb 2018 12:25:59 +0000 (13:25 +0100)]
Fix typo in prepare-dirs

refs #5850

6 years agoRemove need for init.conf
Jean Flach [Mon, 29 Jan 2018 13:23:53 +0000 (14:23 +0100)]
Remove need for init.conf

6 years agoRemove need for RunAsUser/Group
Jean Flach [Fri, 26 Jan 2018 15:27:16 +0000 (16:27 +0100)]
Remove need for RunAsUser/Group

They are now read form the sysconfig file which is owned by root

6 years agoAdd cli tool to send signals as Icinga user
Jean Flach [Wed, 17 Jan 2018 12:26:19 +0000 (13:26 +0100)]
Add cli tool to send signals as Icinga user

fixes #5991

6 years agoGet ICINGA2_USER and GROUP from sysconfig
Jean Flach [Wed, 17 Jan 2018 12:25:40 +0000 (13:25 +0100)]
Get ICINGA2_USER and GROUP from sysconfig

6 years agoFix prepare-dirs permission exploit
Jean Flach [Wed, 29 Nov 2017 12:56:10 +0000 (13:56 +0100)]
Fix prepare-dirs permission exploit

refs #5793

6 years agoAdd clarification on sysconfig location
Jean Flach [Thu, 22 Feb 2018 11:31:36 +0000 (12:31 +0100)]
Add clarification on sysconfig location

6 years agoAdd Upgrading to Icinga 2.8.2 chapter
Jean Flach [Thu, 22 Feb 2018 10:29:12 +0000 (11:29 +0100)]
Add Upgrading to Icinga 2.8.2 chapter

6 years agoRemove debug output in ApiUserCommand::Run
Gunnar Beutner [Thu, 15 Feb 2018 14:49:23 +0000 (15:49 +0100)]
Remove debug output in ApiUserCommand::Run

6 years agoProperly escape strings in ApiUserCommand::Run
Gunnar Beutner [Thu, 15 Feb 2018 14:48:53 +0000 (15:48 +0100)]
Properly escape strings in ApiUserCommand::Run

6 years agoImprove api user command
Jean Flach [Fri, 22 Dec 2017 12:01:51 +0000 (13:01 +0100)]
Improve api user command

--oneline can now be used to print out only the password hash string.
This can be used to update ApiUser passwords through the API. There is
also now a validation to make use salt does not contain a '$' which
would break verification.

6 years agoFix crash when using incorrectly formatted password hash
Jean Flach [Fri, 22 Dec 2017 11:58:39 +0000 (12:58 +0100)]
Fix crash when using incorrectly formatted password hash