Commit Graph

9945 Commits

Author SHA1 Message Date
Michael Friedrich 3cccc9d9b8
Merge pull request #6685 from Icinga/bugfix/api-permission-filters
Fix regression with API permission filters and namespaces in v2.10
2018-10-15 17:02:14 +02:00
Michael Friedrich 34de8104b8 Fix regression with API permission filters and namespaces in v2.10
fixes #6682
2018-10-15 15:47:11 +02:00
Michael Friedrich db322ebce1
Merge pull request #6679 from Icinga/bugfix/initialize-initrundir-constant-on-windows
Initialize Configuration::InitRunDir for Windows and writing the PID file
2018-10-15 09:38:35 +02:00
Michael Friedrich c10a9ae08b
Merge pull request #6681 from sebastic/spelling-errors
Fix spelling errors.
2018-10-15 09:30:16 +02:00
Michael Friedrich 1c7fddb780 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
2018-10-15 09:24:46 +02:00
Bas Couwenberg f0aaecb90c Fix spelling errors.
compatiblity -> compatibility
2018-10-15 08:56:18 +02:00
Michael Friedrich 71a8f35354
Merge pull request #6674 from Icinga/feature/docs-distributed-zones-endpoints
Add a note to the docs on >2 endpoints in a zone
2018-10-12 10:53:36 +02:00
Michael Friedrich bec6cc4621 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.
2018-10-12 10:49:03 +02:00
Michael Friedrich 334e884aa7
Merge pull request #6673 from Icinga/feature/release-docs
Update RELEASE docs
2018-10-12 10:22:21 +02:00
Michael Friedrich 5e187eb09c
Merge pull request #6672 from dupondje/zone_upgrade_docs
Extend upgrade docs
2018-10-12 10:10:35 +02:00
Michael Friedrich 069ef4b825 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
2018-10-12 10:08:28 +02:00
Jean-Louis Dupond e8ecc770d0 Extend upgrade docs 2018-10-12 10:05:20 +02:00
Michael Friedrich b86c918d4d Release version 2.10.0 2018-10-11 14:01:05 +02:00
Michael Friedrich a3cfa5fba4
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
2018-10-11 13:21:11 +02:00
Michael Friedrich eaa4b1aa76
Merge pull request #6670 from Icinga/feature/docs-technical-concepts-config-compiler
Add technical concepts for the config compiler and daemon CLI command
2018-10-11 13:20:51 +02:00
Michael Friedrich b44750f620 Add technical concepts for the config compiler and daemon CLI command
refs #6589
2018-10-11 13:04:14 +02:00
Michael Friedrich 43a571e013 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
2018-10-11 12:42:56 +02:00
Michael Friedrich 8bc5642ad5
Merge pull request #6668 from Icinga/feature/enhance-vim-syntax-highlighting
Enhance vim syntax highlighting for 2.10
2018-10-10 15:57:33 +02:00
Michael Friedrich 355b21a04c 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
2018-10-10 15:35:30 +02:00
Michael Friedrich 28ca481689
Merge pull request #6665 from stblassitude/master
Make the two modes of check_http more obvious.
2018-10-10 09:11:43 +02:00
Stefan Bethke 73a7230f1b Make the two modes of check_http more obvious.
See https://github.com/monitoring-plugins/monitoring-plugins/issues/1553
2018-10-10 00:52:59 +02:00
Michael Friedrich 1c880addd8
Merge pull request #6664 from Icinga/bugfix/daemonize-socketeventengine-threads
Revert "Initialize Socket Event Engine on application startup"
2018-10-09 20:00:00 +02:00
Michael Friedrich 4be9f418a9 Revert "Initialize Socket Event Engine on application startup"
This reverts commit c8dcd1297f.

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

refs #6514
refs #6630
2018-10-09 19:38:29 +02:00
Michael Friedrich 13c75b7113
Merge pull request #6663 from Icinga/feature/silence-logging-runtime-object-creation
Silence config compiler logging for runtime created objects
2018-10-09 17:10:21 +02:00
Michael Friedrich 85e161ea1e 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.
2018-10-09 16:41:17 +02:00
Michael Friedrich e6eb703b36
Merge pull request #6661 from Icinga/bugfix/cache-http-peer-address
Cache the peer address in the HTTP server
2018-10-09 16:00:27 +02:00
Michael Friedrich 5c32a5a7dc 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
2018-10-09 15:40:16 +02:00
Michael Friedrich 58cfc3955d
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
2018-10-09 13:49:22 +02:00
Michael Friedrich 9352f4bfb3
Merge pull request #6657 from Icinga/feature/api-debug-log-request-body
Enable the HTTP request body debug log entry for release builds
2018-10-09 13:29:00 +02:00
Michael Friedrich 13239c3172 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
2018-10-09 13:23:23 +02:00
Michael Friedrich 73263b7702 Enable the HTTP request body debug log entry for release builds
fixes #4282
2018-10-09 12:55:53 +02:00
Michael Friedrich 3a550e214c
Merge pull request #6655 from Icinga/feature/api-http-disconnect-log
Improve logging for disconnected HTTP clients
2018-10-09 12:37:41 +02:00
Michael Friedrich 57081176de 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
2018-10-09 12:22:19 +02:00
Michael Friedrich b2957bb812
Merge pull request #6651 from Icinga/feature/check-swap-show-used
Add 'used' feature to check_swap
2018-10-09 08:36:22 +02:00
Michael Insel ad1ab42393 Update ITL for windows check_swap 'used' feature 2018-10-08 21:17:03 +02:00
Michael Friedrich 2083910090
Merge pull request #6646 from teclogi/master
Update ITL and Docs for memory-windows - show used
2018-10-08 16:55:09 +02:00
Michael Friedrich 051b3ba9b7
Merge pull request #6503 from peteeckel/fix/reduce-loglevel-plugin-env-6460
Reduce the log level for missing env macros to debug
2018-10-08 14:09:18 +02:00
teclogi 4f3ab9b1c8 Add 'used' parameter to memory-windows ITL command 2018-10-08 13:40:26 +02:00
Michael Friedrich f0411150bb
Merge pull request #6652 from Icinga/bugfix/check-memory-used-thresholds
Fix check_memory thresholds in 'used' mode
2018-10-08 13:18:26 +02:00
Michael Friedrich be8504a738
Merge pull request #6647 from Icinga/bugfix/node-setup-master-accept-config-commands
node setup: always respect --accept-config and --accept-commands
2018-10-08 13:12:02 +02:00
Michael Insel 9390d7e453 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.
2018-10-06 20:26:43 +02:00
Michael Insel 002f59e53a Fix check_memory thresholds in 'used' mode
The thresholds in the used mode now breaks if the value is bigger than
the threshold.
2018-10-04 11:09:13 +02:00
Alexander A. Klimov 6d114b16e4 node setup: always respect --accept-config and --accept-commands 2018-10-01 16:33:50 +02:00
Michael Friedrich f5e14e28eb
Merge pull request #6643 from Icinga/bugfix/command-timeout-notifications
Fix that check_timeout was used for Event/Notification commands too
2018-09-28 16:21:05 +02:00
Michael Friedrich 617925374b 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
2018-09-28 14:32:57 +02:00
Michael Friedrich 7acf3689a7
Merge pull request #6642 from Icinga/bugfix/concurrent-checks-constant
Allow to override MaxConcurrentChecks constant
2018-09-28 09:34:53 +02:00
Michael Friedrich 1cae040274
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
2018-09-28 09:31:07 +02:00
Michael Friedrich 82178e3b33 Don't inherit daemonize parameter from parent process 2018-09-27 20:30:19 +02:00
Thomas Forrer 816cae98fa Fix config validation problem (startup.log) during /v1/config/stages API call
copy all arguments of parent process in AsyncTryActivateStage
2018-09-27 20:27:09 +02:00
Michael Friedrich 96c0de9bea Allow to override MaxConcurrentChecks constant 2018-09-27 20:23:00 +02:00