]> granicus.if.org Git - icinga2/log
icinga2
5 years agoMerge pull request #7135 from Icinga/feature/boost-asio-elasticsearchwriter
Michael Friedrich [Tue, 23 Apr 2019 12:53:00 +0000 (14:53 +0200)]
Merge pull request #7135 from Icinga/feature/boost-asio-elasticsearchwriter

Use new I/O engine in ElasticsearchWriter

5 years agoMerge pull request #7137 from Icinga/bugfix/disconnect-log-more-spam
Michael Friedrich [Tue, 23 Apr 2019 12:50:18 +0000 (14:50 +0200)]
Merge pull request #7137 from Icinga/bugfix/disconnect-log-more-spam

JsonRpcConnection: reduce log spam on disconnect

5 years agoUse new I/O engine in ElasticsearchWriter 7135/head
Alexander A. Klimov [Tue, 23 Apr 2019 11:15:38 +0000 (13:15 +0200)]
Use new I/O engine in ElasticsearchWriter

5 years agoMerge pull request #7134 from Icinga/feature/boost-asio-influxdbwriter
Michael Friedrich [Tue, 23 Apr 2019 12:31:42 +0000 (14:31 +0200)]
Merge pull request #7134 from Icinga/feature/boost-asio-influxdbwriter

Use new I/O engine in InfluxdbWriter

5 years agoMerge pull request #7133 from Icinga/feature/boost-asio-pki
Michael Friedrich [Tue, 23 Apr 2019 12:27:48 +0000 (14:27 +0200)]
Merge pull request #7133 from Icinga/feature/boost-asio-pki

Use new I/O engine in PkiUtility::FetchCert() and PkiUtility::RequestCertificate()

5 years agoJsonRpcConnection: reduce log spam on disconnect 7137/head
Alexander A. Klimov [Tue, 23 Apr 2019 12:09:07 +0000 (14:09 +0200)]
JsonRpcConnection: reduce log spam on disconnect

5 years agoQuickfix technical docs for debugging
Michael Friedrich [Tue, 23 Apr 2019 11:47:40 +0000 (13:47 +0200)]
Quickfix technical docs for debugging

5 years agoMerge pull request #7127 from Icinga/bugfix/replay-log
Michael Friedrich [Tue, 23 Apr 2019 10:08:12 +0000 (12:08 +0200)]
Merge pull request #7127 from Icinga/bugfix/replay-log

ApiListener#RotateLogFile(): don't overwrite previous log

5 years agoMerge pull request #7126 from Icinga/bugfix/replay-logs-6932
Michael Friedrich [Tue, 23 Apr 2019 10:07:02 +0000 (12:07 +0200)]
Merge pull request #7126 from Icinga/bugfix/replay-logs-6932

ApiListener#ApiTimerHandler(): delete all replayed logs

5 years agoUse new I/O engine in InfluxdbWriter 7134/head
Alexander A. Klimov [Tue, 23 Apr 2019 09:25:52 +0000 (11:25 +0200)]
Use new I/O engine in InfluxdbWriter

5 years agoMerge pull request #7128 from Icinga/feature/re-write-objectlock-7123
Michael Friedrich [Tue, 23 Apr 2019 09:53:40 +0000 (11:53 +0200)]
Merge pull request #7128 from Icinga/feature/re-write-objectlock-7123

Re-write ObjectLock's implementation details

5 years agoIntroduce OptionalTlsStream
Alexander A. Klimov [Tue, 23 Apr 2019 09:25:26 +0000 (11:25 +0200)]
Introduce OptionalTlsStream

5 years agoApiListener#ReplayLog(): read current log file too instead of rotating 7127/head
Alexander A. Klimov [Wed, 17 Apr 2019 13:42:39 +0000 (15:42 +0200)]
ApiListener#ReplayLog(): read current log file too instead of rotating

5 years agoApiListener#RotateLogFile(): don't overwrite previous log
Alexander A. Klimov [Wed, 17 Apr 2019 12:31:49 +0000 (14:31 +0200)]
ApiListener#RotateLogFile(): don't overwrite previous log

5 years agoApiListener#ApiTimerHandler(): delete all replayed logs 7126/head
Alexander A. Klimov [Wed, 17 Apr 2019 11:52:13 +0000 (13:52 +0200)]
ApiListener#ApiTimerHandler(): delete all replayed logs

refs #6932

5 years agoMake Object#m_Mutex std::recursive_mutex 7128/head
Alexander A. Klimov [Wed, 17 Apr 2019 16:15:32 +0000 (18:15 +0200)]
Make Object#m_Mutex std::recursive_mutex

refs #7123

5 years agoMake Object#m_LockOwner std::atomic<std::thread::id>
Alexander A. Klimov [Wed, 17 Apr 2019 16:03:40 +0000 (18:03 +0200)]
Make Object#m_LockOwner std::atomic<std::thread::id>

refs #7123

5 years agoObjectLock: deduplicate constructors
Alexander A. Klimov [Wed, 17 Apr 2019 14:47:41 +0000 (16:47 +0200)]
ObjectLock: deduplicate constructors

refs #7123

5 years agoRotate replay log on shutdown, not on startup
Alexander A. Klimov [Wed, 17 Apr 2019 12:18:20 +0000 (14:18 +0200)]
Rotate replay log on shutdown, not on startup

5 years agoMerge pull request #7050 from Icinga/feature/previous-state-change
Michael Friedrich [Wed, 17 Apr 2019 11:17:41 +0000 (13:17 +0200)]
Merge pull request #7050 from Icinga/feature/previous-state-change

Implement previous_state_change

5 years agoMerge pull request #7112 from Icinga/bugfix/service-handled
Michael Friedrich [Wed, 17 Apr 2019 11:16:23 +0000 (13:16 +0200)]
Merge pull request #7112 from Icinga/bugfix/service-handled

Include host state in Service#handled and Service#severity

5 years agoMerge pull request #7121 from Icinga/bugfix/concurrent-checks
Michael Friedrich [Wed, 17 Apr 2019 11:14:32 +0000 (13:14 +0200)]
Merge pull request #7121 from Icinga/bugfix/concurrent-checks

Fix that MaxConcurrentChecks constant is overridden from 'checker' feature

5 years agoMerge pull request #7122 from Icinga/bugfix/evaluatefilter-change-globals
Michael Friedrich [Tue, 16 Apr 2019 15:40:20 +0000 (17:40 +0200)]
Merge pull request #7122 from Icinga/bugfix/evaluatefilter-change-globals

FilterUtility::EvaluateFilter(): ensure not to modify the global namespace

5 years agoMerge pull request #7113 from Elias481/fix/incorrect-usage-of-global-namespace-6874...
Michael Friedrich [Tue, 16 Apr 2019 14:02:16 +0000 (16:02 +0200)]
Merge pull request #7113 from Elias481/fix/incorrect-usage-of-global-namespace-6874-6785

use dedicated permissions namespace for scriptframe in filterutility

5 years agoFilterUtility::EvaluateFilter(): ensure not to modify the global namespace 7122/head
Alexander A. Klimov [Tue, 16 Apr 2019 13:53:44 +0000 (15:53 +0200)]
FilterUtility::EvaluateFilter(): ensure not to modify the global namespace

5 years agoFix that MaxConcurrentChecks constant is overridden from 'checker' feature 7121/head
Michael Friedrich [Mon, 15 Apr 2019 14:56:30 +0000 (16:56 +0200)]
Fix that MaxConcurrentChecks constant is overridden from 'checker' feature

Note: This drops the deprecated concurrent_checks setting from the checker feature
entirely and refactors the underlaying code handling.

Also affects ReloadTimeout which is new for 2.11.

fixes #7111

5 years agoMerge pull request #7120 from Icinga/bugfix/cluster-ignore-non-configured-zones
Michael Friedrich [Tue, 16 Apr 2019 09:08:15 +0000 (11:08 +0200)]
Merge pull request #7120 from Icinga/bugfix/cluster-ignore-non-configured-zones

Ignore synced config zones where no config item exists

5 years agoIgnore synced config zones where no config item exists 7120/head
Michael Friedrich [Fri, 28 Sep 2018 11:55:41 +0000 (13:55 +0200)]
Ignore synced config zones where no config item exists

The culprit is that we're in compiling configuration stage here,
we don't have access to `Zone::GetByName()` as objects have not
been activated yet.

Our best guess is from a config item loaded before (e.g. from zones.conf)
since no-one can sync zones via cluster config sync either.

It may not be 100% correct since the zone object itself may be invalid.
Still, if the zone object validator fails later, the config breaks either way.

The problem with removal of these directories is dealt by the cluster
config sync with stages.

refs #6727
refs #6716

5 years agoMerge pull request #7116 from Icinga/feature/no-reachable
Michael Friedrich [Mon, 15 Apr 2019 11:40:06 +0000 (13:40 +0200)]
Merge pull request #7116 from Icinga/feature/no-reachable

Drop Checkable#reachable in favor of #last_reachable

5 years agoMerge pull request #7115 from Icinga/feature/docs-api
Michael Friedrich [Fri, 12 Apr 2019 13:28:49 +0000 (15:28 +0200)]
Merge pull request #7115 from Icinga/feature/docs-api

Improve REST API docs

5 years agoImprove REST API docs 7115/head
Michael Friedrich [Fri, 12 Apr 2019 10:49:41 +0000 (12:49 +0200)]
Improve REST API docs

- Better explanation for filters and filter_vars
- Update examples to use filters in the body only, don't fuck around with the URL parameters.
- Better explain actions and their intent
- More insights into config packages and their intention
- Improve API clients and add the tables from icinga2-api-examples
- Formatting for CLI requests

5 years agoDrop Checkable#reachable in favor of #last_reachable 7116/head
Alexander A. Klimov [Fri, 12 Apr 2019 11:03:11 +0000 (13:03 +0200)]
Drop Checkable#reachable in favor of #last_reachable

5 years agoDocs: Fix RPM snapshot repo name
Michael Friedrich [Fri, 12 Apr 2019 07:34:34 +0000 (09:34 +0200)]
Docs: Fix RPM snapshot repo name

5 years ago* use dedicated permissions namespace for scriptframe in filterutility to allow prope... 7113/head
Elias Ohm [Fri, 12 Apr 2019 06:10:57 +0000 (08:10 +0200)]
* use dedicated permissions namespace for scriptframe in filterutility to allow proper parallel execution
  * fixes issue https://github.com/Icinga/icinga2/issues/6785 where permission checks get wrong result because permissions checks are done within a shared namespaces without using only unique keys
  * mitigates issue https://github.com/Icinga/icinga2/issues/6874 where segmentation faults occur because of concurrent access to non threadsafe parts of namespace (a fix for thread safety of namespaces which would be an alternative approach to get rid of these segfaults is out of scope of this fix as 6785 needs to be fixed anyway and this is the straight-forwards) way to fix that
* do the same for eventqueue (not certain whether events can be processed in parallel but I expect it is the case)

5 years agoService: reduce severity while host is down 7112/head
Alexander A. Klimov [Thu, 11 Apr 2019 09:36:23 +0000 (11:36 +0200)]
Service: reduce severity while host is down

5 years agoService: be handled while host is down
Alexander A. Klimov [Thu, 11 Apr 2019 09:25:45 +0000 (11:25 +0200)]
Service: be handled while host is down

5 years agoMerge pull request #7109 from Icinga/feature/enhance-cluster-message-send-code-docs
Michael Friedrich [Thu, 11 Apr 2019 09:20:46 +0000 (11:20 +0200)]
Merge pull request #7109 from Icinga/feature/enhance-cluster-message-send-code-docs

Improve code docs for cluster message routing conditions

5 years agoImprove code docs for cluster message routing conditions 7109/head
Michael Friedrich [Wed, 10 Apr 2019 12:17:36 +0000 (14:17 +0200)]
Improve code docs for cluster message routing conditions

refs #6781

5 years agoMerge pull request #7097 from Icinga/bugfix/disconnect-log-spam
Michael Friedrich [Tue, 9 Apr 2019 14:57:31 +0000 (16:57 +0200)]
Merge pull request #7097 from Icinga/bugfix/disconnect-log-spam

JsonRpcConnection: reduce log spam on disconnect

5 years agoMerge pull request #7096 from Icinga/feature/derivative-states
Michael Friedrich [Tue, 9 Apr 2019 14:55:47 +0000 (16:55 +0200)]
Merge pull request #7096 from Icinga/feature/derivative-states

Expose derivative states via API

5 years agoMerge pull request #7073 from Icinga/feature/docs-development-macos-windows
Michael Friedrich [Tue, 9 Apr 2019 12:16:39 +0000 (14:16 +0200)]
Merge pull request #7073 from Icinga/feature/docs-development-macos-windows

Improve docs for 2.11: Development, test snapshot packages & installation repos

5 years agoDocs: Update installation for 2.11; remove EOL distributions 7073/head
Michael Friedrich [Tue, 9 Apr 2019 12:08:39 +0000 (14:08 +0200)]
Docs: Update installation for 2.11; remove EOL distributions

5 years agoDevelopment: Add snapshot package test details
Michael Friedrich [Tue, 9 Apr 2019 12:08:03 +0000 (14:08 +0200)]
Development: Add snapshot package test details

5 years agoJsonRpcConnection: reduce log spam on disconnect 7097/head
Alexander A. Klimov [Tue, 9 Apr 2019 11:53:41 +0000 (13:53 +0200)]
JsonRpcConnection: reduce log spam on disconnect

5 years agoAdd Checkable#problem and #handled 7096/head
Alexander A. Klimov [Tue, 9 Apr 2019 09:34:59 +0000 (11:34 +0200)]
Add Checkable#problem and #handled

5 years agoDeclare Checkable#IsStateOK() const
Alexander A. Klimov [Tue, 9 Apr 2019 09:26:34 +0000 (11:26 +0200)]
Declare Checkable#IsStateOK() const

5 years agoExpose Checkable#reachable
Alexander A. Klimov [Tue, 9 Apr 2019 09:09:02 +0000 (11:09 +0200)]
Expose Checkable#reachable

5 years agoMerge pull request #7093 from Icinga/feature/docs-2-11
Michael Friedrich [Mon, 8 Apr 2019 12:52:58 +0000 (14:52 +0200)]
Merge pull request #7093 from Icinga/feature/docs-2-11

Docs: Update version specific changes for 2.11

5 years agoDocs: Update version specific changes for 2.11 7093/head
Michael Friedrich [Mon, 8 Apr 2019 12:08:14 +0000 (14:08 +0200)]
Docs: Update version specific changes for 2.11

- Notification commands 2.7 dropped, reference to MTAs added
- Sysconfig variable locations
- Version bumps

5 years agoMerge pull request #7079 from Icinga/tools/windows
Michael Friedrich [Fri, 5 Apr 2019 14:38:12 +0000 (16:38 +0200)]
Merge pull request #7079 from Icinga/tools/windows

Build Windows with Visual Studio 2017

5 years agoMerge pull request #7087 from Icinga/feature/http-server-log-user-agent
Michael Friedrich [Fri, 5 Apr 2019 14:00:36 +0000 (16:00 +0200)]
Merge pull request #7087 from Icinga/feature/http-server-log-user-agent

HttpServerConnection: Log the user agent field for new requests too

5 years agoHttpServerConnection: Log the user agent field for new requests too 7087/head
Michael Friedrich [Fri, 5 Apr 2019 13:08:09 +0000 (15:08 +0200)]
HttpServerConnection: Log the user agent field for new requests too

refs #7041

5 years agowindows: Avoid 32-bit linker problems for check_swap 7079/head
Markus Frosch [Fri, 5 Apr 2019 08:34:07 +0000 (10:34 +0200)]
windows: Avoid 32-bit linker problems for check_swap

5 years agoMerge pull request #7076 from Icinga/bugfix/eventqueue-leak
Michael Friedrich [Fri, 5 Apr 2019 08:31:30 +0000 (10:31 +0200)]
Merge pull request #7076 from Icinga/bugfix/eventqueue-leak

/v1/events: terminate on disconnect

5 years agoUse Unicode functions inside check_swap
Michael Insel [Thu, 4 Apr 2019 17:55:07 +0000 (19:55 +0200)]
Use Unicode functions inside check_swap

This ensures that always Unicode functions are used in check_swap.

5 years agowindows: Add rules for Win32 to IcingaAgent C#
Markus Frosch [Thu, 4 Apr 2019 16:15:21 +0000 (18:15 +0200)]
windows: Add rules for Win32 to IcingaAgent C#

Theoretically this should be automatically, but the C++ project uses
Win32 as platform...

5 years ago/v1/events: don't deadlock other coroutines 7076/head
Alexander A. Klimov [Fri, 5 Apr 2019 07:22:42 +0000 (09:22 +0200)]
/v1/events: don't deadlock other coroutines

5 years agoMerge pull request #7085 from Icinga/bugfix/typo-upgrading-docs
Michael Friedrich [Fri, 5 Apr 2019 07:12:50 +0000 (09:12 +0200)]
Merge pull request #7085 from Icinga/bugfix/typo-upgrading-docs

Remove not needed inline code tag

5 years agowindows: Disable SAFESEH on x86
Markus Frosch [Thu, 4 Apr 2019 12:42:58 +0000 (14:42 +0200)]
windows: Disable SAFESEH on x86

5 years agocmake: Use the actual GIT_VERSION for ICINGA2_VERSION
Markus Frosch [Thu, 4 Apr 2019 10:55:52 +0000 (12:55 +0200)]
cmake: Use the actual GIT_VERSION for ICINGA2_VERSION

And use a safe version with dots only for Windows.

5 years agowindows: Disable optimization for boost::context
Markus Frosch [Thu, 4 Apr 2019 10:20:52 +0000 (12:20 +0200)]
windows: Disable optimization for boost::context

5 years agowindows: Remove the flag to disable auto linking
Markus Frosch [Thu, 4 Apr 2019 10:11:15 +0000 (12:11 +0200)]
windows: Remove the flag to disable auto linking

5 years agowindows: Improve Powershell Tools and AppVeyor config
Markus Frosch [Thu, 4 Apr 2019 10:10:23 +0000 (12:10 +0200)]
windows: Improve Powershell Tools and AppVeyor config

[travis skip]

5 years agoRemove not needed inline code tag 7085/head
Michael Insel [Thu, 4 Apr 2019 16:49:50 +0000 (18:49 +0200)]
Remove not needed inline code tag

This removes a not needed inline code tag (back-tick) in the upgrading
chapter for 2.11.

5 years agoImprove development docs for macOS & Windows for 2.11
Michael Friedrich [Tue, 2 Apr 2019 13:30:35 +0000 (15:30 +0200)]
Improve development docs for macOS & Windows for 2.11

- macOS doesn't require sudo anymore
- Windows builds must use Boost 1.66+
- Fix link in About section
- Add recommended books: Boost application programming

5 years agoMerge pull request #7082 from Icinga/feature/docs-troubleshooting
Michael Friedrich [Thu, 4 Apr 2019 13:42:52 +0000 (15:42 +0200)]
Merge pull request #7082 from Icinga/feature/docs-troubleshooting

Troubleshooting docs: Add Windows agents without NodeName constant

5 years agoTroubleshooting docs: Add Windows agents without NodeName constant 7082/head
Michael Friedrich [Thu, 4 Apr 2019 13:29:45 +0000 (15:29 +0200)]
Troubleshooting docs: Add Windows agents without NodeName constant

5 years agoMerge pull request #7080 from Icinga/feature/docs-object-types
Michael Friedrich [Wed, 3 Apr 2019 17:53:26 +0000 (19:53 +0200)]
Merge pull request #7080 from Icinga/feature/docs-object-types

Docs: Improve config object types chapter

5 years agoDocs: Improve config object types chapter 7080/head
Michael Friedrich [Wed, 3 Apr 2019 13:00:36 +0000 (15:00 +0200)]
Docs: Improve config object types chapter

5 years agoMerge pull request #7078 from Icinga/feature/deprecate-command-pipe-adjust-logs
Michael Friedrich [Wed, 3 Apr 2019 12:59:36 +0000 (14:59 +0200)]
Merge pull request #7078 from Icinga/feature/deprecate-command-pipe-adjust-logs

Deprecate ExternalCommandListener feature ('command') and adjust log warnings to the roadmap

5 years agoDeprecate ExternalCommandListener feature ('command') and adjust log warnings to... 7078/head
Michael Friedrich [Wed, 3 Apr 2019 12:39:10 +0000 (14:39 +0200)]
Deprecate ExternalCommandListener feature ('command') and adjust log warnings to the roadmap

They won't be removed with 2.11 thus far. Users should
be guided to the roadmap which holds all details instead
of hardcoding a version in the code.

5 years agoMerge pull request #7077 from Icinga/bugfix/no-api
Michael Friedrich [Wed, 3 Apr 2019 12:22:56 +0000 (14:22 +0200)]
Merge pull request #7077 from Icinga/bugfix/no-api

Always update object authority & don't skip notifications in non-API setups

5 years agoFix notification skip for local non-API enabled setups 7077/head
Michael Friedrich [Wed, 3 Apr 2019 11:50:21 +0000 (13:50 +0200)]
Fix notification skip for local non-API enabled setups

W/o local endpoint, these reminder notifications would
have been skipped otherwise.

PR #6935 improved the logging and made this problem visible.

Thanks @nilmerg :)

5 years agoAlways update object authority, even w/o API feature
Michael Friedrich [Wed, 3 Apr 2019 11:48:24 +0000 (13:48 +0200)]
Always update object authority, even w/o API feature

Regression from #7062

Thanks @nilmerg :)

5 years agoFix headings in the docs
Michael Friedrich [Wed, 3 Apr 2019 09:04:07 +0000 (11:04 +0200)]
Fix headings in the docs

refs #6918

5 years agoMerge pull request #6918 from Icinga/feature/technical-concepts-jsonrpc-messages
Michael Friedrich [Wed, 3 Apr 2019 08:52:45 +0000 (10:52 +0200)]
Merge pull request #6918 from Icinga/feature/technical-concepts-jsonrpc-messages

Add technical concept docs for our internal JSON-RPC API messages

5 years agoAdd technical concept docs for our internal JSON-RPC message API 6918/head
Michael Friedrich [Thu, 17 Jan 2019 17:20:23 +0000 (18:20 +0100)]
Add technical concept docs for our internal JSON-RPC message API

5 years ago/v1/events: terminate on disconnect
Alexander A. Klimov [Wed, 3 Apr 2019 07:59:45 +0000 (09:59 +0200)]
/v1/events: terminate on disconnect

5 years agoEventQueue#WaitForEvent(): re-add timeout
Alexander A. Klimov [Wed, 3 Apr 2019 07:53:45 +0000 (09:53 +0200)]
EventQueue#WaitForEvent(): re-add timeout

5 years agoMerge pull request #7074 from Icinga/feature/cli-run-as-icinga-not-root
Michael Friedrich [Wed, 3 Apr 2019 07:52:08 +0000 (09:52 +0200)]
Merge pull request #7074 from Icinga/feature/cli-run-as-icinga-not-root

Impersonate as Icinga user, not root

5 years agoUpgrading docs: Mention CLI commands 7074/head
Michael Friedrich [Wed, 3 Apr 2019 07:51:35 +0000 (09:51 +0200)]
Upgrading docs: Mention CLI commands

5 years agoHttpServerConnection#StartStreaming(): auto-detect disconnection
Alexander A. Klimov [Wed, 3 Apr 2019 07:50:52 +0000 (09:50 +0200)]
HttpServerConnection#StartStreaming(): auto-detect disconnection

5 years agoMerge pull request #7000 from Icinga/bugfix/goto-loop
Michael Friedrich [Wed, 3 Apr 2019 07:46:17 +0000 (09:46 +0200)]
Merge pull request #7000 from Icinga/bugfix/goto-loop

Don't abuse goto for building simple loops

5 years agoHttpServerConnection: encapsulate streaming start indicator
Alexander A. Klimov [Tue, 2 Apr 2019 15:37:29 +0000 (17:37 +0200)]
HttpServerConnection: encapsulate streaming start indicator

5 years agoImpersonate as Icinga user, not root
Michael Friedrich [Fri, 4 Jan 2019 14:29:25 +0000 (15:29 +0100)]
Impersonate as Icinga user, not root

This requires write permissions for

- etc/features-*
- etc/*.conf
- var/{lib,cache}/icinga2/*

Typically permissions are handled by prepare-dirs,
or the respective CLI commands are run as root either way.

fixes #4947

5 years agoMerge pull request #7008 from Icinga/feature/shared-ptr-atomic
Michael Friedrich [Tue, 2 Apr 2019 13:15:56 +0000 (15:15 +0200)]
Merge pull request #7008 from Icinga/feature/shared-ptr-atomic

Use C++11 atomics for our intrusive pointers

5 years agoEventQueue#WaitForEvent(): don't lock I/O thread while locking mutex
Alexander A. Klimov [Tue, 2 Apr 2019 12:38:06 +0000 (14:38 +0200)]
EventQueue#WaitForEvent(): don't lock I/O thread while locking mutex

5 years agoUse C++11 atomics for our intrusive pointers 7008/head
Alexander A. Klimov [Mon, 11 Mar 2019 11:05:01 +0000 (12:05 +0100)]
Use C++11 atomics for our intrusive pointers

5 years agoMerge pull request #7072 from Icinga/feature/boost-upgrading-docs
Michael Friedrich [Mon, 1 Apr 2019 16:10:46 +0000 (18:10 +0200)]
Merge pull request #7072 from Icinga/feature/boost-upgrading-docs

Upgrading docs: Add Boost dependencies

5 years agoUse new I/O engine in PkiUtility::FetchCert() and PkiUtility::RequestCertificate() 7133/head
Alexander A. Klimov [Mon, 25 Feb 2019 17:58:04 +0000 (18:58 +0100)]
Use new I/O engine in PkiUtility::FetchCert() and PkiUtility::RequestCertificate()

5 years agoAdd non-async overloads for JsonRpc::ReadMessage() and JsonRpc::SendMessage()
Alexander A. Klimov [Mon, 25 Feb 2019 17:15:47 +0000 (18:15 +0100)]
Add non-async overloads for JsonRpc::ReadMessage() and JsonRpc::SendMessage()

5 years agoAdd non-async overloads for NetString::ReadStringFromStream() and NetString::WriteStr...
Alexander A. Klimov [Mon, 25 Feb 2019 17:12:32 +0000 (18:12 +0100)]
Add non-async overloads for NetString::ReadStringFromStream() and NetString::WriteStringToStream()

5 years agoConnect(): add non-async overload
Alexander A. Klimov [Mon, 25 Feb 2019 15:40:14 +0000 (16:40 +0100)]
Connect(): add non-async overload

5 years agoIntroduce UnbufferedAsioTlsStream#GetPeerCertificate()
Alexander A. Klimov [Mon, 25 Feb 2019 16:22:00 +0000 (17:22 +0100)]
Introduce UnbufferedAsioTlsStream#GetPeerCertificate()

5 years agoUpgrading docs: Add Boost dependencies 7072/head
Michael Friedrich [Mon, 1 Apr 2019 14:51:50 +0000 (16:51 +0200)]
Upgrading docs: Add Boost dependencies

5 years agoMerge pull request #7005 from Icinga/feature/boost-asio
Michael Friedrich [Mon, 1 Apr 2019 14:49:44 +0000 (16:49 +0200)]
Merge pull request #7005 from Icinga/feature/boost-asio

ApiListener: use Boost ASIO and coroutines for net I/O

5 years agoImprove error logging on connection failure (cluster) 7005/head
Michael Friedrich [Mon, 1 Apr 2019 14:13:37 +0000 (16:13 +0200)]
Improve error logging on connection failure (cluster)

5 years agotravis: Add boost path config
Markus Frosch [Mon, 1 Apr 2019 13:31:44 +0000 (15:31 +0200)]
travis: Add boost path config

And disable unity builds for travis.

[skip appveyor]

5 years agotravis: Remove converity
Markus Frosch [Mon, 1 Apr 2019 13:25:19 +0000 (15:25 +0200)]
travis: Remove converity

5 years agotravis: Switch to xenial and newer Boost
Markus Frosch [Mon, 1 Apr 2019 13:22:41 +0000 (15:22 +0200)]
travis: Switch to xenial and newer Boost