Michael Friedrich
e6e3db8602
Quickfix technical docs for debugging
...
(cherry picked from commit 0bd1d9a6f8
)
2019-05-21 16:41:23 +02:00
Dirk Goetz
a4f2006884
Docs: Add Master-Master-Replication as option for mysql
...
(cherry picked from commit c4f1ad7abb
)
2019-05-16 16:54:27 +02:00
Michael Friedrich
d5b2081d76
Docs: Add initial sync for secondary HA masters, hints on IDO DB clusters
...
refs #6492
(cherry picked from commit c2542710b7
)
2019-05-16 16:53:29 +02:00
Michael Friedrich
9d658530ce
Docs: Improve features chapter and add details on HA setups
...
refs #4855
(cherry picked from commit 07790e456b
)
2019-05-16 16:53:06 +02:00
Michael Friedrich
5f4f50b9af
Docs: Add note for reachability calculation with checks disabled
...
refs #6844
(cherry picked from commit 15326caf38
)
2019-05-16 16:49:10 +02:00
Michael Friedrich
1d14b75fc1
Update AUTHORS
2019-05-16 16:48:25 +02:00
Alexander A. Klimov
40a19e41d0
ApiListener#ReplayLog(): read current log file too instead of rotating
...
(cherry picked from commit 407e77883c
)
2019-05-16 16:45:58 +02:00
Alexander A. Klimov
c55e4e122f
ApiListener#RotateLogFile(): don't overwrite previous log
...
(cherry picked from commit 997d84bfa0
)
2019-05-16 16:32:53 +02:00
Alexander A. Klimov
206fb222c0
Rotate replay log on shutdown, not on startup
...
(cherry picked from commit f44e847717
)
2019-05-16 16:32:45 +02:00
Alexander A. Klimov
511772e08a
ApiListener#ApiTimerHandler(): delete all replayed logs
...
refs #6932
(cherry picked from commit 9b489cf9b9
)
2019-05-16 16:32:22 +02:00
Elias Ohm
b623274918
another small adjustment by the way just to ensure the object on stack ist the same as the one serialized further in case the object does not implement locking on mutation (besides it's mor efficient to not fetch the same value twice)
...
(cherry picked from commit cdd843a998
)
2019-05-16 16:31:09 +02:00
Elias Ohm
22fcdd868d
add some object locking to the Dump method (which could theoreticylly suffer from same reace condition as serializer)
...
(cherry picked from commit 44ac6cf1ec
)
2019-05-16 16:31:01 +02:00
Elias Ohm
68418eb6bc
Lock Objects during serialization
...
old behaviour was to only lock arrays, dictionaries and namespaces but not other objects
(cherry picked from commit 91296c2a25
)
2019-05-16 16:30:53 +02:00
Alexander A. Klimov
ae3590023b
Namespace: place ObjectLock in all methods
...
(cherry picked from commit 5afda77943
)
2019-05-16 16:19:29 +02:00
Elias Ohm
c6f84e24da
try without initialization of frame Locals which are not used for permissions filter and as far as I can see also not for query filters
...
(cherry picked from commit c10ff9dd72
)
2019-05-16 16:17:06 +02:00
Elias Ohm
14cb6ec741
use current frame scope for permission filter function calls
...
(cherry picked from commit 53febdea81
)
2019-05-16 16:16:58 +02:00
Alexander A. Klimov
967616d88e
FilterUtility::EvaluateFilter(): ensure not to modify the global namespace
...
(cherry picked from commit bdadb53940
)
2019-05-16 16:16:51 +02:00
Elias Ohm
8315ea86d7
* 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)
(cherry picked from commit 1e7cd4afc8
)
2019-05-16 16:12:21 +02:00
Michael Friedrich
6e822672be
Add log message for log rotate; update docs
...
refs #6737
(cherry picked from commit df25b183cb
)
2019-05-16 15:28:52 +02:00
Alexander A. Klimov
98d674f780
Timer::TimerThreadProc(): use C++11 lambda instead of bind()
...
refs #6737
(cherry picked from commit 7a8f8fd734
)
2019-05-16 15:27:53 +02:00
Alexander A. Klimov
f551666a7d
StreamLogger#BindStream(): set #m_FlushLogTimer only if needed
...
refs #6737
(cherry picked from commit 622f684124
)
2019-05-16 15:27:29 +02:00
Elias Ohm
304ba1fd6c
Fix for double-free (and possibly other memory-corruption related) crashes at logrotate time
...
this is a direct fix of the issue revealing the problem that leads to crash
verification done with a patched icinga2 where the execution-order of the code lines of counter-parts involved in re-incrementing/decrementing Timer:Ptr is forced to be the one that leads to the obeserverd segfaults
refs #6737
(cherry picked from commit 52e3db279a
)
2019-05-16 15:26:47 +02:00
marxin
54538986b8
Documentation: add missing argument to chkconfig command.
...
(cherry picked from commit dd0c7a28dd
)
2019-05-16 15:25:01 +02:00
Michael Friedrich
0927078685
Docs: Use jo to format JSON body for API actions, esp. unix timestamps
...
(cherry picked from commit 21225c6b48
)
2019-05-16 15:23:56 +02:00
Michael Friedrich
469cd2503c
CLI: Fix updates for NodeName/ZoneName constants
...
fixes #7117
(cherry picked from commit 4197bc9bcd
)
2019-05-16 15:23:35 +02:00
Michael Friedrich
d0ac7f464d
DB IDO: Do not deactivate objects during application reload/restart
...
This follows the same principle as with the shutdown handler,
and was introduced with the changed reload handling with 2.9.
Previously IsShuttingDown() was sufficient which got set at one
location.
SigUsr2 as handler introduced a new location where m_ShuttingDown
is not necessarily set yet. Since this handler gets called when
l_Restarting is enabled, we'll use this flag to avoid config update
events resulting in object deactivation (object->IsActive() always
returns false).
refs #5996
refs #6691
refs #6970
fixes #7125
(cherry picked from commit 78e24c53f1
)
2019-05-16 15:22:16 +02:00
Michael Friedrich
553bc54297
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
(cherry picked from commit 31170db123
)
2019-05-16 14:52:37 +02:00
Michael Friedrich
e55cad5c1a
Fix headings in the docs
...
refs #6918
(cherry picked from commit e909302fd9
)
2019-05-16 14:52:33 +02:00
Michael Friedrich
defb5b505f
Docs: Improve config object types chapter
...
(cherry picked from commit 2ce82b56d4
)
2019-05-16 14:49:56 +02:00
Alexander A. Klimov
9c0507f725
Doc: adjust default of ApiListener#bind_host
...
(cherry picked from commit 915525dbcd
)
2019-05-16 14:46:00 +02:00
Michael Friedrich
d6b4c96d02
Add technical concept docs for our internal JSON-RPC message API
...
(cherry picked from commit 3c591a03b0
)
2019-05-16 14:40:40 +02:00
Michael Friedrich
1149ed7506
Technical Concepts: Add config compiler references
...
(cherry picked from commit 2196027611
)
2019-05-16 14:40:09 +02:00
Peter Eckel
2a1a3726bf
Avoid duplicating non-zero count message replay messages in the debug log
...
(cherry picked from commit 5d59863725
)
2019-05-16 14:31:12 +02:00
Michael Friedrich
12b0b9a936
Fix code block in distributed monitoring docs
2019-03-28 09:56:49 +01:00
Michael Friedrich
cf9fe940d1
REST API Docs: Add Golang client code example
...
(cherry picked from commit 4296622f52
)
2019-03-28 09:52:45 +01:00
Michael Friedrich
b188fa715c
Document that `ca list` is not an inventory, add cleanup cycle
...
(cherry picked from commit 870de6a35d
)
2019-03-28 09:51:36 +01:00
Luiz Amaral
c918366e7a
Fix incorrect title in API docs
...
Partially picked from ae2de7b423
2019-03-28 09:50:12 +01:00
Michael Insel
59c8ce91d8
Unify documentation code formatting
...
This unifies the documentation code formatting to use only backticks.
(cherry picked from commit 081d88436f
)
2019-03-28 09:47:46 +01:00
Alexander A. Klimov
8702ee7dc2
HttpServerConnection#DataAvailableHandler(): reduce log spam
...
(cherry picked from commit f4ab0737d1
)
2019-03-28 09:44:38 +01:00
Michael Friedrich
de21dc3909
Release version 2.10.4
2019-03-19 12:55:29 +01:00
Michael Insel
60bc79ffa2
Fix check_perfmon to support non-localized names
...
This fixes check_perfmon to support non-localized names on localized
Windows machines. The fix handles the given performance counter by
default as non-localized name, if none is found it falls back to the
localized name.
refs #5546
(cherry picked from commit 5da4fbde3b
)
2019-03-19 12:33:53 +01:00
Michael Friedrich
2fdc1ccd7a
Docs: Update supported package repos in Getting Started chapter
...
- Add Raspbian
- Link to support matrix
- Use generic source list generators for Debian/Ubuntu
- Reorder dependent repo chapters (EPEL, etc.)
- Drop el6 instructions for IDO
(cherry picked from commit 1c546a7b51
)
2019-03-19 12:27:18 +01:00
Michael Friedrich
07161899e0
Update RELEASE checklist
2019-03-19 11:50:30 +01:00
Michael Friedrich
4257ccecca
Update AUTHORS
2019-03-19 11:50:17 +01:00
Alexander A. Klimov
e72da3b479
check_network -h: drop non-existent feature
...
refs #6155
(cherry picked from commit 9f26569bcc
)
2019-03-19 11:32:16 +01:00
Michael Insel
c996520e73
Fix heading level in development chapter
...
This fixes the wrong heading level for the Debian development
environment.
(cherry picked from commit da3775b6db
)
2019-03-19 11:32:00 +01:00
Dirk Goetz
221215f4cd
SELinux: add unreserved_port_type attribute to icinga2_port_t
...
Fixes #7029
(cherry picked from commit 726be2fec2
)
2019-03-19 11:31:43 +01:00
Alexander A. Klimov
29e8961cda
ElasticsearchWriter: don't leak sockets
...
refs #7018
(cherry picked from commit b2e2b587da
)
2019-03-19 11:31:20 +01:00
Alexander A. Klimov
1fc3a77c4a
InfluxdbWriter: don't leak sockets
...
refs #6989
(cherry picked from commit 2a6b122413
)
2019-03-19 11:30:01 +01:00
Michael Friedrich
c9d27e7baa
Merge pull request #7032 from Icinga/feature/backport-defer
...
Backport Defer class for 2.10
2019-03-19 11:28:48 +01:00