10355 Commits

Author SHA1 Message Date
Michael Friedrich
388999a86f 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.
2019-02-20 14:20:53 +01:00
Michael Friedrich
7936a147ba Activate downtimes before any checkable object 2019-02-20 13:56:15 +01:00
Michael Friedrich
a4f97c1246 Stop the IcingaApplication at the latest point, before any loggers 2019-02-20 13:55:34 +01:00
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
819594e7b4
Merge pull request #6953 from Icinga/bugfix/style
Fix indent in configcompiler.cpp
2019-02-20 11:32:29 +01:00
Michael Friedrich
7b2b45b503 Revert "InfluxdbWriter#Stop(): flush buffer"
This reverts commit 8470facfe2d8437d5db75e4f84434991d30032c7.
2019-02-19 14:54:28 +01:00
Michael Friedrich
5da1cbd096 Revert "Respect activation priority also on deactivation"
This reverts commit 8ad1717055683c573f81181c7749ba422fa96d13.
2019-02-19 14:30:44 +01:00
Michael Friedrich
4edd3ece66 Revert "Deactivate perfdata writers after checker"
This reverts commit f0e12ff63ce138b6df9e85bc690eda46ae794ccb.
2019-02-19 14:06:15 +01:00
Michael Friedrich
d2e049d575 Revert "CheckerComponent#Stop(): log after actually being stopped"
This reverts commit b81aa6af3a23cba179b9da03fda6d2674ccc0956.
2019-02-19 14:05:07 +01:00
Michael Friedrich
a2f5b7a02c Revert "CheckerComponent#Stop(): wait for all running checks"
This reverts commit 1eaad0637b75bd24875b1e62fd080fb155b08ed7.
2019-02-19 14:05:00 +01:00
Michael Friedrich
466096a6a4 Debug: Log calls to ConfigObject::Deactivate()
Only available in debug builds.

(cherry picked from commit d98c0704c446b0fd47b18b610a92ac75de180853)
2019-02-19 13:53:09 +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 Friedrich
3ad911a57c Fix indent in configcompiler.cpp 2019-02-15 12:24:49 +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
4f494b9a91 Troubleshooting: Add notes on ephemeral port range blocking on Windows agents
(cherry picked from commit 6558287da03bb526ba2728201ff7d558a09faf46)
2019-02-11 15:04:35 +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
c770920818 Refactor conditions and add debug log messages for future crs and skipped crs
(cherry picked from commit d1fb1a8eda05018c5f665fceeb52569e243a7b65)
2019-02-11 13:32:46 +01:00
Jean Flach
dc27bcc8a3 Fix checkresults from the future breaking checks
(cherry picked from commit c97f3c80f550320abcbc3bcbaa0a3673c2091c34)
2019-02-11 13:32:39 +01:00
Michael Insel
9259e7adfd 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)
2019-02-11 13:32:16 +01:00
Michael Friedrich
92fba8c64f Don't allow retry_interval <= 0
(cherry picked from commit 8cbd4820725655e3c4ae06aef78308183be016da)
2019-02-11 13:31:55 +01:00
Alexander A. Klimov
fb72633c5e Downtime::AddDowntime(): place Downtimes in the same zone as the origin ScheduledDowntimes
(cherry picked from commit ce847324bc8abe4f36071633b999fa88ba2213f3)
2019-02-11 13:31:22 +01:00
Alexander A. Klimov
ee915ed5d2 Validate Zone::GetLocalZone() before using
(cherry picked from commit b09e7b287e6b4bbc277c9ef7828e34f884927f82)
2019-02-11 13:30:47 +01:00
Michael Friedrich
a557f47e2a Log: Ensure not to pass negative values to localtime()
refs #6887

(cherry picked from commit 2fc33996b620d97e54d75b0d8c101fb3d9ba791c)
2019-02-11 13:29:27 +01:00
Alexander A. Klimov
9040c9b512 Allow Checkable#retry_interval to be 0
refs #6871

(cherry picked from commit 9ae738d17fa6220d988001e4c56155aa6535992c)
2019-02-11 13:29:05 +01:00
Max Rosin
26db972859 Document that retry_interval is only used after an active check result
fixes #6795

(cherry picked from commit 00757919b322bc930360694c30485977cfb5506a)
2019-02-11 13:28:33 +01:00
Michael Friedrich
d68a565c19 Docs: Formatting for dev requirements
(cherry picked from commit 00673cd75911e56cf977fdb5c14c809a97c01e6d)
2019-02-11 13:28:07 +01:00
Michael Friedrich
07d949a6a0 Minor updates for core dumps
The main parts are discussed in #6723

(cherry picked from commit 43c171056f826cf08b4155472ad9a6a4d14ba8a9)
2019-02-11 13:28:01 +01:00
Michael Friedrich
242a7f5705 Update TOC
(cherry picked from commit 01d2a17683659e17b0cc311135937e0d5748a05d)
2019-02-11 13:27:57 +01:00
Michael Friedrich
d9b5fe0ace 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)
2019-02-11 13:27:52 +01:00
Michael Friedrich
47c44fe641 Fix formatting in dev docs
(cherry picked from commit 8cbe286e676a56c536cee517b898cbe2f25b2547)
2019-02-11 13:27:45 +01:00
Michael Friedrich
8313a1b2a9 Docs: Update README.md with a better description and direct URLs to icinga.com/docs
(cherry picked from commit e0b3e05c636db082da264c92fc02593f7ff44ded)
2019-02-11 13:27:38 +01:00
Michael Friedrich
7abed414ea Docs: Update anchors
(cherry picked from commit ac9ed41537b36d7a41e26e8535e208579cccbfc2)
2019-02-11 13:27:31 +01:00
Michael Friedrich
5dbc9dc0e8 Docs: More updates on dev environments, add mini TOC
(cherry picked from commit ec39a74453f673032cd52edb29eb747d80cb5fe9)
2019-02-11 13:27:23 +01:00
Michael Friedrich
8f3c97dfef Docs: Simplify INSTALL.md and point to icinga.com/docs
(cherry picked from commit 3827e15c4abf49b4ecdbd23d36e76cb4fdab67a0)
2019-02-11 13:27:15 +01:00