]>
granicus.if.org Git - icinga2/log
Gunnar Beutner [Wed, 30 Sep 2015 14:38:56 +0000 (16:38 +0200)]
Remove JsonRpcConnection::m_WriteQueue
refs #9976
Michael Friedrich [Wed, 30 Sep 2015 14:14:04 +0000 (16:14 +0200)]
Config sync does not set endpoint syncing and plays disconnect-sync ping-pong
fixes #10255
Michael Friedrich [Wed, 30 Sep 2015 13:07:20 +0000 (15:07 +0200)]
Config sync shouldn't send updates for objects the client doesn't have access to
fixes #10249
Gunnar Beutner [Wed, 30 Sep 2015 12:13:18 +0000 (14:13 +0200)]
Improve property tree for Icinga Studio
refs #10042
Gunnar Beutner [Wed, 30 Sep 2015 12:02:18 +0000 (14:02 +0200)]
Properly encode URLs in Icinga Studio
fixes #10241
Gunnar Beutner [Wed, 30 Sep 2015 11:26:19 +0000 (13:26 +0200)]
Fix: /v1/objects/<type> returns an HTTP error when there are no objects of that type
fixes #10253
Gunnar Beutner [Wed, 30 Sep 2015 09:05:20 +0000 (11:05 +0200)]
Build fix
refs #10245
Gunnar Beutner [Wed, 30 Sep 2015 08:54:34 +0000 (10:54 +0200)]
Fix incorrectly escaped arguments for CreateProcess
fixes #10245
Michael Friedrich [Wed, 30 Sep 2015 08:04:37 +0000 (10:04 +0200)]
Fix problem with non-existing objects in config sync updates
refs #9851
refs #9927
refs #9081
Gunnar Beutner [Wed, 30 Sep 2015 07:40:29 +0000 (09:40 +0200)]
Improve error handling for Icinga Studio
refs #10042
Gunnar Beutner [Wed, 30 Sep 2015 06:49:30 +0000 (08:49 +0200)]
Rename api.cpp/api.hpp to apiclient.cpp/apiclient.hpp
refs #10042
Gunnar Beutner [Wed, 30 Sep 2015 06:41:09 +0000 (08:41 +0200)]
Improve log messages for HTTP requests
refs #9074
Michael Friedrich [Tue, 29 Sep 2015 16:40:04 +0000 (18:40 +0200)]
Use a temporary file for modified-attributes.conf updates
fixes #10238
Michael Friedrich [Tue, 29 Sep 2015 16:25:48 +0000 (18:25 +0200)]
Re-add missing package and stage name in configstageshandler
refs #10194
Michael Friedrich [Tue, 29 Sep 2015 14:03:38 +0000 (16:03 +0200)]
Fix deadlock in ApiClient::~ApiClient()
refs #9976
Michael Friedrich [Tue, 29 Sep 2015 12:56:04 +0000 (14:56 +0200)]
Docs: Remove obsolete mod attr commands
refs #9851
Michael Friedrich [Tue, 29 Sep 2015 12:21:57 +0000 (14:21 +0200)]
Fix object sync for modified attributes
refs #9851
refs #9927
refs #9081
Michael Friedrich [Mon, 28 Sep 2015 17:03:13 +0000 (19:03 +0200)]
Remove dead code from old mod attrs in the cluster
refs #9851
Michael Friedrich [Mon, 28 Sep 2015 16:58:00 +0000 (18:58 +0200)]
Remove dead code from old modified attributes
refs #9851
Gunnar Beutner [Tue, 29 Sep 2015 11:49:55 +0000 (13:49 +0200)]
Improve error handling for Icinga Studio
refs #10042
Gunnar Beutner [Tue, 29 Sep 2015 11:30:34 +0000 (13:30 +0200)]
Update Icinga Studio icon
refs #10042
Michael Friedrich [Tue, 29 Sep 2015 09:02:08 +0000 (11:02 +0200)]
Don't throw an exception when replaying the current replay log file
fixes #10239
Michael Friedrich [Tue, 29 Sep 2015 08:59:53 +0000 (10:59 +0200)]
Make sure object list is cleared when selecting a type which does not have any objects
refs #10235
Gunnar Beutner [Tue, 29 Sep 2015 08:31:16 +0000 (10:31 +0200)]
Fix deadlock in TlsStream::Close
fixes #10235
Gunnar Beutner [Tue, 29 Sep 2015 06:28:30 +0000 (08:28 +0200)]
Fix incorrect variable in Url::ParsePort
refs #10224
Gunnar Beutner [Tue, 29 Sep 2015 06:09:48 +0000 (08:09 +0200)]
Make Icinga Studio work with the latest API version
fixes #10224
Gunnar Beutner [Tue, 29 Sep 2015 05:09:35 +0000 (07:09 +0200)]
Fix: NULs don't work in string values
fixes #10234
Gunnar Beutner [Tue, 29 Sep 2015 04:48:16 +0000 (06:48 +0200)]
Remove debug code
refs #9077
Michael Friedrich [Mon, 28 Sep 2015 17:14:38 +0000 (19:14 +0200)]
Fix wrong query type in modify object api request
refs #10212
Michael Friedrich [Mon, 28 Sep 2015 16:38:36 +0000 (18:38 +0200)]
Docs: Add {api-users,app}.conf to configuring Icinga 2
fixes #10202
Michael Friedrich [Mon, 28 Sep 2015 16:02:41 +0000 (18:02 +0200)]
Update the api documentation
Rename /v1/hosts to /v1/objects/hosts.
Add permissions docs.
Change the url endpoints and change the host create/modify/etc
into a generic config object section.
refs #9105
Gunnar Beutner [Mon, 28 Sep 2015 14:31:49 +0000 (16:31 +0200)]
Fix null pointer dereference in StatusTargetProvider::GetTargetByName
refs #9088
Michael Friedrich [Mon, 28 Sep 2015 14:08:14 +0000 (16:08 +0200)]
Improve api error handling
refs #10194
Michael Friedrich [Mon, 28 Sep 2015 13:19:01 +0000 (15:19 +0200)]
Fix incorrect parameter name for status queries
refs #9088
Gunnar Beutner [Mon, 28 Sep 2015 12:37:50 +0000 (14:37 +0200)]
Fix: PerfdataValue is not properly serialised in status queries
fixes #10211
Gunnar Beutner [Mon, 28 Sep 2015 06:57:25 +0000 (08:57 +0200)]
Implement API permissions
fixes #9088
Gunnar Beutner [Mon, 28 Sep 2015 11:19:13 +0000 (13:19 +0200)]
Fix incorrect value for IdoMysqlConnection::m_AffectedRows
refs #10190
Gunnar Beutner [Mon, 28 Sep 2015 06:37:50 +0000 (08:37 +0200)]
Move /v1/<type> to /v1/objects/<type>
refs #10212
Gunnar Beutner [Mon, 28 Sep 2015 04:55:44 +0000 (06:55 +0200)]
Fix incorrect location info for validators
refs #9088
Michael Friedrich [Sun, 27 Sep 2015 13:27:08 +0000 (15:27 +0200)]
Ensure that multiple object handler request methods still work
refs #10194
Michael Friedrich [Fri, 25 Sep 2015 12:23:42 +0000 (14:23 +0200)]
Fix wrong log lag in cluster-zone check
Refactor the calculation into a generic function
which is also used inside the 2.4 status API.
fixes #8805
Jean-Marcel Flach [Tue, 22 Sep 2015 15:58:12 +0000 (17:58 +0200)]
Improve API error handling and fix some whitespace
fixes #10194
Michael Friedrich [Fri, 25 Sep 2015 10:30:27 +0000 (12:30 +0200)]
Docs: Use of same endpoint names in examples for a better understanding
fixes #10057
Michael Friedrich [Fri, 25 Sep 2015 09:56:10 +0000 (11:56 +0200)]
Use localhost:5665 in all api examples
refs #10210
Michael Friedrich [Fri, 25 Sep 2015 09:32:34 +0000 (11:32 +0200)]
Docs: Cluster naming convention for clients, troubleshooting for overdue check results
fixes #10216
fixes #10207
Jean-Marcel Flach [Fri, 25 Sep 2015 08:11:49 +0000 (10:11 +0200)]
Update docs
refs #10210
Michael Friedrich [Thu, 24 Sep 2015 17:15:05 +0000 (19:15 +0200)]
Docs: Fix typo
refs #10161
Jean-Marcel Flach [Thu, 24 Sep 2015 15:53:27 +0000 (17:53 +0200)]
Update docs: check_memory
fixes #10161
Jean-Marcel Flach [Thu, 24 Sep 2015 15:38:44 +0000 (17:38 +0200)]
Rename statusqueryhandler to objectqueryhandler
fixes #10209
Jean-Marcel Flach [Thu, 24 Sep 2015 13:26:57 +0000 (15:26 +0200)]
Move /status/Collection to /status
fixes #10210
Michael Friedrich [Thu, 24 Sep 2015 09:45:44 +0000 (11:45 +0200)]
DB IDO: Fix modified custom attribute update query problems
fixes #10190
Gunnar Beutner [Thu, 24 Sep 2015 06:46:14 +0000 (08:46 +0200)]
Update AUTHORS
refs #10093
Hendrik Röder [Fri, 4 Sep 2015 07:59:34 +0000 (09:59 +0200)]
Use SIDs for setting permissions on $INSTDIR
fixes #10093
Gunnar Beutner [Thu, 24 Sep 2015 06:29:13 +0000 (08:29 +0200)]
Fix incorrect error messages for apply-for
fixes #10205
Michael Friedrich [Wed, 23 Sep 2015 16:09:46 +0000 (18:09 +0200)]
Add icinga, cluster, cluster-zone check information to the ApiListener status handler
fixes #8093
Jean-Marcel Flach [Mon, 21 Sep 2015 09:44:58 +0000 (11:44 +0200)]
Implement status api handler
Global statistics, features, etc.
fixes #10116
Gunnar Beutner [Wed, 23 Sep 2015 14:37:21 +0000 (16:37 +0200)]
Fix parser error when using new-lines in dictionaries
fixes #10204
Michael Friedrich [Tue, 22 Sep 2015 16:18:29 +0000 (18:18 +0200)]
Implement global modified attributes for the IcingaApplication class
fixes #9859
Michael Friedrich [Mon, 21 Sep 2015 11:00:50 +0000 (13:00 +0200)]
Fix persisting and restoring modified attributes for custom attribute indexers
fixes #9935
fixes #9968
Gunnar Beutner [Wed, 23 Sep 2015 08:48:49 +0000 (10:48 +0200)]
Remove unnecessary check in Value::IsObject
refs #10199
Gunnar Beutner [Wed, 23 Sep 2015 08:36:57 +0000 (10:36 +0200)]
Remove unnecessary MakeLiteral calls in SetExpression::DoEvaluate
fixes #10199
Gunnar Beutner [Wed, 23 Sep 2015 07:30:30 +0000 (09:30 +0200)]
Fix crash in i2_eval
refs #10198
Gunnar Beutner [Wed, 23 Sep 2015 07:21:45 +0000 (09:21 +0200)]
Detect infinite recursion in user scripts
fixes #10198
Gunnar Beutner [Wed, 23 Sep 2015 07:06:15 +0000 (09:06 +0200)]
Implement the Array#reverse and String#reverse methods
fixes #10197
Gunnar Beutner [Wed, 23 Sep 2015 06:33:18 +0000 (08:33 +0200)]
Make ConfigObject::{Get,Set}Field() methods public
fixes #10186
Gunnar Beutner [Tue, 22 Sep 2015 11:02:35 +0000 (13:02 +0200)]
Fix: null + null should not be ""
fixes #10192
Gunnar Beutner [Tue, 22 Sep 2015 10:01:34 +0000 (12:01 +0200)]
Add missing handler for OnActiveChanged
refs #9098
Gunnar Beutner [Tue, 22 Sep 2015 09:56:27 +0000 (11:56 +0200)]
Update objects.cache when config is changed
fixes #9098
Gunnar Beutner [Tue, 22 Sep 2015 09:24:00 +0000 (11:24 +0200)]
Fix: String methods cannot be invoked on an empty string
fixes #10191
Gunnar Beutner [Tue, 22 Sep 2015 07:42:30 +0000 (09:42 +0200)]
Implement joins for status queries
fixes #10060
Jean-Marcel Flach [Mon, 21 Sep 2015 13:45:51 +0000 (15:45 +0200)]
Doccument permission problems with check_updates.exe
fixes #10177
Gunnar Beutner [Mon, 21 Sep 2015 11:08:49 +0000 (13:08 +0200)]
Build fix for Icinga Studio
Gunnar Beutner [Mon, 21 Sep 2015 10:58:20 +0000 (12:58 +0200)]
Update documentation
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>