]>
granicus.if.org Git - icinga2/log
Michael Friedrich [Fri, 18 Sep 2015 13:01:44 +0000 (15:01 +0200)]
Implement support for restoring modified attributes
Also fix a glitch with ModifyAttribute and original_attributes
storage.
fixes #9935
Michael Friedrich [Fri, 18 Sep 2015 11:04:09 +0000 (13:04 +0200)]
Fix a couple of wrong white spaces
Michael Friedrich [Fri, 18 Sep 2015 10:49:38 +0000 (12:49 +0200)]
Only sync objects actually belonging to a cluster zone
refs #9927
refs #9100
Michael Friedrich [Fri, 18 Sep 2015 08:05:34 +0000 (10:05 +0200)]
Sync cluster config before replaying the logs
If there were objects added at runtime (either through direct api
creation or by using the config file management api) the newly
created objects must be synced first, and then the stored historical
data should be synced.
refs #9927
refs #9100
Michael Friedrich [Thu, 17 Sep 2015 13:52:54 +0000 (15:52 +0200)]
Docs: Add a chapter on cluster config sync for the API
refs #9927
refs #9100
Michael Friedrich [Thu, 17 Sep 2015 11:54:09 +0000 (13:54 +0200)]
Add zone attribute influencing cluster config sync for API objects
1) No zone defined. The object will only be synced in the local zone for HA purposes.
2) Zone is set to 'master'. Only nodes in the master zone will get this object and updates synced.
3) Zone is set to 'satellite'. Only nodes in the satellite zone, or in parent zones above will get this object and updates synced.
4) Zone is set to 'client'. Only nodes in the client zone, and in parent zones (satellite, master) will get object updates.
Furthermore this commit adds a bit more security measures for syncing object
config bottom-up which is clearly restricted at this time. Clients cannot
send their config to the top, but yet we only support the top-down thing we
also have with the cluster file config sync.
The initial sync will also take the zone relation model into account
and only allow object syncs only when the same conditions apply as written
above.
refs #9927
refs #9100
Michael Friedrich [Tue, 15 Sep 2015 15:56:34 +0000 (17:56 +0200)]
Prevent object deletion on shutdown when checking !IsActive()
This is fairly ugly and sets an extension for the ConfigObjectUtility
delete handler to signal the OnActiveChanged handler inside the cluster
configsync to send a delete event to the other nodes.
refs #9927
Michael Friedrich [Tue, 15 Sep 2015 14:09:56 +0000 (16:09 +0200)]
Implement initial api object sync for newly connected endpoints
TODO: Figure out how to deal with Shutdown() deactivating and
therefore deleting all api created objects.
refs #9927
Michael Friedrich [Tue, 15 Sep 2015 09:59:09 +0000 (11:59 +0200)]
Update DB IDO on changed object version (create, update, delete)
refs #9927
Michael Friedrich [Fri, 11 Sep 2015 12:09:46 +0000 (14:09 +0200)]
Config Sync: Properly modify attributes and object version
refs #9927
Michael Friedrich [Thu, 10 Sep 2015 15:48:06 +0000 (17:48 +0200)]
Implement deleting api created objects in the cluster
refs #9927
Michael Friedrich [Thu, 10 Sep 2015 14:54:05 +0000 (16:54 +0200)]
Implement object config sync permissions and modified attributes based on version
refs #9927
Gunnar Beutner [Thu, 20 Aug 2015 14:43:03 +0000 (16:43 +0200)]
Implement config object sync
Adds object version.
refs #9927
Jean-Marcel Flach [Wed, 16 Sep 2015 13:14:33 +0000 (15:14 +0200)]
Add repeat_key=true to check_disk.exe -p
fixes #10158
Michael Friedrich [Wed, 16 Sep 2015 13:00:12 +0000 (15:00 +0200)]
Update graphing section in the docs
fixes #10157
Tobias von der Krone [Tue, 8 Sep 2015 04:34:33 +0000 (06:34 +0200)]
Add timestamp support for OpenTSDB
fixes #9183
Michael Friedrich [Mon, 14 Sep 2015 19:35:56 +0000 (21:35 +0200)]
Update debug docs for core dumps and full backtraces
fixes #10142
Michael Friedrich [Mon, 14 Sep 2015 08:36:06 +0000 (10:36 +0200)]
Deprecate IcingaStatusWriter feature
fixes #8741
Michael Friedrich [Sat, 12 Sep 2015 19:27:37 +0000 (21:27 +0200)]
Fix string escaping in hpasm argument description
refs #9854
Lennart Betz [Thu, 6 Aug 2015 13:04:17 +0000 (15:04 +0200)]
ITL: add check command for check_hpasm
fixes #9854
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
Lennart Betz [Sat, 15 Aug 2015 08:26:26 +0000 (10:26 +0200)]
ITL: add check_command nwc_health
fixes #9812
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
Lennart Betz [Sat, 12 Sep 2015 18:32:57 +0000 (20:32 +0200)]
Add missing options to check command dig
fixes #10139
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
Lennart Betz [Sat, 12 Sep 2015 18:15:36 +0000 (20:15 +0200)]
add check command for plugin check_pgsql
fixes #10112
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
Michael Friedrich [Thu, 10 Sep 2015 07:16:30 +0000 (09:16 +0200)]
Update AUTHORS
refs #10129
Sebastian Chrostek [Wed, 9 Sep 2015 18:27:14 +0000 (20:27 +0200)]
ITL: Add ipv4/ipv6 only to nrpe check command
fixes #10129
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
Michael Friedrich [Mon, 7 Sep 2015 12:04:34 +0000 (14:04 +0200)]
Documentation for config management api
fixes #9723
Lennart Betz [Mon, 7 Sep 2015 08:57:06 +0000 (10:57 +0200)]
ITL: Add check command squid
fixes #10109
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
Michael Friedrich [Fri, 19 Jun 2015 16:11:55 +0000 (18:11 +0200)]
Implement a better Graphite tree schema
This changes the entire tree, but with the prefix "icinga2"
not to conflict with existing installations. Includes
enable_legacy_mode and detailed documentation.
fixes #9461
fixes #8149
Michael Friedrich [Sat, 5 Sep 2015 13:50:09 +0000 (15:50 +0200)]
Release version 2.3.10
Michael Friedrich [Sat, 5 Sep 2015 13:18:10 +0000 (15:18 +0200)]
Use the command_endpoint name as check_source value if defined
fixes #9218
Michael Friedrich [Sat, 5 Sep 2015 12:08:35 +0000 (14:08 +0200)]
Fix string escape problem with PostgreSQL >= 9.1 and standard_conforming_strings=on
fixes #9244
Jean Flach [Tue, 1 Sep 2015 09:11:45 +0000 (11:11 +0200)]
Update url parser
fixes #10039
Michael Friedrich [Fri, 4 Sep 2015 11:24:41 +0000 (13:24 +0200)]
Fix wrong calculation for host compat state UNREACHABLE
fixes #10058
Michael Friedrich [Thu, 3 Sep 2015 15:11:12 +0000 (17:11 +0200)]
Fix missing zero padding for generated CA serial
fixes #10074
Gunnar Beutner [Wed, 2 Sep 2015 07:16:20 +0000 (09:16 +0200)]
Remove default WQ limits
refs #10002
Gunnar Beutner [Wed, 2 Sep 2015 05:39:40 +0000 (07:39 +0200)]
Fix deadlock in ApiListener::RelayMessage
fixes #10002
Michael Friedrich [Fri, 28 Aug 2015 15:58:29 +0000 (17:58 +0200)]
Rename config/modules to config/packages
fixes #9953
Gunnar Beutner [Mon, 31 Aug 2015 06:35:24 +0000 (08:35 +0200)]
Add start menu item for Icinga Studio
refs #10042
Gunnar Beutner [Fri, 28 Aug 2015 23:16:16 +0000 (01:16 +0200)]
Implement the Icinga Studio application
fixes #10042
Paul Richards [Sun, 30 Aug 2015 11:26:07 +0000 (12:26 +0100)]
Build fix for the demo module
fixes #10041
Signed-off-by: Michael Friedrich <michael.friedrich@gmail.com>
Gunnar Beutner [Sat, 29 Aug 2015 10:05:44 +0000 (12:05 +0200)]
Add plural_name field to /v1/types
fixes #10038
Michael Friedrich [Sat, 29 Aug 2015 08:29:53 +0000 (10:29 +0200)]
Docs: Remove unused wip chapter
refs #9105
Michael Friedrich [Sat, 29 Aug 2015 08:29:19 +0000 (10:29 +0200)]
Docs: Fix url anchors in API chapter
refs #9105
Michael Friedrich [Fri, 28 Aug 2015 15:40:18 +0000 (17:40 +0200)]
Remove unused variable
fixes #10034
refs #9872
Michael Friedrich [Fri, 28 Aug 2015 15:17:07 +0000 (17:17 +0200)]
API: First documentation draft
refs #9105
Gunnar Beutner [Fri, 28 Aug 2015 08:52:59 +0000 (10:52 +0200)]
Fix filtering by name
fixes #10027
Gunnar Beutner [Fri, 28 Aug 2015 08:03:26 +0000 (10:03 +0200)]
Fix incorrect HTTP encoding
refs #10024
Gunnar Beutner [Fri, 28 Aug 2015 07:49:16 +0000 (09:49 +0200)]
Fix: HttpHandler is calling HttpResponse::Finish twice for 404s
fixes #10024
Jean Flach [Thu, 27 Aug 2015 16:06:20 +0000 (18:06 +0200)]
Update use of String::Trim()
fixes #9704
Jean Flach [Thu, 27 Aug 2015 13:50:14 +0000 (15:50 +0200)]
Add String ToLower, ToUpper, change Trim
fixes #9704 #9944
Gunnar Beutner [Thu, 27 Aug 2015 12:47:31 +0000 (14:47 +0200)]
Use an AST node for the 'library' keyword
fixes #10017
Gunnar Beutner [Thu, 27 Aug 2015 12:31:24 +0000 (14:31 +0200)]
Fix compiler warning
fixes #10012
Gunnar Beutner [Thu, 27 Aug 2015 06:22:35 +0000 (08:22 +0200)]
Implement the resolve_arguments function
fixes #10006
Gunnar Beutner [Thu, 27 Aug 2015 06:58:25 +0000 (08:58 +0200)]
Missing macros in nested macro() calls should not cause the outer macro resolution to fail
fixes #10003
Gunnar Beutner [Thu, 27 Aug 2015 06:57:56 +0000 (08:57 +0200)]
Implement the escape_shell_arg and escape_shell_cmd functions
fixes #10004
Jean Flach [Wed, 26 Aug 2015 14:30:36 +0000 (16:30 +0200)]
Fix range() with negative increments
fixes #9999
Jean Flach [Fri, 21 Aug 2015 13:50:40 +0000 (15:50 +0200)]
Implement all actions except modified attributes
refs #9080 #9979
Gunnar Beutner [Wed, 26 Aug 2015 11:05:09 +0000 (13:05 +0200)]
Implement the 'name' field for types
refs #9076
Gunnar Beutner [Wed, 26 Aug 2015 09:33:10 +0000 (11:33 +0200)]
Release version 2.3.9
Lennart Betz [Wed, 26 Aug 2015 07:11:56 +0000 (09:11 +0200)]
Add new argument vmware_openvmtools to check commands vmware-esx-dc-runtime-tools and vmware-esxi-soap-vm-runtime-tools
fixes #9996
Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
Gunnar Beutner [Wed, 26 Aug 2015 09:02:22 +0000 (11:02 +0200)]
Add missing field attribute for the /v1/types API handler
refs #9076
Gunnar Beutner [Wed, 26 Aug 2015 09:00:05 +0000 (11:00 +0200)]
Fix incorrect field type for the Type.base field
refs #9076
Gunnar Beutner [Wed, 26 Aug 2015 08:58:59 +0000 (10:58 +0200)]
Implement reflection support for the API
fixes #9076
Gunnar Beutner [Wed, 26 Aug 2015 08:58:03 +0000 (10:58 +0200)]
Change base type for 'Type' to 'Object'
refs #9076
Gunnar Beutner [Wed, 26 Aug 2015 07:02:31 +0000 (09:02 +0200)]
Fix: Console auto-completion should take into account parent classes' prototypes
fixes #9843
Gunnar Beutner [Wed, 26 Aug 2015 06:39:05 +0000 (08:39 +0200)]
Remove duplicate severity type in the documentation
fixes #9992
Gunnar Beutner [Wed, 26 Aug 2015 04:57:24 +0000 (06:57 +0200)]
Remove unused argument 'async'
refs #9972
Gunnar Beutner [Tue, 25 Aug 2015 15:19:59 +0000 (17:19 +0200)]
Clean up the code a bit
refs #9096
Gunnar Beutner [Tue, 25 Aug 2015 15:19:31 +0000 (17:19 +0200)]
Fix crash in ConfigItem::CommitNewItems
refs #9096
Gunnar Beutner [Tue, 25 Aug 2015 14:43:48 +0000 (16:43 +0200)]
Use dependency graph when deleting objects
refs #9096
Jean Flach [Tue, 25 Aug 2015 15:06:08 +0000 (17:06 +0200)]
Move endpoint error check to ti file
refs #9623
Jean Flach [Mon, 24 Aug 2015 15:19:12 +0000 (17:19 +0200)]
Add config error on empty port in Endpoints
fixes #9623
Gunnar Beutner [Tue, 25 Aug 2015 11:53:43 +0000 (13:53 +0200)]
Implement support for tracking dependencies between config objects
refs #9096
Michael Friedrich [Mon, 24 Aug 2015 13:11:49 +0000 (15:11 +0200)]
Fix return value of Utility::MkDir/MkDirP
None as there are exceptions thrown.
fixes #9689
Gunnar Beutner [Mon, 24 Aug 2015 12:14:44 +0000 (14:14 +0200)]
Fix crash in ConfigCompiler::RegisterZoneDir
fixes #9987
Lennart Betz [Mon, 24 Aug 2015 08:36:18 +0000 (10:36 +0200)]
Add check command nspc-local-counter
fixes #9985
Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
Lennart Betz [Mon, 24 Aug 2015 08:22:40 +0000 (10:22 +0200)]
Set skip_key for the "-a" argument for nscp-local
fixes #9984
Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
Gunnar Beutner [Mon, 24 Aug 2015 09:04:26 +0000 (11:04 +0200)]
Remove the FutureExpression class
fixes #9972
Gunnar Beutner [Mon, 24 Aug 2015 06:01:33 +0000 (08:01 +0200)]
Clean up the API action code a bit
refs #9080
Michael Friedrich [Fri, 21 Aug 2015 12:44:31 +0000 (14:44 +0200)]
Remove debug messages in HttpRequest class
fixes #9946
Michael Friedrich [Fri, 21 Aug 2015 12:38:56 +0000 (14:38 +0200)]
Fix formatting in mkclass
fixes #9966
Michael Friedrich [Fri, 21 Aug 2015 10:47:49 +0000 (12:47 +0200)]
API: Return comment/downtime ids, refactor code
refs #9080
Jean Flach [Thu, 20 Aug 2015 12:30:34 +0000 (14:30 +0200)]
Experimental actions without types
refs #9080
Jean Flach [Mon, 3 Aug 2015 13:27:09 +0000 (15:27 +0200)]
Implement external commands as api actions
refs #9080
Michael Friedrich [Fri, 21 Aug 2015 10:23:14 +0000 (12:23 +0200)]
Doc: Fix markdown formatting for global zones
fixes #9977
Gunnar Beutner [Wed, 19 Aug 2015 05:54:06 +0000 (07:54 +0200)]
Fix: Utility::Glob on Windows doesn't support wildcards in all but the last path component
fixes #9962
Gunnar Beutner [Tue, 18 Aug 2015 18:25:06 +0000 (20:25 +0200)]
Fix crash in ConfigObjectUtility::CreateObject
refs #9082
Gunnar Beutner [Tue, 18 Aug 2015 18:16:22 +0000 (20:16 +0200)]
Don't re-download NSCP for every build
fixes #9961
Gunnar Beutner [Tue, 18 Aug 2015 17:39:10 +0000 (19:39 +0200)]
Add missing attributes for dependent objects
refs #9082
Gunnar Beutner [Tue, 18 Aug 2015 14:53:30 +0000 (16:53 +0200)]
Implement support for "." in attributes when creating objects
refs #9082
Gunnar Beutner [Tue, 18 Aug 2015 12:40:23 +0000 (14:40 +0200)]
Make sure the serial number field is always initialized
fixes #9947
Gunnar Beutner [Tue, 18 Aug 2015 12:21:55 +0000 (14:21 +0200)]
Ensure that runtime config objects are persisted on disk
refs #9101
fixes #9926
Gunnar Beutner [Tue, 18 Aug 2015 07:12:49 +0000 (09:12 +0200)]
Add 'override' keyword to methods
refs #9929
Gunnar Beutner [Tue, 18 Aug 2015 06:17:34 +0000 (08:17 +0200)]
Don't allow users to delete objects that weren't created using the API
refs #9082
Gunnar Beutner [Tue, 18 Aug 2015 05:46:04 +0000 (07:46 +0200)]
Fix compiler warnings
fixes #9929
Gunnar Beutner [Tue, 18 Aug 2015 04:47:07 +0000 (06:47 +0200)]
Implement support for filter_vars
fixes #9940
Gunnar Beutner [Mon, 17 Aug 2015 17:31:39 +0000 (19:31 +0200)]
Build fix for Windows
Michael Friedrich [Mon, 17 Aug 2015 14:08:57 +0000 (16:08 +0200)]
Add module attribute for ConfigObject and set its origin
fixes #9852
Michael Friedrich [Mon, 17 Aug 2015 12:55:51 +0000 (14:55 +0200)]
Implement support for . in modify_attribute
fixes #9852
Michael Friedrich [Mon, 17 Aug 2015 11:59:49 +0000 (13:59 +0200)]
Implement Object#clone and rename Array/Dictionary#clone to shallow_clone
fixes #9931