]>
granicus.if.org Git - icinga2/log
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
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
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
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
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
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
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.
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
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"
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
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
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.
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
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
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
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
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
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
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
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
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
Michael Insel [Sat, 6 Oct 2018 18:26:15 +0000 (20:26 +0200)]
Update ITL for windows check_swap 'used' feature
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
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
teclogi [Mon, 1 Oct 2018 10:02:30 +0000 (12:02 +0200)]
Add 'used' parameter to memory-windows ITL command
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
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
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.
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.
Alexander A. Klimov [Mon, 1 Oct 2018 14:24:37 +0000 (16:24 +0200)]
node setup: always respect --accept-config and --accept-commands
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
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
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
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
Michael Friedrich [Thu, 27 Sep 2018 18:30:19 +0000 (20:30 +0200)]
Don't inherit daemonize parameter from parent process
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
Michael Friedrich [Thu, 27 Sep 2018 18:23:00 +0000 (20:23 +0200)]
Allow to override MaxConcurrentChecks constant
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
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
Jordi van Scheijen [Thu, 22 Jun 2017 10:31:32 +0000 (12:31 +0200)]
Fix issue 5022
Michael Friedrich [Wed, 26 Sep 2018 08:47:41 +0000 (10:47 +0200)]
Merge branch 'support/2.9'
Michael Friedrich [Tue, 25 Sep 2018 15:29:23 +0000 (17:29 +0200)]
Release version 2.9.2
Michael Friedrich [Tue, 25 Sep 2018 15:29:23 +0000 (17:29 +0200)]
Release version 2.9.2
Michael Friedrich [Tue, 25 Sep 2018 15:07:01 +0000 (17:07 +0200)]
Merge pull request #6632 from Icinga/feature/cluster-faster-reconnect
Increase the cluster reconnect frequency to 10s
Michael Friedrich [Tue, 25 Sep 2018 15:06:40 +0000 (17:06 +0200)]
Merge pull request #6633 from Icinga/feature/apilistener-conn-thread-pool
Use a dynamic thread pool for API connections
Michael Friedrich [Mon, 24 Sep 2018 14:38:48 +0000 (16:38 +0200)]
Use a dynamic thread pool for API connections
The full analysis is located in #6517.
fixes #6517
Michael Friedrich [Mon, 24 Sep 2018 15:28:27 +0000 (17:28 +0200)]
Increase the cluster reconnect frequency to 10s
This is blocked by #6517.
refs #6234
Michael Friedrich [Tue, 25 Sep 2018 09:57:35 +0000 (11:57 +0200)]
Merge pull request #6630 from Icinga/bugfix/socket-events-init
Initialize Socket Event Engine on application startup
Michael Friedrich [Mon, 24 Sep 2018 13:50:59 +0000 (15:50 +0200)]
Initialize Socket Event Engine on application startup
Previously this happened inside the TlsStream constructor
during the first connection attempt.
Jean Flach [Wed, 22 Aug 2018 13:12:47 +0000 (15:12 +0200)]
Update variable names
refs #6568
Markus Frosch [Thu, 9 Aug 2018 09:55:20 +0000 (11:55 +0200)]
Ensure that config object types are committed in dependent load order
refs #6568
Jean Flach [Fri, 31 Aug 2018 11:11:50 +0000 (13:11 +0200)]
Shuffle items before config validation
refs #6581
Michael Friedrich [Wed, 5 Sep 2018 18:42:55 +0000 (20:42 +0200)]
Fix crash on API queries with Fedora 28 hardening and GCC 8
The actual fix is to handle nullptr references differently
for an empty filter expression. The other changes include
oob checks not necesarily involved.
fixes #6533
refs #6596
Michael Friedrich [Mon, 17 Sep 2018 09:20:49 +0000 (11:20 +0200)]
Merge pull request #6622 from Icinga/bugfix/ido-pgsql-cleanup-timestamp-utc
Ensure to use UTC timestamps for IDO PgSQL cleanup queries
Michael Friedrich [Mon, 17 Sep 2018 09:20:12 +0000 (11:20 +0200)]
Merge pull request #6616 from Icinga/feature/tls-handshake-timeout-config
Add ApiListener#tls_handshake_timeout option
Michael Friedrich [Mon, 17 Sep 2018 09:19:18 +0000 (11:19 +0200)]
Add a note about tls_handshake_timeout to upgrading docs
Michael Friedrich [Mon, 17 Sep 2018 09:16:47 +0000 (11:16 +0200)]
Merge pull request #6621 from Icinga/bugfix/ido-remove-unused-timestamp-function
Remove unused timestamp function in DB IDO
Michael Friedrich [Mon, 17 Sep 2018 09:16:29 +0000 (11:16 +0200)]
Merge pull request #6618 from Icinga/bugfix/nice-compiler-warning
Silence compiler warning for nice()
Michael Friedrich [Mon, 17 Sep 2018 07:51:20 +0000 (09:51 +0200)]
Ensure to use UTC timestamps for IDO PgSQL cleanup queries
refs #6584
Michael Friedrich [Mon, 17 Sep 2018 08:06:30 +0000 (10:06 +0200)]
Remove unused timestamp function in DB IDO
refs #6584
Michael Friedrich [Fri, 14 Sep 2018 12:29:52 +0000 (14:29 +0200)]
Silence compiler warning for nice()
Michael Friedrich [Thu, 13 Sep 2018 16:05:31 +0000 (18:05 +0200)]
Add ApiListener#tls_handshake_timeout option
This allows to specify the previously hardcoded
timeout of 10s.
refs #6517
Michael Friedrich [Thu, 13 Sep 2018 16:37:45 +0000 (18:37 +0200)]
Merge pull request #6615 from Icinga/feature/docs-distributed-monitoring
Update distributed monitoring docs for 2.10
Michael Friedrich [Thu, 13 Sep 2018 14:33:27 +0000 (16:33 +0200)]
Drop older than 2.8 references in distributed monitoring docs
With 2.10, 2.8 will be the least supported version, older doc
versions can still be found on GH if needed.
Michael Friedrich [Thu, 13 Sep 2018 14:19:38 +0000 (16:19 +0200)]
Distributed Monitoring Docs: Adopt three level scenario for CA proxy
fixes #6593
Michael Friedrich [Thu, 13 Sep 2018 13:13:03 +0000 (15:13 +0200)]
Distributed Monitoring Docs: Add versions and upgrade
refs #6612
Michael Friedrich [Thu, 13 Sep 2018 11:34:58 +0000 (13:34 +0200)]
Merge pull request #6519 from Icinga/fix/erroneous-console-exit
Reset terminal on erroneous console exit
Michael Friedrich [Thu, 13 Sep 2018 11:10:35 +0000 (13:10 +0200)]
Merge pull request #6610 from Icinga/feature/docs-technical-concepts-tls-network-io
Add "TLS Network IO" into technical concepts docs
Jean Flach [Tue, 4 Sep 2018 11:33:48 +0000 (13:33 +0200)]
Update workaround for custom vars
This updates #6572 which did not work
refs #6590
Jean Flach [Fri, 24 Aug 2018 09:03:29 +0000 (11:03 +0200)]
Add note about workaround for broken custom vars
refs #6572
Michael Friedrich [Fri, 27 Jul 2018 14:34:50 +0000 (16:34 +0200)]
Improve error logging for match/regex/cidr_match functions and unsupported dictionary usage
fixes #6442
refs #6497
Noah Hilverling [Thu, 6 Sep 2018 13:58:42 +0000 (15:58 +0200)]
Improve TLS handshake exception logging
refs #6602
Michael Friedrich [Wed, 12 Sep 2018 15:27:19 +0000 (17:27 +0200)]
Merge pull request #6527 from Icinga/feature/acknowledgment-notifications-6047
Acknowledgment notifications should only be send if problem notification has been send
Michael Friedrich [Wed, 12 Sep 2018 15:08:32 +0000 (17:08 +0200)]
Update notification and upgrading docs for recovery/acknowledgement handling
refs #6047
Michael Friedrich [Wed, 12 Sep 2018 15:04:11 +0000 (17:04 +0200)]
Only check for Problem types in user filers for Recovery/Acknowledgement notifications
refs #6047
Noah Hilverling [Tue, 4 Sep 2018 11:11:28 +0000 (13:11 +0200)]
Still notify on acknowledgement and recovery if user does not get problem notifications at all
refs #6047
Noah Hilverling [Tue, 7 Aug 2018 08:02:13 +0000 (10:02 +0200)]
Only send acknowledgement notification if user received a problem notification
refs #6047
Michael Friedrich [Wed, 12 Sep 2018 12:45:11 +0000 (14:45 +0200)]
Add "TLS Network IO" into technical concepts docs
refs #6517
Michael Friedrich [Wed, 12 Sep 2018 10:40:17 +0000 (12:40 +0200)]
Merge pull request #6607 from Icinga/feature/docs-dev-gdb-running-process
Enhance development docs with GDB backtrace and thread list
Michael Friedrich [Wed, 12 Sep 2018 10:32:00 +0000 (12:32 +0200)]
Enhance development docs with GDB backtrace and thread list
Michael Friedrich [Tue, 11 Sep 2018 18:44:12 +0000 (20:44 +0200)]
Merge pull request #6596 from Icinga/bugfix/gcc-8-f28-hardening-crash
Fix crash on API queries with Fedora 28 hardening and GCC 8
Michael Friedrich [Tue, 11 Sep 2018 08:55:35 +0000 (10:55 +0200)]
Merge pull request #6606 from Icinga/feature/enhance-contributing-docs
Enhance contributing docs
Michael Friedrich [Tue, 11 Sep 2018 07:30:33 +0000 (09:30 +0200)]
Mention 'help wanted' and 'good first issue' in contributing docs
Michael Friedrich [Tue, 11 Sep 2018 07:23:28 +0000 (09:23 +0200)]
Rename branch schema from `fix/` to `bugfix/`
Michael Friedrich [Tue, 11 Sep 2018 07:12:15 +0000 (09:12 +0200)]
Merge pull request #6573 from Icinga/bugfix/operator-docs-1
Fix operator precedence table
Jean Flach [Fri, 24 Aug 2018 12:50:16 +0000 (14:50 +0200)]
Fix operator precedence table
Fixes #5573
Michael Friedrich [Thu, 6 Sep 2018 15:01:22 +0000 (17:01 +0200)]
Merge pull request #6602 from Icinga/fix/improve-tls-handshake-exception-logging
Improve TLS handshake exception logging
Noah Hilverling [Thu, 6 Sep 2018 13:58:42 +0000 (15:58 +0200)]
Improve TLS handshake exception logging
Michael Friedrich [Thu, 6 Sep 2018 11:26:46 +0000 (13:26 +0200)]
Merge pull request #6595 from Icinga/feature/limit-anonymous-rpc-connections
Allow to configure anonymous clients limit inside the ApiListener object
Michael Friedrich [Thu, 6 Sep 2018 08:40:39 +0000 (10:40 +0200)]
Merge pull request #6598 from dominik-r-s/patch-1
doc/09-object-types: states filter ignored for Acknowledgements
Michael Friedrich [Thu, 6 Sep 2018 08:40:11 +0000 (10:40 +0200)]
Merge pull request #6597 from Icinga/feature/docs-development-fedora-debuginfos
Add Fedora to development docs for debuginfo packages
Michael Friedrich [Wed, 5 Sep 2018 18:44:44 +0000 (20:44 +0200)]
Add Fedora to development docs for debuginfo packages
Michael Friedrich [Wed, 5 Sep 2018 18:42:55 +0000 (20:42 +0200)]
Fix crash on API queries with Fedora 28 hardening and GCC 8
The actual fix is to handle nullptr references differently
for an empty filter expression. The other changes include
oob checks not necesarily involved.
fixes #6533
Michael Friedrich [Wed, 5 Sep 2018 15:45:35 +0000 (17:45 +0200)]
Allow to configure anonymous clients limit inside the ApiListener object
Previously this was hardcoded, and for security reasons users might want
to adjust this value. This affects CSR signing requests as well as
clients which have not yet been configured as endpoints on the current
node.
refs #6566
Michael Friedrich [Wed, 5 Sep 2018 15:44:05 +0000 (17:44 +0200)]
Raise the message size for anonymous client and pki request calls to 1MB
If one sends the full certificate chain, this previous limit of 64KB
could be hit.
dominik-r-s [Wed, 5 Sep 2018 14:46:36 +0000 (16:46 +0200)]
09-object-types: notifications: states filter ignored for Acknowledgements!
Michael Friedrich [Tue, 4 Sep 2018 14:54:30 +0000 (16:54 +0200)]
Merge pull request #6591 from Icinga/bugfix/lto-builds-static-initialize-namespaces
Fix static initializer priority for namespaces in LTO builds
Michael Friedrich [Tue, 4 Sep 2018 14:41:55 +0000 (16:41 +0200)]
Merge pull request #6590 from Icinga/fix/custom-var-workaround
Update workaround for custom vars
Michael Friedrich [Tue, 4 Sep 2018 13:17:34 +0000 (13:17 +0000)]
Fix static initializer priority for namespaces in LTO builds
fixes #6575
Jean Flach [Tue, 4 Sep 2018 13:24:43 +0000 (15:24 +0200)]
Merge pull request #6356 from sourcejedi/fix/systemd
Fix logging under systemd