]> granicus.if.org Git - icinga2/log
icinga2
6 years agoImplement HA functionality for Elasticsearch feature
Michael Friedrich [Wed, 24 Oct 2018 11:20:03 +0000 (13:20 +0200)]
Implement HA functionality for Elasticsearch feature

6 years agoRevert code from icinga.com update
Michael Friedrich [Wed, 24 Oct 2018 10:32:36 +0000 (12:32 +0200)]
Revert code from icinga.com update

6 years agoMerge pull request #6717 from Icinga/bugfix/api-downtimes-child-options
Michael Friedrich [Wed, 24 Oct 2018 09:54:24 +0000 (11:54 +0200)]
Merge pull request #6717 from Icinga/bugfix/api-downtimes-child-options

Improve error handling for invalid child_options for API downtime actions

6 years agoMerge pull request #6719 from Icinga/fix/finished-reconnect-message
Michael Friedrich [Wed, 24 Oct 2018 09:51:34 +0000 (11:51 +0200)]
Merge pull request #6719 from Icinga/fix/finished-reconnect-message

Do not send 'finished reconnecting...' if failed

6 years agoMerge pull request #6718 from Icinga/bugfix/ssl-shutdown
Michael Friedrich [Wed, 24 Oct 2018 09:46:32 +0000 (11:46 +0200)]
Merge pull request #6718 from Icinga/bugfix/ssl-shutdown

Call SSL_shutdown() at least twice

6 years agoMerge pull request #6662 from Icinga/bugfix/keep-http-connection-open-until-stream-eof
Michael Friedrich [Wed, 24 Oct 2018 09:31:06 +0000 (11:31 +0200)]
Merge pull request #6662 from Icinga/bugfix/keep-http-connection-open-until-stream-eof

Keep the HTTP server connection open until the stream is EOF

6 years agoImprove error handling for invalid child_options for API downtime actions 6717/head
Michael Friedrich [Wed, 24 Oct 2018 09:00:24 +0000 (11:00 +0200)]
Improve error handling for invalid child_options for API downtime actions

fixes #6712

6 years agoMerge pull request #6667 from Icinga/feature/dependency-recursion-limit
Michael Friedrich [Wed, 24 Oct 2018 08:30:46 +0000 (10:30 +0200)]
Merge pull request #6667 from Icinga/feature/dependency-recursion-limit

Increase dependency recursion limit to 256

6 years agoIncrease dependency recursion limit to 256 6667/head
Michael Friedrich [Wed, 10 Oct 2018 09:43:11 +0000 (11:43 +0200)]
Increase dependency recursion limit to 256

fixes #5762

6 years agoMerge pull request #6713 from Icinga/bugfix/typo
Michael Friedrich [Tue, 23 Oct 2018 12:00:18 +0000 (14:00 +0200)]
Merge pull request #6713 from Icinga/bugfix/typo

Fix typo

6 years agoMerge pull request #6714 from Icinga/feature/docs-upgrading-packages
Michael Friedrich [Tue, 23 Oct 2018 11:57:38 +0000 (13:57 +0200)]
Merge pull request #6714 from Icinga/feature/docs-upgrading-packages

Docs: Add package related changes to the upgrading docs

6 years agoDocs: Add package related changes to the upgrading docs 6714/head
Michael Friedrich [Mon, 22 Oct 2018 14:18:21 +0000 (16:18 +0200)]
Docs: Add package related changes to the upgrading docs

6 years agoFix typo 6713/head
Jean Flach [Mon, 22 Oct 2018 12:19:16 +0000 (14:19 +0200)]
Fix typo

6 years agoMerge pull request #6707 from Icinga/bugfix/compat-objects-path
Michael Friedrich [Fri, 19 Oct 2018 10:30:53 +0000 (12:30 +0200)]
Merge pull request #6707 from Icinga/bugfix/compat-objects-path

Fix regression for wrong objects.cache path overwriting icinga2.debug file

6 years agoMerge pull request #6708 from Icinga/bugfix/docs-alpine-repos
Michael Friedrich [Fri, 19 Oct 2018 10:30:34 +0000 (12:30 +0200)]
Merge pull request #6708 from Icinga/bugfix/docs-alpine-repos

Docs: Alpine needs 'edge/main' repository too

6 years agoMerge pull request #6704 from efuss/fix/scheduleddowntime1
Michael Friedrich [Fri, 19 Oct 2018 10:29:51 +0000 (12:29 +0200)]
Merge pull request #6704 from efuss/fix/scheduleddowntime1

Put newly configured already running ScheduledDowntime immediately in effect

6 years agoDocs: Alpine needs 'edge/main' repository too 6708/head
Michael Friedrich [Fri, 19 Oct 2018 10:01:58 +0000 (12:01 +0200)]
Docs: Alpine needs 'edge/main' repository too

6 years agoFix regression for wrong objects.cache path overwriting icinga2.debug file 6707/head
Michael Friedrich [Fri, 19 Oct 2018 08:42:54 +0000 (10:42 +0200)]
Fix regression for wrong objects.cache path overwriting icinga2.debug file

The 'statusdata' feature is deprecated, although it affects 'object list'.

fixes #6705

6 years agoPut running downtimes in effect 6704/head
Edgar Fuß [Thu, 18 Oct 2018 16:42:21 +0000 (18:42 +0200)]
Put running downtimes in effect

If Icinga2 was restarted with a newly configured downtime that should
be in effect at the time of restart, the should-be-running segment of
it was not put into effect.

Add new LegacyTimePeriod::FindRunningSegment() and
ScheduledDowntime::FindRunningSegment() functions, call the latter in
ScheduledDowntime::CreateNextDowntime() before trying the old
ScheduledDowntime::FindNextSegment().

6 years agoRemove spurious string in debug message
Edgar Fuß [Thu, 18 Oct 2018 16:35:14 +0000 (18:35 +0200)]
Remove spurious string in debug message

Remove a spurious " at " in the "Evaluating segment" debug message in ScheduledDowntime::FindNextSegment().

6 years agoRemove dead code
Edgar Fuß [Thu, 18 Oct 2018 16:09:20 +0000 (18:09 +0200)]
Remove dead code

Remove some dead code in ScheduledDowntime::CreateNextDowntime().

6 years agoRelease version 2.10.1 v2.10.1
Michael Friedrich [Thu, 18 Oct 2018 09:31:02 +0000 (11:31 +0200)]
Release version 2.10.1

6 years agoMerge pull request #6701 from Icinga/feature/readme-github-tag
Michael Friedrich [Thu, 18 Oct 2018 09:06:57 +0000 (11:06 +0200)]
Merge pull request #6701 from Icinga/feature/readme-github-tag

Add GitHub release tag to README

6 years agoAdd GitHub release tag to README 6701/head
Michael Friedrich [Thu, 18 Oct 2018 09:06:04 +0000 (11:06 +0200)]
Add GitHub release tag to README

6 years agoMerge pull request #6700 from Icinga/feature/docs-addons
Michael Friedrich [Thu, 18 Oct 2018 08:40:17 +0000 (10:40 +0200)]
Merge pull request #6700 from Icinga/feature/docs-addons

Enhance the addon chapter in the docs

6 years agoEnhance the addon chapter in the docs 6700/head
Michael Friedrich [Thu, 18 Oct 2018 08:38:11 +0000 (10:38 +0200)]
Enhance the addon chapter in the docs

6 years agoMerge pull request #6699 from Icinga/feature/update-icinga-com
Michael Friedrich [Thu, 18 Oct 2018 08:19:50 +0000 (10:19 +0200)]
Merge pull request #6699 from Icinga/feature/update-icinga-com

Update to https://icinga.com/

6 years agoDocs: Use the correct URLs in various places 6699/head
Michael Friedrich [Thu, 18 Oct 2018 07:59:33 +0000 (09:59 +0200)]
Docs: Use the correct URLs in various places

6 years agoicinga.com: Update everything else
Michael Friedrich [Thu, 18 Oct 2018 07:50:53 +0000 (09:50 +0200)]
icinga.com: Update everything else

6 years agoicinga.com: Update test and tools
Michael Friedrich [Thu, 18 Oct 2018 07:45:36 +0000 (09:45 +0200)]
icinga.com: Update test and tools

6 years agoicinga.com: Update '*.sql'
Michael Friedrich [Thu, 18 Oct 2018 07:41:54 +0000 (09:41 +0200)]
icinga.com: Update '*.sql'

6 years agoicinga.com: Update icinga-app
Michael Friedrich [Thu, 18 Oct 2018 07:39:34 +0000 (09:39 +0200)]
icinga.com: Update icinga-app

6 years agoicinga.com: Update config files (ITL, etc.)
Michael Friedrich [Thu, 18 Oct 2018 07:36:22 +0000 (09:36 +0200)]
icinga.com: Update config files (ITL, etc.)

6 years agoicinga.com: Update CMakeLists.txt
Michael Friedrich [Thu, 18 Oct 2018 07:35:18 +0000 (09:35 +0200)]
icinga.com: Update CMakeLists.txt

6 years agoicinga.com: Update docs for /community/get-involved -> /community
Michael Friedrich [Thu, 18 Oct 2018 07:32:14 +0000 (09:32 +0200)]
icinga.com: Update docs for /community/get-involved -> /community

6 years agoicinga.com: Update '*.ti'
Michael Friedrich [Thu, 18 Oct 2018 07:30:00 +0000 (09:30 +0200)]
icinga.com: Update '*.ti'

6 years agoicinga.com: Update '*.h'
Michael Friedrich [Thu, 18 Oct 2018 07:29:29 +0000 (09:29 +0200)]
icinga.com: Update '*.h'

6 years agoicinga.com: Update *.{h,c}pp
Michael Friedrich [Thu, 18 Oct 2018 07:27:04 +0000 (09:27 +0200)]
icinga.com: Update *.{h,c}pp

6 years agoMerge pull request #6696 from Icinga/bugfix/remove-default-environment
Michael Friedrich [Wed, 17 Oct 2018 11:01:24 +0000 (13:01 +0200)]
Merge pull request #6696 from Icinga/bugfix/remove-default-environment

Remove default environment, regression from e678fa1aa5

6 years agoRemove default environment, regression from e678fa1aa5 6696/head
Michael Friedrich [Wed, 17 Oct 2018 10:45:13 +0000 (12:45 +0200)]
Remove default environment, regression from e678fa1aa5

refs #6512
fixes #6694

6 years agoMerge pull request #6691 from Icinga/bugfix/reload-signal-handler-dump-state-file
Michael Friedrich [Tue, 16 Oct 2018 12:05:17 +0000 (14:05 +0200)]
Merge pull request #6691 from Icinga/bugfix/reload-signal-handler-dump-state-file

Add missing shutdown/program state dumps for SIGUSR2 reload handler

6 years agoMerge pull request #6690 from jacksgt/patch-1
Michael Friedrich [Tue, 16 Oct 2018 10:42:01 +0000 (12:42 +0200)]
Merge pull request #6690 from jacksgt/patch-1

Extend 09-object-types.md with argument array

6 years agoMerge pull request #6692 from Icinga/feature/docs-release-chocolatey
Michael Friedrich [Tue, 16 Oct 2018 10:40:38 +0000 (12:40 +0200)]
Merge pull request #6692 from Icinga/feature/docs-release-chocolatey

Update release docs for Chocolatey

6 years agoAdd missing shutdown/program state dumps for SIGUSR2 reload handler 6691/head
Michael Friedrich [Tue, 16 Oct 2018 09:54:14 +0000 (11:54 +0200)]
Add missing shutdown/program state dumps for SIGUSR2 reload handler

Credits to @west0rmann finding the issue and providing the initial fix.

fixes #6689
fixes #6592

6 years agoExtend 09-object-types.md with argument array 6690/head
Jack [Tue, 16 Oct 2018 09:40:00 +0000 (11:40 +0200)]
Extend 09-object-types.md with argument array

Add a small snippet demonstrating how to define an argument array instead of a simple string.

6 years agoMerge pull request #6685 from Icinga/bugfix/api-permission-filters
Michael Friedrich [Mon, 15 Oct 2018 15:02:14 +0000 (17:02 +0200)]
Merge pull request #6685 from Icinga/bugfix/api-permission-filters

Fix regression with API permission filters and namespaces in v2.10

6 years agoUpdate release docs for Chocolatey 6692/head
Michael Friedrich [Mon, 15 Oct 2018 14:27:25 +0000 (16:27 +0200)]
Update release docs for Chocolatey

refs #6683

6 years agoFix regression with API permission filters and namespaces in v2.10 6685/head
Michael Friedrich [Mon, 15 Oct 2018 09:44:28 +0000 (11:44 +0200)]
Fix regression with API permission filters and namespaces in v2.10

fixes #6682

6 years agoMerge pull request #6679 from Icinga/bugfix/initialize-initrundir-constant-on-windows
Michael Friedrich [Mon, 15 Oct 2018 07:38:35 +0000 (09:38 +0200)]
Merge pull request #6679 from Icinga/bugfix/initialize-initrundir-constant-on-windows

Initialize Configuration::InitRunDir for Windows and writing the PID file

6 years agoMerge pull request #6681 from sebastic/spelling-errors
Michael Friedrich [Mon, 15 Oct 2018 07:30:16 +0000 (09:30 +0200)]
Merge pull request #6681 from sebastic/spelling-errors

Fix spelling errors.

6 years agoInitialize Configuration::InitRunDir for Windows and writing the PID file 6679/head
Michael Friedrich [Fri, 12 Oct 2018 14:18:55 +0000 (16:18 +0200)]
Initialize Configuration::InitRunDir for Windows and writing the PID file

Even if this some Unix specific stuff, we rely on writing this file
in our generic application code. Therefore its path needs to be specified.

This got broken with 9fbc406 which renamed RunDir to InitRunDir, but
didn't re-add it to the Windows #ifdefs.

fixes #6677

6 years agoFix spelling errors. 6681/head
Bas Couwenberg [Mon, 15 Oct 2018 06:56:18 +0000 (08:56 +0200)]
Fix spelling errors.

 compatiblity -> compatibility

6 years agoMerge pull request #6674 from Icinga/feature/docs-distributed-zones-endpoints
Michael Friedrich [Fri, 12 Oct 2018 08:53:36 +0000 (10:53 +0200)]
Merge pull request #6674 from Icinga/feature/docs-distributed-zones-endpoints

Add a note to the docs on >2 endpoints in a zone

6 years agoAdd a note to the docs on >2 endpoints in a zone 6674/head
Michael Friedrich [Fri, 12 Oct 2018 08:49:03 +0000 (10:49 +0200)]
Add a note to the docs on >2 endpoints in a zone

This is missing, I cannot remember how it went away.
Questions are coming frequently recently.

6 years agoMerge pull request #6673 from Icinga/feature/release-docs
Michael Friedrich [Fri, 12 Oct 2018 08:22:21 +0000 (10:22 +0200)]
Merge pull request #6673 from Icinga/feature/release-docs

Update RELEASE docs

6 years agoMerge pull request #6672 from dupondje/zone_upgrade_docs
Michael Friedrich [Fri, 12 Oct 2018 08:10:35 +0000 (10:10 +0200)]
Merge pull request #6672 from dupondje/zone_upgrade_docs

Extend upgrade docs

6 years agoUpdate RELEASE docs 6673/head
Michael Friedrich [Fri, 12 Oct 2018 08:08:28 +0000 (10:08 +0200)]
Update RELEASE docs

- GH Milestone prior to changelog script run
- Branching for package repos
- Infos for updating the online docs with Puppet
- Example for Debian Stretch package tests with Docker
- Drop Google+ URL

6 years agoExtend upgrade docs 6672/head
Jean-Louis Dupond [Fri, 12 Oct 2018 08:05:20 +0000 (10:05 +0200)]
Extend upgrade docs

6 years agoRelease version 2.10.0 v2.10.0
Michael Friedrich [Thu, 11 Oct 2018 12:01:05 +0000 (14:01 +0200)]
Release version 2.10.0

6 years agoMerge pull request #6669 from Icinga/feature/no-errors-with-indexer-access-in-namespaces
Michael Friedrich [Thu, 11 Oct 2018 11:21:11 +0000 (13:21 +0200)]
Merge pull request #6669 from Icinga/feature/no-errors-with-indexer-access-in-namespaces

Don't throw an error when namespace indexers don't find a valid key

6 years agoMerge pull request #6670 from Icinga/feature/docs-technical-concepts-config-compiler
Michael Friedrich [Thu, 11 Oct 2018 11:20:51 +0000 (13:20 +0200)]
Merge pull request #6670 from Icinga/feature/docs-technical-concepts-config-compiler

Add technical concepts for the config compiler and daemon CLI command

6 years agoAdd technical concepts for the config compiler and daemon CLI command 6670/head
Michael Friedrich [Thu, 11 Oct 2018 10:59:24 +0000 (12:59 +0200)]
Add technical concepts for the config compiler and daemon CLI command

refs #6589

6 years agoDon't throw an error when namespace indexers don't find a valid key 6669/head
Michael Friedrich [Thu, 11 Oct 2018 10:42:56 +0000 (12:42 +0200)]
Don't throw an error when namespace indexers don't find a valid key

Examples:

```
globals["abc"]
globals.def
```

The patch for the Icinga Director unfortunately only solves the
master, and as discussed with @lippserd we need to ensure that
satellites and clients with 2.10 can be restarted without any errors
from deployed configuration.

refs #6509
refs icinga/icingaweb2-module-director#1654

6 years agoMerge pull request #6668 from Icinga/feature/enhance-vim-syntax-highlighting
Michael Friedrich [Wed, 10 Oct 2018 13:57:33 +0000 (15:57 +0200)]
Merge pull request #6668 from Icinga/feature/enhance-vim-syntax-highlighting

Enhance vim syntax highlighting for 2.10

6 years agoEnhance vim syntax highlighting for 2.10 6668/head
Michael Friedrich [Wed, 10 Oct 2018 13:20:56 +0000 (15:20 +0200)]
Enhance vim syntax highlighting for 2.10

- object types (and 'host' inside apply) are now green again
- special underlined macro highlighting
- add missing object types, attributes and constants
- add new constants and namespaces/references for 2.10
- Large refactoring into sub matches

I don't use nano, so we need a nano hero to incorporate
these changes here into their syntax highlighting file :)

refs #5683

6 years agoMerge pull request #6665 from stblassitude/master
Michael Friedrich [Wed, 10 Oct 2018 07:11:43 +0000 (09:11 +0200)]
Merge pull request #6665 from stblassitude/master

Make the two modes of check_http more obvious.

6 years agoMake the two modes of check_http more obvious. 6665/head
Stefan Bethke [Tue, 9 Oct 2018 22:52:59 +0000 (00:52 +0200)]
Make the two modes of check_http more obvious.

See https://github.com/monitoring-plugins/monitoring-plugins/issues/1553

6 years agoMerge pull request #6664 from Icinga/bugfix/daemonize-socketeventengine-threads
Michael Friedrich [Tue, 9 Oct 2018 18:00:00 +0000 (20:00 +0200)]
Merge pull request #6664 from Icinga/bugfix/daemonize-socketeventengine-threads

Revert "Initialize Socket Event Engine on application startup"

6 years agoRevert "Initialize Socket Event Engine on application startup" 6664/head
Michael Friedrich [Tue, 9 Oct 2018 17:38:29 +0000 (19:38 +0200)]
Revert "Initialize Socket Event Engine on application startup"

This reverts commit c8dcd1297f6d0be8685c5a3079e40fc44e779add.

We cannot do this during application startup, since Daemonize()
kills the threads again.

refs #6514
refs #6630

6 years agoMerge pull request #6663 from Icinga/feature/silence-logging-runtime-object-creation
Michael Friedrich [Tue, 9 Oct 2018 15:10:21 +0000 (17:10 +0200)]
Merge pull request #6663 from Icinga/feature/silence-logging-runtime-object-creation

Silence config compiler logging for runtime created objects

6 years agoSilence config compiler logging for runtime created objects 6663/head
Michael Friedrich [Tue, 9 Oct 2018 14:41:17 +0000 (16:41 +0200)]
Silence config compiler logging for runtime created objects

This is especially problematic with many single creation requests,
e.g. many downtimes created via Icinga Web 2 & the REST API.

In addition to the config compiler messages, apply rule matches are
also in there which are removed by this patch.

6 years agoKeep the HTTP server connection open until the stream is EOF 6662/head
Michael Friedrich [Tue, 9 Oct 2018 14:01:43 +0000 (16:01 +0200)]
Keep the HTTP server connection open until the stream is EOF

fixes #4968

6 years agoMerge pull request #6661 from Icinga/bugfix/cache-http-peer-address
Michael Friedrich [Tue, 9 Oct 2018 14:00:27 +0000 (16:00 +0200)]
Merge pull request #6661 from Icinga/bugfix/cache-http-peer-address

Cache the peer address in the HTTP server

6 years agoCache the peer address in the HTTP server 6661/head
Michael Friedrich [Tue, 9 Oct 2018 13:40:16 +0000 (15:40 +0200)]
Cache the peer address in the HTTP server

Later socket calls are expensive and might lead
into a race condition on close when logging it.

refs #6655

6 years agoMerge pull request #6658 from Icinga/bugfix/api-connection-close-req-by-client
Michael Friedrich [Tue, 9 Oct 2018 11:49:22 +0000 (13:49 +0200)]
Merge pull request #6658 from Icinga/bugfix/api-connection-close-req-by-client

Ensure that HTTP/1.0 or 'Connection: close' headers are properly disconnecting the client

6 years agoMerge pull request #6657 from Icinga/feature/api-debug-log-request-body
Michael Friedrich [Tue, 9 Oct 2018 11:29:00 +0000 (13:29 +0200)]
Merge pull request #6657 from Icinga/feature/api-debug-log-request-body

Enable the HTTP request body debug log entry for release builds

6 years agoEnsure that HTTP/1.0 or Connection: close headers are properly disconnecting the... 6658/head
Michael Friedrich [Tue, 9 Oct 2018 11:23:23 +0000 (13:23 +0200)]
Ensure that HTTP/1.0 or Connection: close headers are properly disconnecting the client

Test results: https://github.com/Icinga/icinga2/issues/6514#issuecomment-428155731

fixes #6514

6 years agoEnable the HTTP request body debug log entry for release builds 6657/head
Michael Friedrich [Tue, 9 Oct 2018 10:55:53 +0000 (12:55 +0200)]
Enable the HTTP request body debug log entry for release builds

fixes #4282

6 years agoMerge pull request #6655 from Icinga/feature/api-http-disconnect-log
Michael Friedrich [Tue, 9 Oct 2018 10:37:41 +0000 (12:37 +0200)]
Merge pull request #6655 from Icinga/feature/api-http-disconnect-log

Improve logging for disconnected HTTP clients

6 years agoImprove logging for disconnected HTTP clients 6655/head
Michael Friedrich [Tue, 9 Oct 2018 10:22:19 +0000 (12:22 +0200)]
Improve logging for disconnected HTTP clients

Previously this was inside the debug log, with the
new socket printers we can enhance checking for proper
connects and disconnects.

refs #6514

6 years agoMerge pull request #6651 from Icinga/feature/check-swap-show-used
Michael Friedrich [Tue, 9 Oct 2018 06:36:22 +0000 (08:36 +0200)]
Merge pull request #6651 from Icinga/feature/check-swap-show-used

Add 'used' feature to check_swap

6 years agoUpdate ITL for windows check_swap 'used' feature 6651/head
Michael Insel [Sat, 6 Oct 2018 18:26:15 +0000 (20:26 +0200)]
Update ITL for windows check_swap 'used' feature

6 years agoMerge pull request #6646 from teclogi/master
Michael Friedrich [Mon, 8 Oct 2018 14:55:09 +0000 (16:55 +0200)]
Merge pull request #6646 from teclogi/master

Update ITL and Docs for memory-windows - show used

6 years agoMerge pull request #6503 from peteeckel/fix/reduce-loglevel-plugin-env-6460
Michael Friedrich [Mon, 8 Oct 2018 12:09:18 +0000 (14:09 +0200)]
Merge pull request #6503 from peteeckel/fix/reduce-loglevel-plugin-env-6460

Reduce the log level for missing env macros to debug

6 years agoAdd 'used' parameter to memory-windows ITL command 6646/head
teclogi [Mon, 1 Oct 2018 10:02:30 +0000 (12:02 +0200)]
Add 'used' parameter to memory-windows ITL command

6 years agoMerge pull request #6652 from Icinga/bugfix/check-memory-used-thresholds
Michael Friedrich [Mon, 8 Oct 2018 11:18:26 +0000 (13:18 +0200)]
Merge pull request #6652 from Icinga/bugfix/check-memory-used-thresholds

Fix check_memory thresholds in 'used' mode

6 years agoMerge pull request #6647 from Icinga/bugfix/node-setup-master-accept-config-commands
Michael Friedrich [Mon, 8 Oct 2018 11:12:02 +0000 (13:12 +0200)]
Merge pull request #6647 from Icinga/bugfix/node-setup-master-accept-config-commands

node setup: always respect --accept-config and --accept-commands

6 years agoAdd 'used' feature to check_swap
Michael Insel [Thu, 4 Oct 2018 08:55:21 +0000 (10:55 +0200)]
Add 'used' feature to check_swap

This implements the _used_ feature to check_swap to print the used swap
instead of the default available swap.

6 years agoFix check_memory thresholds in 'used' mode 6652/head
Michael Insel [Thu, 4 Oct 2018 09:06:27 +0000 (11:06 +0200)]
Fix check_memory thresholds in 'used' mode

The thresholds in the used mode now breaks if the value is bigger than
the threshold.

6 years agonode setup: always respect --accept-config and --accept-commands 6647/head
Alexander A. Klimov [Mon, 1 Oct 2018 14:24:37 +0000 (16:24 +0200)]
node setup: always respect --accept-config and --accept-commands

6 years agoMerge pull request #6643 from Icinga/bugfix/command-timeout-notifications
Michael Friedrich [Fri, 28 Sep 2018 14:21:05 +0000 (16:21 +0200)]
Merge pull request #6643 from Icinga/bugfix/command-timeout-notifications

Fix that check_timeout was used for Event/Notification commands too

6 years agoFix that check_timeout was used for Event/Notification commands too 6643/head
Michael Friedrich [Fri, 28 Sep 2018 12:32:57 +0000 (14:32 +0200)]
Fix that check_timeout was used for Event/Notification commands too

We may add specific timeouts for event/notification commands
later, for now the original timeout inside the EventCommand/NotificationCommand
is used.

fixes #6304

6 years agoMerge pull request #6642 from Icinga/bugfix/concurrent-checks-constant
Michael Friedrich [Fri, 28 Sep 2018 07:34:53 +0000 (09:34 +0200)]
Merge pull request #6642 from Icinga/bugfix/concurrent-checks-constant

Allow to override MaxConcurrentChecks constant

6 years agoMerge pull request #6546 from WuerthPhoenix/fix/define-switches-not-passed-during...
Michael Friedrich [Fri, 28 Sep 2018 07:31:07 +0000 (09:31 +0200)]
Merge pull request #6546 from WuerthPhoenix/fix/define-switches-not-passed-during-config-test

Overridden path constants not passed to config validation in /v1/config/stages API call

6 years agoDon't inherit daemonize parameter from parent process 6546/head
Michael Friedrich [Thu, 27 Sep 2018 18:30:19 +0000 (20:30 +0200)]
Don't inherit daemonize parameter from parent process

6 years agoFix config validation problem (startup.log) during /v1/config/stages API call
Thomas Forrer [Wed, 22 Aug 2018 12:47:57 +0000 (14:47 +0200)]
Fix config validation problem (startup.log) during /v1/config/stages API call

copy all arguments of parent process in AsyncTryActivateStage

6 years agoAllow to override MaxConcurrentChecks constant 6642/head
Michael Friedrich [Thu, 27 Sep 2018 18:23:00 +0000 (20:23 +0200)]
Allow to override MaxConcurrentChecks constant

6 years agoMerge pull request #6313 from Icinga/fix/win-check-swap
Michael Friedrich [Thu, 27 Sep 2018 08:08:47 +0000 (10:08 +0200)]
Merge pull request #6313 from Icinga/fix/win-check-swap

Fix wrong calculation of check_swap windows plugin

6 years agoMerge pull request #6639 from Icinga/fix/windows-api-log-rename
Michael Friedrich [Thu, 27 Sep 2018 06:02:00 +0000 (08:02 +0200)]
Merge pull request #6639 from Icinga/fix/windows-api-log-rename

Ensure to _unlink before renaming replay log on Windows

6 years agoFix issue 5022
Jordi van Scheijen [Thu, 22 Jun 2017 10:31:32 +0000 (12:31 +0200)]
Fix issue 5022