Commit Graph

10243 Commits

Author SHA1 Message Date
Michael Friedrich a25e2b1038 Stop object in reversed activation priority order
This stops the checker component first, then notifications, then
features, then config objects, then the API feature and logger(s).

Patch taken from @al2klimov
2019-02-20 12:38:57 +01:00
Michael Friedrich 9d5dc4afc1 Start the checker component at the latest point possible 2019-02-20 12:37:48 +01:00
Michael Friedrich cc8dd42c0a Start the notification component after general features 2019-02-20 12:11:59 +01:00
Michael Friedrich 7b2b45b503 Revert "InfluxdbWriter#Stop(): flush buffer"
This reverts commit 8470facfe2.
2019-02-19 14:54:28 +01:00
Michael Friedrich 5da1cbd096 Revert "Respect activation priority also on deactivation"
This reverts commit 8ad1717055.
2019-02-19 14:30:44 +01:00
Michael Friedrich 4edd3ece66 Revert "Deactivate perfdata writers after checker"
This reverts commit f0e12ff63c.
2019-02-19 14:06:15 +01:00
Michael Friedrich d2e049d575 Revert "CheckerComponent#Stop(): log after actually being stopped"
This reverts commit b81aa6af3a.
2019-02-19 14:05:07 +01:00
Michael Friedrich a2f5b7a02c Revert "CheckerComponent#Stop(): wait for all running checks"
This reverts commit 1eaad0637b.
2019-02-19 14:05:00 +01:00
Michael Friedrich 7d3f60f561
Merge pull request #6958 from Icinga/feature/debug-log-stop
Debug: Log calls to ConfigObject::Deactivate()
2019-02-19 13:52:39 +01:00
Michael Friedrich d98c0704c4 Debug: Log calls to ConfigObject::Deactivate()
Only available in debug builds.
2019-02-19 13:49:52 +01:00
Michael Friedrich 01befd7e32
Merge pull request #6956 from Icinga/bugfix/doc-escape-pipe-symbol
Escape pipe symbol in api documentation
2019-02-19 09:39:45 +01:00
Michael Insel 0042b54298 Escape pipe symbol in api documentation
This escapes the pipe symbol in the api documentation.

refs #6955
2019-02-18 16:22:34 +01:00
Michael Insel 4238b61185
Merge pull request #6949 from fluxX04/patch-1
Doc fix: update check_rbl parameter
2019-02-13 08:13:02 +01:00
Alex 71bc184de0
fixes check_rbl parameter typo 2019-02-13 07:44:20 +01:00
Michael Friedrich b08d485a41
Merge pull request #6857 from Icinga/bugfix/check_nscp_api-query-sorted-6536
Url#m_Query: preserve order
2019-02-11 17:57:32 +01:00
Michael Friedrich 845c72f656
Merge pull request #6882 from Icinga/bugfix/influxdb-gaps-6841
InfluxdbWriter#Stop(): flush buffer
2019-02-11 17:32:05 +01:00
Michael Friedrich 0467c488e9
Merge pull request #6908 from Icinga/bugfix/perfdata-gaps
Ensure all perfdata to be written
2019-02-11 17:27:44 +01:00
Michael Friedrich 7a865aefd9
Merge pull request #6854 from Icinga/bugfix/unamehelper-inefficient-6452
Make UnameHelper() efficient
2019-02-11 16:57:17 +01:00
Michael Friedrich 53981ec86f
Merge pull request #6934 from Icinga/bugfix/boost-version-6933
Raise required Boost version to 1.53
2019-02-11 16:53:27 +01:00
Michael Friedrich b81f7a7415
Merge pull request #6577 from Icinga/fix/setup-api-including-users-file
Include api user configuration file during api setup
2019-02-11 16:41:46 +01:00
Michael Friedrich 4c1a54073c
Merge pull request #6748 from Icinga/bugfix/api-setup-fails-missing-confd
Fix api setup to automatically create the conf.d directory
2019-02-11 16:35:57 +01:00
Michael Friedrich 5180bb3a24
Merge pull request #6943 from peteeckel/bugfix/apilistener-duplicate-log-entries-6942
Avoid duplicating non-zero count message replay messages in the debug log
2019-02-11 15:32:50 +01:00
Michael Friedrich 24dd6dcf0c
Merge pull request #6944 from Icinga/feature/docs-windows-agent-throubleshooting
Troubleshooting: Add notes on ephemeral port range blocking on Windows agents
2019-02-11 14:38:33 +01:00
Michael Friedrich 6558287da0 Troubleshooting: Add notes on ephemeral port range blocking on Windows agents 2019-02-11 14:32:02 +01:00
Peter Eckel 5d59863725 Avoid duplicating non-zero count message replay messages in the debug log 2019-02-11 13:54:17 +01:00
Michael Friedrich 501d807956
Merge pull request #6940 from Icinga/bugfix/fix-check-swap-6913
Fix check_swap percentage calculation
2019-02-11 09:46:59 +01:00
Alexander A. Klimov c693a07399 Raise required Boost version to 1.53
refs #6933
2019-02-08 17:33:46 +01:00
Michael Insel 4961e9ba62 Fix check_swap percentage calculation
This fixes the check_swap percentage calculation. When the pagefile is
turned off the available swap and total swap are 0 which leads to a
wrong calculation and misformated output.

refs #6913
2019-02-08 17:01:49 +01:00
Michael Friedrich e555b2fa6d
Merge pull request #6894 from Icinga/bugfix/checkresults-from-the-future-6797
Fix checkresults from the future breaking checks
2019-02-08 13:48:12 +01:00
Michael Friedrich d1fb1a8eda Refactor conditions and add debug log messages for future crs and skipped crs 2019-02-08 13:32:13 +01:00
Jean Flach c97f3c80f5 Fix checkresults from the future breaking checks 2019-02-08 12:08:40 +01:00
Michael Friedrich d2755351d3
Merge pull request #6935 from Icinga/feature/enhance-notification-logging
Enhance notification logging
2019-02-08 11:54:09 +01:00
Michael Friedrich 7ce30a86b8 Enhance notification logging
- More details from the local context (notification, user, checkable, command names)
- Notice logs for when this notification object is paused in HA enabled zones
- Notice logs for interval=0 reminder notifications
- Object name for skipping recovery notifications when problem hasn't been notified before
2019-02-07 15:42:09 +01:00
Alexander A. Klimov 8ad1717055 Respect activation priority also on deactivation 2019-02-06 11:17:45 +01:00
Michael Friedrich 4339240b46
Merge pull request #6858 from Icinga/feature/string-builder
Make string builder reusable
2019-02-04 16:05:20 +01:00
Michael Friedrich 30f0f6676e
Merge pull request #6928 from Icinga/doc/windows-devel-dot-net-2
Doc: Add .NET 3.5 to the windows build stack
2019-02-04 15:50:04 +01:00
Michael Friedrich 77572c4424
Merge pull request #6901 from Icinga/bugfix/so_reuseport-6898
TcpSocket#Bind(): also set SO_REUSEPORT
2019-02-04 14:21:20 +01:00
Michael Friedrich 04de273405
Merge pull request #6914 from Icinga/bugfix/clusterevents-missing-persistent-ack
ClusterEvents::AcknowledgementSet event should forward 'persistent' attribute
2019-02-04 13:52:44 +01:00
Michael Friedrich 5a8729fddd
Merge pull request #6853 from Icinga/bugfix/incorrect-command_endpoint-6666
Checkable: require zone to be set if command_endpoint is set
2019-02-04 13:51:31 +01:00
Michael Insel 52d81d0af5 Doc: Add .NET 3.5 to the windows build stack
The Windows Agent Wizard is currently build on .NET Framework 2.0, which
is not installed by default on Windows 10. This adds a note to the
development documentation to install the .NET Framework 3.5 (which
includes .NET Framework 2.0) component on Windows 10.
2019-02-01 16:46:28 +01:00
Michael Friedrich ab36724647
Merge pull request #6926 from miso231/feature/itl-cloudera-checks
Feature/itl cloudera checks
2019-01-31 16:20:09 +01:00
Michal Petko 6ed5d4807f Use full command name as prefix for check arguments 2019-01-31 15:58:46 +01:00
Michael Friedrich c9fe1dbd15
Merge pull request #6925 from Icinga/bugfix/check-swap-format
Fix check_swap formatting
2019-01-31 09:13:41 +01:00
Michal Petko ab7e3a8514 Add documentation to cloudera checks 2019-01-31 08:11:31 +01:00
Michal Petko aad7107396 Add check commands for HDFS file count and used space 2019-01-31 07:59:44 +01:00
Michael Insel 7ba4d49505 Fix check_swap formatting
This fixes a small formatting mistake introduced by #6811. To keep the
check_swap output in sync with all other plugins I fixed the formatting.
2019-01-30 19:41:24 +01:00
Michael Friedrich eb155495f7
Merge pull request #6916 from Icinga/bugfix/retry-interval-zero
Don't allow retry_interval <= 0
2019-01-30 15:28:26 +01:00
Michael Friedrich b334c3259e
Merge pull request #6924 from Icinga/bugfix/convert-long-double
Fix double to long conversions
2019-01-30 15:18:12 +01:00
Michael Friedrich b58cb17e4b Fix Convert::ToLong(double val) 2019-01-30 14:47:59 +01:00
Michael Friedrich b1362aeb9b Add a unit test for Convert::ToLong(double) - fails 2019-01-30 14:23:57 +01:00