Michael Friedrich
fdb1a36ab6
Merge pull request #7096 from Icinga/feature/derivative-states
...
Expose derivative states via API
2019-04-09 16:55:47 +02:00
Michael Friedrich
d459f3448d
Merge pull request #7073 from Icinga/feature/docs-development-macos-windows
...
Improve docs for 2.11: Development, test snapshot packages & installation repos
2019-04-09 14:16:39 +02:00
Michael Friedrich
478f087a3a
Docs: Update installation for 2.11; remove EOL distributions
2019-04-09 14:14:52 +02:00
Michael Friedrich
b318c79fd0
Development: Add snapshot package test details
2019-04-09 14:14:47 +02:00
Alexander A. Klimov
de04bb13a8
JsonRpcConnection: reduce log spam on disconnect
2019-04-09 13:53:41 +02:00
Alexander A. Klimov
896d447e11
Add Checkable#problem and #handled
2019-04-09 11:34:59 +02:00
Alexander A. Klimov
d33cfdf3c0
Declare Checkable#IsStateOK() const
2019-04-09 11:26:34 +02:00
Alexander A. Klimov
acf28fb5b0
Expose Checkable#reachable
2019-04-09 11:09:02 +02:00
Michael Friedrich
e69e72d6af
Merge pull request #7093 from Icinga/feature/docs-2-11
...
Docs: Update version specific changes for 2.11
2019-04-08 14:52:58 +02:00
Michael Friedrich
863af5afb4
Docs: Update version specific changes for 2.11
...
- Notification commands 2.7 dropped, reference to MTAs added
- Sysconfig variable locations
- Version bumps
2019-04-08 14:08:14 +02:00
Michael Friedrich
6a298615e4
Merge pull request #7079 from Icinga/tools/windows
...
Build Windows with Visual Studio 2017
2019-04-05 16:38:12 +02:00
Michael Friedrich
0640ad3853
Merge pull request #7087 from Icinga/feature/http-server-log-user-agent
...
HttpServerConnection: Log the user agent field for new requests too
2019-04-05 16:00:36 +02:00
Michael Friedrich
f177d8786d
HttpServerConnection: Log the user agent field for new requests too
...
refs #7041
2019-04-05 15:08:09 +02:00
Markus Frosch
930dd83b94
windows: Avoid 32-bit linker problems for check_swap
2019-04-05 10:34:07 +02:00
Michael Friedrich
b1042c3689
Merge pull request #7076 from Icinga/bugfix/eventqueue-leak
...
/v1/events: terminate on disconnect
2019-04-05 10:31:30 +02:00
Michael Insel
20fc8960e1
Use Unicode functions inside check_swap
...
This ensures that always Unicode functions are used in check_swap.
2019-04-05 09:24:32 +02:00
Markus Frosch
61ea5ea758
windows: Add rules for Win32 to IcingaAgent C#
...
Theoretically this should be automatically, but the C++ project uses
Win32 as platform...
2019-04-05 09:24:25 +02:00
Alexander A. Klimov
2e4e2e1a79
/v1/events: don't deadlock other coroutines
2019-04-05 09:22:42 +02:00
Michael Friedrich
3c63356c73
Merge pull request #7085 from Icinga/bugfix/typo-upgrading-docs
...
Remove not needed inline code tag
2019-04-05 09:12:50 +02:00
Markus Frosch
f70e215cc9
windows: Disable SAFESEH on x86
2019-04-05 09:03:04 +02:00
Markus Frosch
9f82faa439
cmake: Use the actual GIT_VERSION for ICINGA2_VERSION
...
And use a safe version with dots only for Windows.
2019-04-05 09:03:04 +02:00
Markus Frosch
1ab23c20fb
windows: Disable optimization for boost::context
2019-04-05 09:03:04 +02:00
Markus Frosch
53bb10c2f2
windows: Remove the flag to disable auto linking
2019-04-05 09:03:04 +02:00
Markus Frosch
ca67d7e963
windows: Improve Powershell Tools and AppVeyor config
...
[travis skip]
2019-04-05 09:03:04 +02:00
Michael Insel
b448d99309
Remove not needed inline code tag
...
This removes a not needed inline code tag (back-tick) in the upgrading
chapter for 2.11.
2019-04-04 18:49:50 +02:00
Michael Friedrich
94a5b8e8c1
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
2019-04-04 15:50:20 +02:00
Michael Friedrich
d0da5e0833
Merge pull request #7082 from Icinga/feature/docs-troubleshooting
...
Troubleshooting docs: Add Windows agents without NodeName constant
2019-04-04 15:42:52 +02:00
Michael Friedrich
4841525379
Troubleshooting docs: Add Windows agents without NodeName constant
2019-04-04 15:29:45 +02:00
Michael Friedrich
c5ea42529e
Merge pull request #7080 from Icinga/feature/docs-object-types
...
Docs: Improve config object types chapter
2019-04-03 19:53:26 +02:00
Michael Friedrich
2ce82b56d4
Docs: Improve config object types chapter
2019-04-03 15:22:08 +02:00
Michael Friedrich
cd325410ec
Merge pull request #7078 from Icinga/feature/deprecate-command-pipe-adjust-logs
...
Deprecate ExternalCommandListener feature ('command') and adjust log warnings to the roadmap
2019-04-03 14:59:36 +02:00
Michael Friedrich
c785a0678f
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.
2019-04-03 14:39:10 +02:00
Michael Friedrich
7242301fdb
Merge pull request #7077 from Icinga/bugfix/no-api
...
Always update object authority & don't skip notifications in non-API setups
2019-04-03 14:22:56 +02:00
Michael Friedrich
84019ba27a
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 :)
2019-04-03 13:50:21 +02:00
Michael Friedrich
5c3a9b77d7
Always update object authority, even w/o API feature
...
Regression from #7062
Thanks @nilmerg :)
2019-04-03 13:48:24 +02:00
Michael Friedrich
e909302fd9
Fix headings in the docs
...
refs #6918
2019-04-03 11:04:07 +02:00
Michael Friedrich
0f2864f881
Merge pull request #6918 from Icinga/feature/technical-concepts-jsonrpc-messages
...
Add technical concept docs for our internal JSON-RPC API messages
2019-04-03 10:52:45 +02:00
Michael Friedrich
3c591a03b0
Add technical concept docs for our internal JSON-RPC message API
2019-04-03 10:51:15 +02:00
Alexander A. Klimov
2e5af2922b
/v1/events: terminate on disconnect
2019-04-03 09:59:45 +02:00
Alexander A. Klimov
4c5ee0dbbf
EventQueue#WaitForEvent(): re-add timeout
2019-04-03 09:53:45 +02:00
Michael Friedrich
c6eaee611c
Merge pull request #7074 from Icinga/feature/cli-run-as-icinga-not-root
...
Impersonate as Icinga user, not root
2019-04-03 09:52:08 +02:00
Michael Friedrich
7174dcd265
Upgrading docs: Mention CLI commands
2019-04-03 09:51:35 +02:00
Alexander A. Klimov
28d46052b0
HttpServerConnection#StartStreaming(): auto-detect disconnection
2019-04-03 09:50:52 +02:00
Michael Friedrich
c2f180395a
Merge pull request #7000 from Icinga/bugfix/goto-loop
...
Don't abuse goto for building simple loops
2019-04-03 09:46:17 +02:00
Alexander A. Klimov
c284cf0b68
HttpServerConnection: encapsulate streaming start indicator
2019-04-02 17:37:29 +02:00
Michael Friedrich
7ca8c3ec2f
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
2019-04-02 17:05:48 +02:00
Michael Friedrich
f484bbefc0
Merge pull request #7008 from Icinga/feature/shared-ptr-atomic
...
Use C++11 atomics for our intrusive pointers
2019-04-02 15:15:56 +02:00
Alexander A. Klimov
09a2e04f4b
EventQueue#WaitForEvent(): don't lock I/O thread while locking mutex
2019-04-02 14:38:06 +02:00
Alexander A. Klimov
cfd0d86b9b
Use C++11 atomics for our intrusive pointers
2019-04-02 13:54:30 +02:00
Michael Friedrich
58ae29acac
Merge pull request #7072 from Icinga/feature/boost-upgrading-docs
...
Upgrading docs: Add Boost dependencies
2019-04-01 18:10:46 +02:00