Commit Graph

11032 Commits

Author SHA1 Message Date
Alexander A. Klimov bb8ff9f595 Clarify "Not set by default" of config object attributes referring to a time period 2019-07-03 11:27:26 +02:00
Michael Friedrich f3e682cef4
Merge pull request #7273 from Icinga/feature/docs-api-clients
Docs: Improve API clients; add Powershell example
2019-07-03 10:30:24 +02:00
Michael Friedrich 91a66c5875 Docs: Shorten the example script name 2019-07-03 10:20:57 +02:00
Michael Friedrich 22070798c5 Docs: Add TOC to REST API chapter 2019-07-03 10:19:21 +02:00
Michael Friedrich 87711b72e0 Docs: Add Powershell API example with PS ISE image
Thanks for the inspiration @mcktr
2019-07-03 10:08:17 +02:00
Michael Friedrich ab3be4f527 Docs: Add gocinga to API docs 2019-07-03 09:18:46 +02:00
Michael Friedrich 4714f88096 Docs: Add Icinga Slack Bot to API docs 2019-07-03 08:32:13 +02:00
Michael Friedrich 3b7cf5b9b5 API: Don't be so strict with the downtime start_time
There may be a slight overlap between the actual request
time and 'now'.

refs #7271
2019-07-02 15:13:36 +02:00
Michael Friedrich f63d9cce4a
Merge pull request #7261 from Icinga/bugfix/throw-default
Avoid "~Class() throw() = default;"
2019-07-02 12:33:54 +02:00
Michael Friedrich 5198254a61
Merge pull request #7271 from Icinga/bugfix/api-schedule-downtime-parameters
API: Improve error handling for 'schedule-downtime' action
2019-07-02 11:52:40 +02:00
Michael Friedrich 8ca38302fc API: Improve error handling for 'schedule-downtime' action 2019-07-02 11:15:43 +02:00
Michael Friedrich f72ef9360d
Merge pull request #7264 from BarbUk/feature/itl-check-memcached
Add memcached CheckCommand definition
2019-07-01 10:37:18 +02:00
BarbUk 2b951a0d37 Use PluginContribDir instead of PluginDir 2019-07-01 09:32:08 +02:00
Michael Friedrich 74a15c3ede
Merge pull request #7267 from Icinga/feature/security
Add security issue URL to README/About in the docs
2019-06-28 17:50:38 +02:00
Michael Friedrich 3392cb4e02 Docs: Add security issue URL to About chapter 2019-06-28 17:49:26 +02:00
Michael Friedrich c910f20640 Add security issue URL to README 2019-06-28 17:47:37 +02:00
Michael Friedrich 8824e8c4cf
Merge pull request #7266 from Icinga/bugfix/array-bound-7265
Fix out-of-bounds crash with Array#remove
2019-06-28 17:13:55 +02:00
Diana Flach ad0ff9839d Fix Icinga when calling array.remove()
fixes #7265
2019-06-28 16:37:29 +02:00
BarbUk 66d2e968a9
Add memcached CheckCommand definition 2019-06-28 16:37:56 +04:00
Michael Friedrich 58cb1e0341
Merge pull request #7262 from Obihoernchen/patch-2
Fix syntax (missing ")
2019-06-28 09:11:33 +02:00
Alexander A. Klimov 5b841db4a0 Avoid "~Class() throw() = default;" 2019-06-28 09:07:33 +02:00
Obihörnchen 97c919865d
Fix syntax (missing ")
Just a missing `"` ;)
2019-06-28 01:23:06 +02:00
Michael Friedrich 2f78b67e74
Merge pull request #7259 from dasJ/master
Fix Path to staged files
2019-06-27 08:20:45 +02:00
Janne Heß 3e801fbd5a Fix Path to staged files
The paths in the list are relative, not absolute to the stage directory.
2019-06-26 02:04:06 +02:00
Henrik Triem a7e94aab6d
Merge pull request #7251 from Icinga/bugfix/wq-silence-exceptions
Disable stack traces for WQ exceptions (used in config compiler)
2019-06-24 17:34:53 +02:00
Michael Friedrich e35fda856b Docs: Add Naglite to API docs 2019-06-24 13:41:21 +02:00
Michael Friedrich 6f43a23fde
Merge pull request #7252 from alanlitster/bugfix/nanorc-syntax-typo
Fix type in nanorc syntax file
2019-06-24 09:48:47 +02:00
Alan Litster b0b09cef76 Fix type in nanorc syntax file 2019-06-20 13:46:38 +01:00
Michael Friedrich 0b85928a30
Merge pull request #6727 from Icinga/feature/cluster-config-sync-stage
Improve cluster config sync
2019-06-19 17:37:30 +02:00
Michael Friedrich 1c9a540fc8 Docs: Add cluster config sync to technical concepts & upgrading 2019-06-19 17:04:51 +02:00
Michael Friedrich 08a47600be Config sync: Only copy paths to prod which are actually there
Stored files may be removed by external sources.
2019-06-19 17:00:50 +02:00
Henrik Triem 0381be32c5
Merge pull request #7192 from Crited/bugfix/notification_whitespaceremoval
Remove double whitespaces for notifications log message

resolves #7192
2019-06-19 16:42:58 +02:00
Michael Friedrich db4cc13770 Config Sync: Only log config files for stage, no metadata 2019-06-19 16:09:16 +02:00
Michael Friedrich 577e42e137 Quality: Comments and logs in cluster config sync 2019-06-19 14:46:11 +02:00
Michael Friedrich 3852c51c9f Cluster sync: Don't load/sync the .authoritative config file marker
This would influence everything else, and it isn't needed anywhere
but the master instance (zones.d -> var-zones).
2019-06-19 14:46:11 +02:00
Michael Friedrich 0aa6f1a3b3 Use boost::filesystem & Utility classes for file IO 2019-06-19 14:46:11 +02:00
Michael Friedrich 6add9f9ecb Avoid concurrent cluster config sync transactions
fixes #6660
2019-06-19 14:46:11 +02:00
Michael Friedrich af8624dcf1 Apply ReloadTimeout for 2.11 2019-06-19 14:46:11 +02:00
Michael Friedrich b3b7abdfe8 Spam the log with config file copies from stage to prod 2019-06-19 14:46:11 +02:00
Michael Friedrich 4c6150b254 Improve checksum logic and logging 2019-06-19 14:46:11 +02:00
Michael Friedrich f92f6f7f8c Improve checksum checks for each file content 2019-06-19 14:46:11 +02:00
Michael Friedrich a6ddef17d9 Enhace logging when config change yes/no will trigger further reload actions 2019-06-19 14:46:11 +02:00
Michael Friedrich c230e503e6 Fix global checksum calculation 2019-06-19 14:46:11 +02:00
Michael Friedrich 7a02990ef8 Refactor the client sync, part II (WIP, currently checksums generate an endless loop) 2019-06-19 14:46:11 +02:00
Michael Friedrich 6105ace50f Improve variable names in ApiListener::SendConfigUpdate() 2019-06-19 14:46:11 +02:00
Michael Friedrich a4b48fc7f4 Update code docs 2019-06-19 14:46:11 +02:00
Michael Friedrich fcc1799a5d Split config file sync updates, part I
This commit also introduces a playground for checksums,
whilst refactoring the code in large parts.
2019-06-19 14:46:11 +02:00
Michael Friedrich 9df389a843 Improve logging for ignored config updates where we are authoritative for (config master) 2019-06-19 14:46:11 +02:00
Michael Friedrich efc2289178 Remove duplicated validation paths in function signatures 2019-06-19 14:46:11 +02:00
Michael Friedrich 043824a6a9 Leave partial deletes as is, this is dealt with stage purge later 2019-06-19 14:46:11 +02:00