Commit Graph

9930 Commits

Author SHA1 Message Date
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 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
Michael Friedrich fbf4546357
Merge pull request #6313 from Icinga/fix/win-check-swap
Fix wrong calculation of check_swap windows plugin
2018-09-27 10:08:47 +02:00
Michael Friedrich 64e273afdd
Merge pull request #6639 from Icinga/fix/windows-api-log-rename
Ensure to _unlink before renaming replay log on Windows
2018-09-27 08:02:00 +02:00
Jordi van Scheijen bc1dc9c7a7 Fix issue 5022 2018-09-27 07:52:37 +02:00
Michael Friedrich 87e5f89a83 Merge branch 'support/2.9' 2018-09-26 10:47:41 +02:00
Michael Friedrich 1f960de940 Release version 2.9.2 2018-09-26 10:47:37 +02:00
Michael Friedrich d3fcdc1cc2 Release version 2.9.2 2018-09-25 17:29:23 +02:00
Michael Friedrich c979f86e4e
Merge pull request #6632 from Icinga/feature/cluster-faster-reconnect
Increase the cluster reconnect frequency to 10s
2018-09-25 17:07:01 +02:00
Michael Friedrich 2e33ca6fc4
Merge pull request #6633 from Icinga/feature/apilistener-conn-thread-pool
Use a dynamic thread pool for API connections
2018-09-25 17:06:40 +02:00
Michael Friedrich cbde35ff22 Use a dynamic thread pool for API connections
The full analysis is located in #6517.

fixes #6517
2018-09-25 12:43:10 +02:00
Michael Friedrich cd819f74f4 Increase the cluster reconnect frequency to 10s
This is blocked by #6517.

refs #6234
2018-09-25 12:36:30 +02:00
Michael Friedrich 4695e620d0
Merge pull request #6630 from Icinga/bugfix/socket-events-init
Initialize Socket Event Engine on application startup
2018-09-25 11:57:35 +02:00
Michael Friedrich c8dcd1297f Initialize Socket Event Engine on application startup
Previously this happened inside the TlsStream constructor
during the first connection attempt.
2018-09-24 15:50:59 +02:00
Jean Flach 6f20749fb8 Update variable names
refs #6568
2018-09-20 11:47:05 +02:00
Markus Frosch bd927f1bd7 Ensure that config object types are committed in dependent load order
refs #6568
2018-09-20 11:46:46 +02:00
Jean Flach 6ebb507af7 Shuffle items before config validation
refs #6581
2018-09-20 11:45:54 +02:00