]> granicus.if.org Git - icinga2/log
icinga2
5 years agoInfluxdbWriter: don't leak sockets 6990/head
Alexander A. Klimov [Fri, 1 Mar 2019 13:30:49 +0000 (14:30 +0100)]
InfluxdbWriter: don't leak sockets

refs #6989

5 years agoDefer: ensure not to throw any exceptions out of a destructor
Alexander A. Klimov [Fri, 1 Mar 2019 13:29:35 +0000 (14:29 +0100)]
Defer: ensure not to throw any exceptions out of a destructor

refs #6989

5 years agoMerge pull request #6970 from Icinga/bugfix/perfdata-gaps
Michael Friedrich [Tue, 26 Feb 2019 14:38:15 +0000 (15:38 +0100)]
Merge pull request #6970 from Icinga/bugfix/perfdata-gaps

Improve reload handling for features (metric & queue flush, activation priority)

5 years agoMerge branch 'support/2.10'
Michael Friedrich [Tue, 26 Feb 2019 09:31:50 +0000 (10:31 +0100)]
Merge branch 'support/2.10'

5 years agoRelease version 2.10.3
Michael Friedrich [Mon, 25 Feb 2019 15:53:13 +0000 (16:53 +0100)]
Release version 2.10.3

5 years agoMerge pull request #6974 from Icinga/feature/copyright-generic
Michael Friedrich [Tue, 26 Feb 2019 08:07:35 +0000 (09:07 +0100)]
Merge pull request #6974 from Icinga/feature/copyright-generic

Update to generic copyright header

5 years agoMerge pull request #6975 from sebastic/patch-1
Michael Friedrich [Tue, 26 Feb 2019 08:06:58 +0000 (09:06 +0100)]
Merge pull request #6975 from sebastic/patch-1

Fix nested hostgroup example

5 years agoFix nested hostgroup example 6975/head
Bas Couwenberg [Tue, 26 Feb 2019 07:49:36 +0000 (08:49 +0100)]
Fix nested hostgroup example

In Icinga 1.x the list of members was set on the group object, in Icinga 2 the list of groups is set on the member objects.

5 years agoRelease version 2.10.3 v2.10.3
Michael Friedrich [Mon, 25 Feb 2019 15:53:13 +0000 (16:53 +0100)]
Release version 2.10.3

5 years agoDynamically print current copyright year in `--version` output
Michael Friedrich [Mon, 7 Jan 2019 14:59:24 +0000 (15:59 +0100)]
Dynamically print current copyright year in `--version` output

(cherry picked from commit c1fedab7aea73f6aa9c9357c54c409665239d698)

5 years agoReplace a few more copyright strings 6974/head
Michael Friedrich [Mon, 25 Feb 2019 15:30:40 +0000 (16:30 +0100)]
Replace a few more copyright strings

5 years agoReplace Copyright header with a short version, part II
Michael Friedrich [Mon, 25 Feb 2019 14:09:36 +0000 (15:09 +0100)]
Replace Copyright header with a short version, part II

5 years agoReplace Copyright header with a short version, part I
Michael Friedrich [Mon, 25 Feb 2019 13:48:22 +0000 (14:48 +0100)]
Replace Copyright header with a short version, part I

CLion -> replace in path

5 years agoDynamically print current copyright year in `--version` output
Michael Friedrich [Mon, 7 Jan 2019 14:59:24 +0000 (15:59 +0100)]
Dynamically print current copyright year in `--version` output

5 years agoFix formatting in development docs
Michael Friedrich [Mon, 25 Feb 2019 12:40:58 +0000 (13:40 +0100)]
Fix formatting in development docs

(cherry picked from commit 710e4fa55e919032bd3b45c774130e1f938d3f81)

5 years agoMerge pull request #6972 from Icinga/bugfix/dev-docs
Michael Friedrich [Mon, 25 Feb 2019 12:48:51 +0000 (13:48 +0100)]
Merge pull request #6972 from Icinga/bugfix/dev-docs

Fix formatting in development docs

5 years agoFix formatting in development docs 6972/head
Michael Friedrich [Mon, 25 Feb 2019 12:40:58 +0000 (13:40 +0100)]
Fix formatting in development docs

5 years agoTest Utility::ComparePasswords()
Alexander A. Klimov [Fri, 22 Feb 2019 15:58:26 +0000 (16:58 +0100)]
Test Utility::ComparePasswords()

(cherry picked from commit 1b00331a88c396ab8c94188855074ed907a5bd66)

5 years agoSecure ApiUser::GetByAuthHeader() against timing attacks
Alexander A. Klimov [Fri, 22 Feb 2019 10:37:07 +0000 (11:37 +0100)]
Secure ApiUser::GetByAuthHeader() against timing attacks

(cherry picked from commit 9558ebc0f46febc7692bbb65394708b78b276d46)

5 years agoMerge pull request #6968 from Icinga/bugfix/timing-attack
Michael Friedrich [Mon, 25 Feb 2019 12:34:21 +0000 (13:34 +0100)]
Merge pull request #6968 from Icinga/bugfix/timing-attack

Secure ApiUser::GetByAuthHeader() against timing attacks

5 years agoMerge pull request #6971 from Icinga/bugfix/downtime-acti
Michael Friedrich [Mon, 25 Feb 2019 09:14:30 +0000 (10:14 +0100)]
Merge pull request #6971 from Icinga/bugfix/downtime-acti

Activate downtimes before any checkable object

5 years agoActivate downtimes before any checkable object 6971/head
Michael Friedrich [Wed, 20 Feb 2019 12:56:15 +0000 (13:56 +0100)]
Activate downtimes before any checkable object

(cherry picked from commit 7936a147ba82ce7e19de43ccb5f4c830edd8d235)

5 years agoImplement ReloadTimeout constant and wait for enqueued checks on Stop() 6970/head
Michael Friedrich [Fri, 22 Feb 2019 14:53:38 +0000 (15:53 +0100)]
Implement ReloadTimeout constant and wait for enqueued checks on Stop()

5 years agoTest Utility::ComparePasswords() 6968/head
Alexander A. Klimov [Fri, 22 Feb 2019 15:58:26 +0000 (16:58 +0100)]
Test Utility::ComparePasswords()

5 years agoSecure ApiUser::GetByAuthHeader() against timing attacks
Alexander A. Klimov [Fri, 22 Feb 2019 10:37:07 +0000 (11:37 +0100)]
Secure ApiUser::GetByAuthHeader() against timing attacks

5 years agoRe-add Defer functionality
Michael Friedrich [Fri, 22 Feb 2019 14:27:34 +0000 (15:27 +0100)]
Re-add Defer functionality

5 years agoMerge pull request #6963 from akrus/master
Michael Friedrich [Fri, 22 Feb 2019 10:43:41 +0000 (11:43 +0100)]
Merge pull request #6963 from akrus/master

Add missing args for apache-status and fix a few typos

5 years agoAdd missing args for apache-status and fix a few typos 6963/head
akrus [Fri, 22 Feb 2019 08:57:41 +0000 (10:57 +0200)]
Add missing args for apache-status and fix a few typos

5 years agoPerfdataWriter: Reset the rotation timer on Pause()
Michael Friedrich [Fri, 22 Feb 2019 08:34:16 +0000 (09:34 +0100)]
PerfdataWriter: Reset the rotation timer on Pause()

5 years agoMerge pull request #6896 from Icinga/bugfix/notification-delay-5561
Michael Friedrich [Fri, 22 Feb 2019 08:27:59 +0000 (09:27 +0100)]
Merge pull request #6896 from Icinga/bugfix/notification-delay-5561

Notification#BeginExecuteNotification(): SetNextNotification() correctly

5 years agoGelfWriter: Ensure to join queue and execute queries on Pause/Shutdown/Reload
Michael Friedrich [Wed, 20 Feb 2019 16:18:24 +0000 (17:18 +0100)]
GelfWriter: Ensure to join queue and execute queries on Pause/Shutdown/Reload

5 years agoOpenTsdbWriter: Ensure to reset reconnect timer on Pause()
Michael Friedrich [Wed, 20 Feb 2019 16:17:45 +0000 (17:17 +0100)]
OpenTsdbWriter: Ensure to reset reconnect timer on Pause()

5 years agoElasticWriter: Ensure to flush buffers on Pause/Shutdown/Reload
Michael Friedrich [Wed, 20 Feb 2019 16:11:39 +0000 (17:11 +0100)]
ElasticWriter: Ensure to flush buffers on Pause/Shutdown/Reload

5 years agoDB IDO: Improve queue handling on Pause/Shutdown/Reload
Michael Friedrich [Wed, 20 Feb 2019 16:10:46 +0000 (17:10 +0100)]
DB IDO: Improve queue handling on Pause/Shutdown/Reload

5 years agoInfluxdbWriter: Ensure to flush buffers after emptying the metrics queue on Pause...
Michael Friedrich [Wed, 20 Feb 2019 14:21:24 +0000 (15:21 +0100)]
InfluxdbWriter: Ensure to flush buffers after emptying the metrics queue on Pause/Shutdown/Reload

Patch taken from @al2klimov but moved into Pause()

5 years agoGraphiteWriter: Improve Pause/Shutdown/Reload handling for metrics
Michael Friedrich [Wed, 20 Feb 2019 13:54:23 +0000 (14:54 +0100)]
GraphiteWriter: Improve Pause/Shutdown/Reload handling for metrics

5 years agoPerfdataWriter: Rotate and close files on Pause/Shutdown/Reload
Michael Friedrich [Wed, 20 Feb 2019 13:20:53 +0000 (14:20 +0100)]
PerfdataWriter: Rotate and close files on Pause/Shutdown/Reload

Refactored the code into a local mutex and added
some more debug logging while at it.

5 years agoActivate downtimes before any checkable object
Michael Friedrich [Wed, 20 Feb 2019 12:56:15 +0000 (13:56 +0100)]
Activate downtimes before any checkable object

5 years agoStop the IcingaApplication at the latest point, before any loggers
Michael Friedrich [Wed, 20 Feb 2019 12:55:34 +0000 (13:55 +0100)]
Stop the IcingaApplication at the latest point, before any loggers

5 years agoStop object in reversed activation priority order
Michael Friedrich [Wed, 20 Feb 2019 11:38:57 +0000 (12:38 +0100)]
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

5 years agoStart the checker component at the latest point possible
Michael Friedrich [Wed, 20 Feb 2019 11:37:48 +0000 (12:37 +0100)]
Start the checker component at the latest point possible

5 years agoStart the notification component after general features
Michael Friedrich [Wed, 20 Feb 2019 11:11:59 +0000 (12:11 +0100)]
Start the notification component after general features

5 years agoMerge pull request #6953 from Icinga/bugfix/style
Michael Friedrich [Wed, 20 Feb 2019 10:32:29 +0000 (11:32 +0100)]
Merge pull request #6953 from Icinga/bugfix/style

Fix indent in configcompiler.cpp

5 years agoRevert "InfluxdbWriter#Stop(): flush buffer"
Michael Friedrich [Tue, 19 Feb 2019 13:54:28 +0000 (14:54 +0100)]
Revert "InfluxdbWriter#Stop(): flush buffer"

This reverts commit 8470facfe2d8437d5db75e4f84434991d30032c7.

5 years agoRevert "Respect activation priority also on deactivation"
Michael Friedrich [Tue, 19 Feb 2019 13:30:44 +0000 (14:30 +0100)]
Revert "Respect activation priority also on deactivation"

This reverts commit 8ad1717055683c573f81181c7749ba422fa96d13.

5 years agoRevert "Deactivate perfdata writers after checker"
Michael Friedrich [Tue, 19 Feb 2019 13:06:15 +0000 (14:06 +0100)]
Revert "Deactivate perfdata writers after checker"

This reverts commit f0e12ff63ce138b6df9e85bc690eda46ae794ccb.

5 years agoRevert "CheckerComponent#Stop(): log after actually being stopped"
Michael Friedrich [Tue, 19 Feb 2019 13:05:07 +0000 (14:05 +0100)]
Revert "CheckerComponent#Stop(): log after actually being stopped"

This reverts commit b81aa6af3a23cba179b9da03fda6d2674ccc0956.

5 years agoRevert "CheckerComponent#Stop(): wait for all running checks"
Michael Friedrich [Tue, 19 Feb 2019 13:05:00 +0000 (14:05 +0100)]
Revert "CheckerComponent#Stop(): wait for all running checks"

This reverts commit 1eaad0637b75bd24875b1e62fd080fb155b08ed7.

5 years agoDebug: Log calls to ConfigObject::Deactivate()
Michael Friedrich [Tue, 19 Feb 2019 12:49:52 +0000 (13:49 +0100)]
Debug: Log calls to ConfigObject::Deactivate()

Only available in debug builds.

(cherry picked from commit d98c0704c446b0fd47b18b610a92ac75de180853)

5 years agoMerge pull request #6958 from Icinga/feature/debug-log-stop
Michael Friedrich [Tue, 19 Feb 2019 12:52:39 +0000 (13:52 +0100)]
Merge pull request #6958 from Icinga/feature/debug-log-stop

Debug: Log calls to ConfigObject::Deactivate()

5 years agoDebug: Log calls to ConfigObject::Deactivate() 6958/head
Michael Friedrich [Tue, 19 Feb 2019 12:49:52 +0000 (13:49 +0100)]
Debug: Log calls to ConfigObject::Deactivate()

Only available in debug builds.

5 years agoMerge pull request #6956 from Icinga/bugfix/doc-escape-pipe-symbol
Michael Friedrich [Tue, 19 Feb 2019 08:39:45 +0000 (09:39 +0100)]
Merge pull request #6956 from Icinga/bugfix/doc-escape-pipe-symbol

Escape pipe symbol in api documentation

5 years agoEscape pipe symbol in api documentation 6956/head
Michael Insel [Mon, 18 Feb 2019 15:21:26 +0000 (16:21 +0100)]
Escape pipe symbol in api documentation

This escapes the pipe symbol in the api documentation.

refs #6955

5 years agoFix indent in configcompiler.cpp 6953/head
Michael Friedrich [Fri, 15 Feb 2019 11:24:49 +0000 (12:24 +0100)]
Fix indent in configcompiler.cpp

5 years agoMerge pull request #6949 from fluxX04/patch-1
Michael Insel [Wed, 13 Feb 2019 07:13:02 +0000 (08:13 +0100)]
Merge pull request #6949 from fluxX04/patch-1

Doc fix: update check_rbl parameter

5 years agofixes check_rbl parameter typo 6949/head
Alex [Wed, 13 Feb 2019 06:44:20 +0000 (07:44 +0100)]
fixes check_rbl parameter typo

5 years agoMerge pull request #6857 from Icinga/bugfix/check_nscp_api-query-sorted-6536
Michael Friedrich [Mon, 11 Feb 2019 16:57:32 +0000 (17:57 +0100)]
Merge pull request #6857 from Icinga/bugfix/check_nscp_api-query-sorted-6536

Url#m_Query: preserve order

5 years agoMerge pull request #6882 from Icinga/bugfix/influxdb-gaps-6841
Michael Friedrich [Mon, 11 Feb 2019 16:32:05 +0000 (17:32 +0100)]
Merge pull request #6882 from Icinga/bugfix/influxdb-gaps-6841

InfluxdbWriter#Stop(): flush buffer

5 years agoMerge pull request #6908 from Icinga/bugfix/perfdata-gaps
Michael Friedrich [Mon, 11 Feb 2019 16:27:44 +0000 (17:27 +0100)]
Merge pull request #6908 from Icinga/bugfix/perfdata-gaps

Ensure all perfdata to be written

5 years agoMerge pull request #6854 from Icinga/bugfix/unamehelper-inefficient-6452
Michael Friedrich [Mon, 11 Feb 2019 15:57:17 +0000 (16:57 +0100)]
Merge pull request #6854 from Icinga/bugfix/unamehelper-inefficient-6452

Make UnameHelper() efficient

5 years agoMerge pull request #6934 from Icinga/bugfix/boost-version-6933
Michael Friedrich [Mon, 11 Feb 2019 15:53:27 +0000 (16:53 +0100)]
Merge pull request #6934 from Icinga/bugfix/boost-version-6933

Raise required Boost version to 1.53

5 years agoMerge pull request #6577 from Icinga/fix/setup-api-including-users-file
Michael Friedrich [Mon, 11 Feb 2019 15:41:46 +0000 (16:41 +0100)]
Merge pull request #6577 from Icinga/fix/setup-api-including-users-file

Include api user configuration file during api setup

5 years agoMerge pull request #6748 from Icinga/bugfix/api-setup-fails-missing-confd
Michael Friedrich [Mon, 11 Feb 2019 15:35:57 +0000 (16:35 +0100)]
Merge pull request #6748 from Icinga/bugfix/api-setup-fails-missing-confd

Fix api setup to automatically create the conf.d directory

5 years agoMerge pull request #6943 from peteeckel/bugfix/apilistener-duplicate-log-entries...
Michael Friedrich [Mon, 11 Feb 2019 14:32:50 +0000 (15:32 +0100)]
Merge pull request #6943 from peteeckel/bugfix/apilistener-duplicate-log-entries-6942

Avoid duplicating non-zero count message replay messages in the debug log

5 years agoTroubleshooting: Add notes on ephemeral port range blocking on Windows agents
Michael Friedrich [Mon, 11 Feb 2019 13:32:02 +0000 (14:32 +0100)]
Troubleshooting: Add notes on ephemeral port range blocking on Windows agents

(cherry picked from commit 6558287da03bb526ba2728201ff7d558a09faf46)

5 years agoMerge pull request #6944 from Icinga/feature/docs-windows-agent-throubleshooting
Michael Friedrich [Mon, 11 Feb 2019 13:38:33 +0000 (14:38 +0100)]
Merge pull request #6944 from Icinga/feature/docs-windows-agent-throubleshooting

Troubleshooting: Add notes on ephemeral port range blocking on Windows agents

5 years agoTroubleshooting: Add notes on ephemeral port range blocking on Windows agents 6944/head
Michael Friedrich [Mon, 11 Feb 2019 13:32:02 +0000 (14:32 +0100)]
Troubleshooting: Add notes on ephemeral port range blocking on Windows agents

5 years agoAvoid duplicating non-zero count message replay messages in the debug log 6943/head
Peter Eckel [Mon, 11 Feb 2019 12:54:17 +0000 (13:54 +0100)]
Avoid duplicating non-zero count message replay messages in the debug log

5 years agoRefactor conditions and add debug log messages for future crs and skipped crs
Michael Friedrich [Fri, 8 Feb 2019 12:32:13 +0000 (13:32 +0100)]
Refactor conditions and add debug log messages for future crs and skipped crs

(cherry picked from commit d1fb1a8eda05018c5f665fceeb52569e243a7b65)

5 years agoFix checkresults from the future breaking checks
Jean Flach [Fri, 11 Jan 2019 15:16:45 +0000 (16:16 +0100)]
Fix checkresults from the future breaking checks

(cherry picked from commit c97f3c80f550320abcbc3bcbaa0a3673c2091c34)

5 years agoDoc: Add .NET 3.5 to the windows build stack
Michael Insel [Fri, 1 Feb 2019 15:46:28 +0000 (16:46 +0100)]
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.

(cherry picked from commit 52d81d0af522956fec4ef63c0e3c06158cbefbf9)

5 years agoDon't allow retry_interval <= 0
Michael Friedrich [Mon, 28 Jan 2019 16:33:05 +0000 (17:33 +0100)]
Don't allow retry_interval <= 0

(cherry picked from commit 8cbd4820725655e3c4ae06aef78308183be016da)

5 years agoDowntime::AddDowntime(): place Downtimes in the same zone as the origin ScheduledDown...
Alexander A. Klimov [Mon, 28 Jan 2019 17:29:57 +0000 (18:29 +0100)]
Downtime::AddDowntime(): place Downtimes in the same zone as the origin ScheduledDowntimes

(cherry picked from commit ce847324bc8abe4f36071633b999fa88ba2213f3)

5 years agoValidate Zone::GetLocalZone() before using
Alexander A. Klimov [Tue, 15 Jan 2019 18:23:20 +0000 (19:23 +0100)]
Validate Zone::GetLocalZone() before using

(cherry picked from commit b09e7b287e6b4bbc277c9ef7828e34f884927f82)

5 years agoLog: Ensure not to pass negative values to localtime()
Michael Friedrich [Wed, 16 Jan 2019 16:27:38 +0000 (17:27 +0100)]
Log: Ensure not to pass negative values to localtime()

refs #6887

(cherry picked from commit 2fc33996b620d97e54d75b0d8c101fb3d9ba791c)

5 years agoAllow Checkable#retry_interval to be 0
Alexander A. Klimov [Wed, 9 Jan 2019 10:27:33 +0000 (11:27 +0100)]
Allow Checkable#retry_interval to be 0

refs #6871

(cherry picked from commit 9ae738d17fa6220d988001e4c56155aa6535992c)

5 years agoDocument that retry_interval is only used after an active check result
Max Rosin [Wed, 5 Dec 2018 15:28:03 +0000 (16:28 +0100)]
Document that retry_interval is only used after an active check result

fixes #6795

(cherry picked from commit 00757919b322bc930360694c30485977cfb5506a)

5 years agoDocs: Formatting for dev requirements
Michael Friedrich [Tue, 4 Dec 2018 11:21:54 +0000 (12:21 +0100)]
Docs: Formatting for dev requirements

(cherry picked from commit 00673cd75911e56cf977fdb5c14c809a97c01e6d)

5 years agoMinor updates for core dumps
Michael Friedrich [Tue, 4 Dec 2018 11:14:01 +0000 (12:14 +0100)]
Minor updates for core dumps

The main parts are discussed in #6723

(cherry picked from commit 43c171056f826cf08b4155472ad9a6a4d14ba8a9)

5 years agoUpdate TOC
Michael Friedrich [Tue, 4 Dec 2018 09:58:44 +0000 (10:58 +0100)]
Update TOC

(cherry picked from commit 01d2a17683659e17b0cc311135937e0d5748a05d)

5 years agoPurge INSTALL.md and add packager info to README.md
Michael Friedrich [Tue, 4 Dec 2018 09:54:39 +0000 (10:54 +0100)]
Purge INSTALL.md and add packager info to README.md

Everything is located in the online documentation, where the README.md
points to.

(cherry picked from commit 9801b8b7a040fd4c91aa05d596ec644ddd294bdc)

5 years agoFix formatting in dev docs
Michael Friedrich [Tue, 4 Dec 2018 09:51:04 +0000 (10:51 +0100)]
Fix formatting in dev docs

(cherry picked from commit 8cbe286e676a56c536cee517b898cbe2f25b2547)

5 years agoDocs: Update README.md with a better description and direct URLs to icinga.com/docs
Michael Friedrich [Mon, 3 Dec 2018 10:28:39 +0000 (11:28 +0100)]
Docs: Update README.md with a better description and direct URLs to icinga.com/docs

(cherry picked from commit e0b3e05c636db082da264c92fc02593f7ff44ded)

5 years agoDocs: Update anchors
Michael Friedrich [Mon, 3 Dec 2018 10:15:04 +0000 (11:15 +0100)]
Docs: Update anchors

(cherry picked from commit ac9ed41537b36d7a41e26e8535e208579cccbfc2)

5 years agoDocs: More updates on dev environments, add mini TOC
Michael Friedrich [Mon, 3 Dec 2018 10:11:16 +0000 (11:11 +0100)]
Docs: More updates on dev environments, add mini TOC

(cherry picked from commit ec39a74453f673032cd52edb29eb747d80cb5fe9)

5 years agoDocs: Simplify INSTALL.md and point to icinga.com/docs
Michael Friedrich [Mon, 3 Dec 2018 08:50:39 +0000 (09:50 +0100)]
Docs: Simplify INSTALL.md and point to icinga.com/docs

(cherry picked from commit 3827e15c4abf49b4ecdbd23d36e76cb4fdab67a0)

5 years agoDocs: Delete extra docs for windows builds
Michael Friedrich [Mon, 3 Dec 2018 08:49:42 +0000 (09:49 +0100)]
Docs: Delete extra docs for windows builds

This should be visible in icinga.com/docs, no extra
docs needed.

(cherry picked from commit c6fc144102eada72ff8146f4be00fd48ceb0d423)

5 years agoDocs: First draft for development docs
Michael Friedrich [Mon, 3 Dec 2018 08:49:27 +0000 (09:49 +0100)]
Docs: First draft for development docs

(cherry picked from commit 4382b87baa0f4fa433772b2b38814fce0d443200)

5 years agoAdd technical docs for the check scheduler (general, initial check, offsets)
Michael Friedrich [Wed, 14 Nov 2018 13:25:37 +0000 (14:25 +0100)]
Add technical docs for the check scheduler (general, initial check, offsets)

David asked me about initial check offsets, so I wrote something :)

(cherry picked from commit 9409e93bc798ffbe497c97cd110b492d533ce9dc)

5 years agoUpdate AUTHORS
Michael Friedrich [Mon, 11 Feb 2019 12:17:52 +0000 (13:17 +0100)]
Update AUTHORS

5 years agoFix check_swap percentage calculation
Michael Insel [Fri, 8 Feb 2019 15:57:19 +0000 (16:57 +0100)]
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

(cherry picked from commit 4961e9ba62eebcfc1cf22e1840b289e4eab067d2)

5 years agoTcpSocket#Bind(): also set SO_REUSEPORT
Alexander A. Klimov [Thu, 17 Jan 2019 11:13:44 +0000 (12:13 +0100)]
TcpSocket#Bind(): also set SO_REUSEPORT

refs #6898

(cherry picked from commit 984f7be03060f89235ccee1a1ef3e5fba652a9df)

5 years agoClusterEvents::AcknowledgementSet event should forward 'persistent' attribute
Michael Friedrich [Mon, 28 Jan 2019 16:29:46 +0000 (17:29 +0100)]
ClusterEvents::AcknowledgementSet event should forward 'persistent' attribute

(cherry picked from commit 9f2ccfbaa0fd35e33a002dd48c7b429636dc806c)

5 years agoFix check_swap formatting
Michael Insel [Wed, 30 Jan 2019 18:41:24 +0000 (19:41 +0100)]
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.

5 years agoFix Convert::ToLong(double val)
Michael Friedrich [Wed, 30 Jan 2019 13:47:59 +0000 (14:47 +0100)]
Fix Convert::ToLong(double val)

(cherry picked from commit b58cb17e4b389c6bd703e2334cb0bb2739213f62)

5 years agoAdd a unit test for Convert::ToLong(double) - fails
Michael Friedrich [Wed, 30 Jan 2019 13:23:57 +0000 (14:23 +0100)]
Add a unit test for Convert::ToLong(double) - fails

(cherry picked from commit b1362aeb9b6822a88ce4e3a187974f5ef20a4bad)

5 years agoDowntime#HasValidConfigOwner(): respect Downtime#authoritative_zone
Alexander A. Klimov [Tue, 4 Dec 2018 16:45:54 +0000 (17:45 +0100)]
Downtime#HasValidConfigOwner(): respect Downtime#authoritative_zone

refs #6542

(cherry picked from commit c98d6a52545bf0e10b9b0d644b0d15813ab7de48)

5 years agoAdd and populate Downtime#authoritative_zone
Alexander A. Klimov [Tue, 4 Dec 2018 16:44:42 +0000 (17:44 +0100)]
Add and populate Downtime#authoritative_zone

refs #6542

(cherry picked from commit 5431eae116df92d0b856e7f856da24df5a948144)

5 years agoDowntime#HasValidConfigOwner(): wait for ScheduledDowntimes
Alexander A. Klimov [Thu, 6 Dec 2018 11:50:48 +0000 (12:50 +0100)]
Downtime#HasValidConfigOwner(): wait for ScheduledDowntimes

refs #6542

(cherry picked from commit 39e0d787e82c187de64b29e4979f4caac0907441)

5 years agoImplement ScheduledDowntime::AllConfigIsLoaded()
Alexander A. Klimov [Thu, 6 Dec 2018 11:41:49 +0000 (12:41 +0100)]
Implement ScheduledDowntime::AllConfigIsLoaded()

refs #6542

(cherry picked from commit bbcf469af1c584a92d028446c6ff1f558950cd97)