]> granicus.if.org Git - icinga2/log
icinga2
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 agoMerge pull request #6111 from Icinga/upgrading-icinga2-docs
Jean Flach [Thu, 22 Feb 2018 14:10:28 +0000 (15:10 +0100)]
Merge pull request #6111 from Icinga/upgrading-icinga2-docs

Add Upgrading to Icinga 2.8.2 chapter

6 years agoMerge pull request #6113 from Icinga/testing/appveyor
Gunnar Beutner [Thu, 22 Feb 2018 13:38:55 +0000 (14:38 +0100)]
Merge pull request #6113 from Icinga/testing/appveyor

appveyor: Disable artifacts until we use them

6 years agoappveyor: Disable artifacts until we use them 6113/head
Markus Frosch [Thu, 22 Feb 2018 13:25:53 +0000 (14:25 +0100)]
appveyor: Disable artifacts until we use them

fixes #6106

6 years agoAdd clarification on sysconfig location 6111/head
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 agoMerge branch 'feature/security-features'
Jean Flach [Wed, 21 Feb 2018 15:19:54 +0000 (16:19 +0100)]
Merge branch 'feature/security-features'

6 years agoMerge pull request #6109 from Icinga/feature/used-memory
Jean Flach [Wed, 21 Feb 2018 14:48:37 +0000 (15:48 +0100)]
Merge pull request #6109 from Icinga/feature/used-memory

Add 'used' feature to check_memory

6 years agoFix code style 6109/head
Noah Hilverling [Wed, 21 Feb 2018 14:13:50 +0000 (15:13 +0100)]
Fix code style

6 years agoAdd 'used' feature to check_memory
Jean Flach [Wed, 21 Feb 2018 13:59:21 +0000 (14:59 +0100)]
Add 'used' feature to check_memory

Analogous to check_disk -U can now be used to check against and print the
used memory instead of the default available memory.

fixes #6108

6 years agoMerge pull request #6103 from Icinga/fix/http-security-fixes
Jean Flach [Wed, 21 Feb 2018 14:04:02 +0000 (15:04 +0100)]
Merge pull request #6103 from Icinga/fix/http-security-fixes

HTTP Security fixes

6 years agoMinor codestyle and doc changes 6103/head
Jean Flach [Wed, 21 Feb 2018 12:22:17 +0000 (13:22 +0100)]
Minor codestyle and doc changes

6 years agoUpdate docs 5715/head
Jean Flach [Wed, 21 Feb 2018 13:40:22 +0000 (14:40 +0100)]
Update docs

6 years agoMerge pull request #6104 from Icinga/fix/nullptr-deref
Jean Flach [Wed, 21 Feb 2018 12:56:09 +0000 (13:56 +0100)]
Merge pull request #6104 from Icinga/fix/nullptr-deref

Fix nullptr dereferences

6 years agoRename macro RequireNotNull to REQUIRE_NOT_NULL 6104/head
Jean Flach [Wed, 21 Feb 2018 12:42:58 +0000 (13:42 +0100)]
Rename macro RequireNotNull to REQUIRE_NOT_NULL

6 years agoFix nullptr posibility in ProcessEvent
Noah Hilverling [Wed, 7 Feb 2018 13:24:06 +0000 (14:24 +0100)]
Fix nullptr posibility in ProcessEvent

6 years agoFix nullptr deref in cluster events
Noah Hilverling [Wed, 31 Jan 2018 09:17:49 +0000 (10:17 +0100)]
Fix nullptr deref in cluster events

6 years agoAdd marco RequireNotNull
Noah Hilverling [Tue, 30 Jan 2018 10:26:07 +0000 (11:26 +0100)]
Add marco RequireNotNull

This is used to fix a number of possible nullptr dereferences

6 years agoMerge pull request #5850 from Icinga/fix/prepare-dirs-5793
Jean Flach [Wed, 21 Feb 2018 12:02:40 +0000 (13:02 +0100)]
Merge pull request #5850 from Icinga/fix/prepare-dirs-5793

init script security fixes

6 years agoMerge pull request #6101 from Icinga/fix/doc-operators-missing-word
Jean Flach [Wed, 21 Feb 2018 08:54:52 +0000 (09:54 +0100)]
Merge pull request #6101 from Icinga/fix/doc-operators-missing-word

Add missing word in operator documentation

6 years agoAdd missing word in operator documentation 6101/head
Michael Insel [Mon, 19 Feb 2018 21:08:18 +0000 (22:08 +0100)]
Add missing word in operator documentation

This adds the missing word `sorted` to the operators documentation.

6 years agoRemove need for init.conf 5850/head
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 agoSELinux: Add InfluxDB as example for services requiring `icinga2_can_connect_all`.
Dirk Goetz [Mon, 15 Jan 2018 13:49:28 +0000 (14:49 +0100)]
SELinux: Add InfluxDB as example for services requiring `icinga2_can_connect_all`.

Fixes #5915

6 years agoFixed URL encoding for HOSTNAME and SERVICENAME in mail notification
Dirk Goetz [Wed, 14 Feb 2018 12:21:59 +0000 (13:21 +0100)]
Fixed URL encoding for HOSTNAME and SERVICENAME in mail notification

Refs #5540

6 years agoLimit HTTP body size
Noah Hilverling [Mon, 19 Feb 2018 12:33:58 +0000 (13:33 +0100)]
Limit HTTP body size

6 years agoFix requests not being closed correctly
Noah Hilverling [Mon, 19 Feb 2018 09:47:14 +0000 (10:47 +0100)]
Fix requests not being closed correctly

6 years agoAdd timeout for TLS handshakes
Jean Flach [Tue, 13 Feb 2018 16:29:48 +0000 (17:29 +0100)]
Add timeout for TLS handshakes

6 years agoAuthenticate API user before parsing body
Jean Flach [Thu, 8 Feb 2018 13:54:52 +0000 (14:54 +0100)]
Authenticate API user before parsing body

6 years agoOnly read body from authenticated connections
Jean Flach [Thu, 1 Feb 2018 14:10:28 +0000 (15:10 +0100)]
Only read body from authenticated connections

This means we are not allowing unauthenticated requests anymore

6 years agoFix nullptr deref
Jean Flach [Tue, 30 Jan 2018 12:34:26 +0000 (13:34 +0100)]
Fix nullptr deref

6 years agoAdd HTTP Header size limits
Gunnar Beutner [Wed, 31 Jan 2018 08:05:06 +0000 (09:05 +0100)]
Add HTTP Header size limits

6 years agoAdd validation for HTTP connection sizes
Gunnar Beutner [Wed, 31 Jan 2018 06:59:49 +0000 (07:59 +0100)]
Add validation for HTTP connection sizes

6 years agoMerge pull request #6102 from Icinga/fix/doc-typo-apply-for
Jean Flach [Tue, 20 Feb 2018 10:08:06 +0000 (11:08 +0100)]
Merge pull request #6102 from Icinga/fix/doc-typo-apply-for

Fix typo in Apply for Rules documentation

6 years agoFix crash in api user command
Jean Flach [Tue, 20 Feb 2018 08:45:55 +0000 (09:45 +0100)]
Fix crash in api user command

6 years agoFix typo in Apply for Rules documentation 6102/head
Michael Insel [Mon, 19 Feb 2018 21:11:12 +0000 (22:11 +0100)]
Fix typo in Apply for Rules documentation

fixes 6100

6 years agoRemove redundant 'this->'
Gunnar Beutner [Mon, 19 Feb 2018 07:08:16 +0000 (08:08 +0100)]
Remove redundant 'this->'

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

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 agoMerge pull request #5981 from dgoetz/fix/selinux-influxdb
Jean Flach [Thu, 15 Feb 2018 13:30:36 +0000 (14:30 +0100)]
Merge pull request #5981 from dgoetz/fix/selinux-influxdb

SELinux: Add InfluxDB as example for services requiring `icinga2_can_connect_all`.

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

6 years agoMove new password functions into tlsutility
Jean Flach [Fri, 22 Dec 2017 11:14:31 +0000 (12:14 +0100)]
Move new password functions into tlsutility

6 years agoHash API password and comparison
Jean Flach [Fri, 11 Aug 2017 14:23:24 +0000 (16:23 +0200)]
Hash API password and comparison

fixes #4920

6 years agoMerge pull request #6090 from dgoetz/fix/notification-urlencoding
Gunnar Beutner [Thu, 15 Feb 2018 09:46:27 +0000 (10:46 +0100)]
Merge pull request #6090 from dgoetz/fix/notification-urlencoding

Fixed URL encoding for HOSTNAME and SERVICENAME in mail notification

6 years agoFixed URL encoding for HOSTNAME and SERVICENAME in mail notification 6090/head
Dirk Goetz [Wed, 14 Feb 2018 12:21:59 +0000 (13:21 +0100)]
Fixed URL encoding for HOSTNAME and SERVICENAME in mail notification

Refs #5540

6 years agoMerge pull request #6089 from Icinga/fix/docs-notification-example
Michael Friedrich [Wed, 14 Feb 2018 12:06:08 +0000 (13:06 +0100)]
Merge pull request #6089 from Icinga/fix/docs-notification-example

Docs: Fix bracket in notification example

6 years agoDocs: Fix bracket in notification example 6089/head
Michael Friedrich [Wed, 14 Feb 2018 12:04:42 +0000 (13:04 +0100)]
Docs: Fix bracket in notification example

6 years agoSELinux: Add InfluxDB as example for services requiring `icinga2_can_connect_all`. 5981/head
Dirk Goetz [Mon, 15 Jan 2018 13:49:28 +0000 (14:49 +0100)]
SELinux: Add InfluxDB as example for services requiring `icinga2_can_connect_all`.

Fixes #5915

6 years agoMerge pull request #6067 from Icinga/feature/windows-appveyor
Gunnar Beutner [Tue, 13 Feb 2018 07:11:10 +0000 (08:11 +0100)]
Merge pull request #6067 from Icinga/feature/windows-appveyor

Improve Windows builds and testing

6 years agoMerge pull request #6086 from Icinga/fix/doc-upgrading-cert-migration-example
Michael Friedrich [Mon, 12 Feb 2018 12:44:30 +0000 (13:44 +0100)]
Merge pull request #6086 from Icinga/fix/doc-upgrading-cert-migration-example

Upgrading: Make it more clear that the Director script is just an example

6 years agoUpgrading: Make it more clear that the Director script is just an example 6086/head
Michael Friedrich [Mon, 12 Feb 2018 08:49:11 +0000 (09:49 +0100)]
Upgrading: Make it more clear that the Director script is just an example

6 years agoMerge pull request #6085 from Icinga/fix/crash-no-endpoint-message-sent
Michael Friedrich [Fri, 9 Feb 2018 16:30:05 +0000 (17:30 +0100)]
Merge pull request #6085 from Icinga/fix/crash-no-endpoint-message-sent

Fix crash with anonymous clients on certificate signing request and storing sent bytes

6 years agoFix crash with anonymous clients on certificate signing request and storing sent... 6085/head
Michael Friedrich [Fri, 9 Feb 2018 16:18:20 +0000 (17:18 +0100)]
Fix crash with anonymous clients on certificate signing request and storing sent bytes

refs #5753

6 years agoMerge pull request #6026 from Icinga/feature/windows-flapping
Jean Flach [Fri, 9 Feb 2018 14:12:36 +0000 (15:12 +0100)]
Merge pull request #6026 from Icinga/feature/windows-flapping

Fix flapping support for Windows

6 years agoMerge pull request #6083 from Icinga/fix/configitem-type-log
Michael Friedrich [Fri, 9 Feb 2018 13:57:45 +0000 (14:57 +0100)]
Merge pull request #6083 from Icinga/fix/configitem-type-log

Fix wrong type logging in ConfigItem::Commit

6 years agoMerge pull request #6078 from Icinga/feature/random-check-metrics
Michael Friedrich [Fri, 9 Feb 2018 13:08:49 +0000 (14:08 +0100)]
Merge pull request #6078 from Icinga/feature/random-check-metrics

Add more metrics and details to built-in 'random' check

6 years agoFix wrong type logging in ConfigItem::Commit 6083/head
Michael Friedrich [Fri, 9 Feb 2018 13:04:50 +0000 (14:04 +0100)]
Fix wrong type logging in ConfigItem::Commit

6 years agoUpdate gitignore 6067/head
Markus Frosch [Wed, 7 Feb 2018 12:40:30 +0000 (13:40 +0100)]
Update gitignore

6 years agotest-runner: Replace initialization by global fixture
Markus Frosch [Wed, 7 Feb 2018 12:11:10 +0000 (13:11 +0100)]
test-runner: Replace initialization by global fixture

This is required to even be able to build tests static
for Windows.

6 years agotest/cmake: Don't force dynamic builds for testing
Markus Frosch [Wed, 7 Feb 2018 10:40:37 +0000 (11:40 +0100)]
test/cmake: Don't force dynamic builds for testing

6 years agoAdd AppVeyor definition
Markus Frosch [Fri, 2 Feb 2018 16:22:15 +0000 (17:22 +0100)]
Add AppVeyor definition

6 years agodoc: Update BUILD_WINDOWS for AppVeyor and scripts
Markus Frosch [Sun, 4 Feb 2018 13:41:11 +0000 (14:41 +0100)]
doc: Update BUILD_WINDOWS for AppVeyor and scripts

6 years agowindows: Add build scripts
Markus Frosch [Fri, 2 Feb 2018 16:19:14 +0000 (17:19 +0100)]
windows: Add build scripts

6 years agodoc: Add Windows build instructions
Markus Frosch [Thu, 1 Feb 2018 14:14:35 +0000 (15:14 +0100)]
doc: Add Windows build instructions

[ci skip]

6 years agoMerge pull request #6080 from Icinga/feature/docs-api-ignore-on-error
Michael Friedrich [Tue, 6 Feb 2018 17:10:12 +0000 (18:10 +0100)]
Merge pull request #6080 from Icinga/feature/docs-api-ignore-on-error

Document the 'ignore_on_error' attribute for object creation

6 years agoDocument the 'ignore_on_error' attribute for object creation 6080/head
Michael Friedrich [Tue, 6 Feb 2018 17:03:36 +0000 (18:03 +0100)]
Document the 'ignore_on_error' attribute for object creation

fixes #5797

6 years agoMerge pull request #6077 from Icinga/fix/api-actions-cr-perfdata
Michael Friedrich [Tue, 6 Feb 2018 16:40:51 +0000 (17:40 +0100)]
Merge pull request #6077 from Icinga/fix/api-actions-cr-perfdata

Allow to pass raw performance data in 'process-check-result' API action

6 years agoAdd more metrics and details to built-in 'random' check 6078/head
Michael Friedrich [Tue, 6 Feb 2018 14:56:07 +0000 (15:56 +0100)]
Add more metrics and details to built-in 'random' check

This helps us with demo graphs in Graphite/InfluxDB as well
as other historical views.

fixes #5787

6 years agoAllow to pass raw performance data in 'process-check-result' API action 6077/head
Michael Friedrich [Tue, 6 Feb 2018 14:25:55 +0000 (15:25 +0100)]
Allow to pass raw performance data in 'process-check-result' API action

This is how data is coming from Icinga Web 2 and still a valid input
type.

fixes #4786

6 years agoMerge pull request #5988 from Icinga/fix/concurrent-checks-limit-cluster
Noah Hilverling [Tue, 6 Feb 2018 13:13:49 +0000 (14:13 +0100)]
Merge pull request #5988 from Icinga/fix/concurrent-checks-limit-cluster

Fix concurrent checks limit while using command_endpoint

6 years agoMerge pull request #6075 from Icinga/feature/docs-global-functions
Michael Friedrich [Tue, 6 Feb 2018 12:30:44 +0000 (13:30 +0100)]
Merge pull request #6075 from Icinga/feature/docs-global-functions

Explain how to register functions in the global scope

6 years agoExplain how to register functions in the global scope 6075/head
Michael Friedrich [Tue, 6 Feb 2018 11:44:45 +0000 (12:44 +0100)]
Explain how to register functions in the global scope

6 years agoAdd documentation for remote check queue 5988/head
Noah Hilverling [Mon, 29 Jan 2018 13:40:40 +0000 (14:40 +0100)]
Add documentation for remote check queue

refs #4841

6 years agoMerge pull request #6063 from Icinga/deprecate-checkresultreader-6031
Gunnar Beutner [Mon, 5 Feb 2018 06:54:51 +0000 (07:54 +0100)]
Merge pull request #6063 from Icinga/deprecate-checkresultreader-6031

Deprecate CheckResultReader

6 years agoMerge pull request #6068 from ekeih/doc/fix-explanation-for-user-object
Gunnar Beutner [Mon, 5 Feb 2018 06:50:53 +0000 (07:50 +0100)]
Merge pull request #6068 from ekeih/doc/fix-explanation-for-user-object

Fix the explanation of `types` and `states` for user objects

6 years agoFix the explanation of `types` and `states` for user objects 6068/head
Max Rosin [Sun, 4 Feb 2018 23:55:33 +0000 (00:55 +0100)]
Fix the explanation of `types` and `states` for user objects

6 years agoDeprecate CheckResultReader 6063/head
Jean Flach [Fri, 2 Feb 2018 12:10:36 +0000 (13:10 +0100)]
Deprecate CheckResultReader

fixes #6031

6 years agoMerge pull request #6059 from gunnarbeutner/feature/remove-icinga-studio
Michael Friedrich [Fri, 2 Feb 2018 10:35:41 +0000 (11:35 +0100)]
Merge pull request #6059 from gunnarbeutner/feature/remove-icinga-studio

Remove Icinga Studio

6 years agoMerge pull request #6060 from gunnarbeutner/feature/remove-dev-docker-scripts
Michael Friedrich [Fri, 2 Feb 2018 10:27:16 +0000 (11:27 +0100)]
Merge pull request #6060 from gunnarbeutner/feature/remove-dev-docker-scripts

Remove Icinga development docker scripts

6 years agoMerge pull request #6061 from gunnarbeutner/feature/remove-jenkins-scripts
Michael Friedrich [Fri, 2 Feb 2018 10:26:03 +0000 (11:26 +0100)]
Merge pull request #6061 from gunnarbeutner/feature/remove-jenkins-scripts

Remove jenkins test scripts

6 years agoMerge pull request #6062 from gunnarbeutner/feature/remove-obsolete-script
Gunnar Beutner [Fri, 2 Feb 2018 06:40:57 +0000 (07:40 +0100)]
Merge pull request #6062 from gunnarbeutner/feature/remove-obsolete-script

Remove the obsolete 'make-agent-config.py' script

6 years agoRemove the obsolete 'make-agent-config.py' script 6062/head
Gunnar Beutner [Fri, 2 Feb 2018 06:34:39 +0000 (07:34 +0100)]
Remove the obsolete 'make-agent-config.py' script

6 years agoRemove jenkins test scripts 6061/head
Gunnar Beutner [Fri, 2 Feb 2018 06:30:20 +0000 (07:30 +0100)]
Remove jenkins test scripts

6 years agoRemove Icinga development docker scripts 6060/head
Gunnar Beutner [Fri, 2 Feb 2018 06:26:44 +0000 (07:26 +0100)]
Remove Icinga development docker scripts

6 years agoRemove Icinga Studio 6059/head
Gunnar Beutner [Fri, 2 Feb 2018 06:22:50 +0000 (07:22 +0100)]
Remove Icinga Studio

6 years agoMerge pull request #6055 from Icinga/feature/remove-clrchecktask
Gunnar Beutner [Thu, 1 Feb 2018 19:18:33 +0000 (20:18 +0100)]
Merge pull request #6055 from Icinga/feature/remove-clrchecktask

methods: Remove unused clrchecktask feature

6 years agomethods: Remove unused clrchecktask feature 6055/head
Markus Frosch [Thu, 1 Feb 2018 14:52:12 +0000 (15:52 +0100)]
methods: Remove unused clrchecktask feature

fixes #6054

6 years agoMerge pull request #6045 from gunnarbeutner/fix/move-passive-check-command
Markus Frosch [Thu, 1 Feb 2018 10:22:10 +0000 (11:22 +0100)]
Merge pull request #6045 from gunnarbeutner/fix/move-passive-check-command

Move the "passive" check command to command-icinga.conf

6 years agoMerge pull request #6044 from gunnarbeutner/feature/frozen-dict-and-array
Noah Hilverling [Wed, 31 Jan 2018 08:34:17 +0000 (09:34 +0100)]
Merge pull request #6044 from gunnarbeutner/feature/frozen-dict-and-array

Implement support for frozen arrays and dictionaries

6 years agoMove the "passive" check command to command-icinga.conf 6045/head
Gunnar Beutner [Tue, 30 Jan 2018 13:58:57 +0000 (14:58 +0100)]
Move the "passive" check command to command-icinga.conf

6 years agoImplement support for frozen arrays and dictionaries 6044/head
Gunnar Beutner [Tue, 30 Jan 2018 11:19:34 +0000 (12:19 +0100)]
Implement support for frozen arrays and dictionaries

6 years agoMerge pull request #5979 from Icinga/feature/enhance-console-5595
Gunnar Beutner [Mon, 29 Jan 2018 15:41:10 +0000 (16:41 +0100)]
Merge pull request #5979 from Icinga/feature/enhance-console-5595

Add quit, exit and help

6 years agoMerge pull request #6020 from Icinga/fix/console-home-env
Noah Hilverling [Mon, 29 Jan 2018 15:37:24 +0000 (16:37 +0100)]
Merge pull request #6020 from Icinga/fix/console-home-env

Fix crash when running 'icinga2 console' without HOME environment variable

6 years agoAdd metrics about RemoteCheckQueue to Icinga check, API and logs
Noah Hilverling [Thu, 18 Jan 2018 14:22:16 +0000 (15:22 +0100)]
Add metrics about RemoteCheckQueue to Icinga check, API and logs

refs #4841

6 years agoUpdate documentation for MaxConcurrentChecks and concurrent_checks
Noah Hilverling [Thu, 18 Jan 2018 14:20:23 +0000 (15:20 +0100)]
Update documentation for MaxConcurrentChecks and concurrent_checks

refs #4841