]> granicus.if.org Git - icinga2/log
icinga2
8 years agoDocs: Add {api-users,app}.conf to configuring Icinga 2
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

8 years agoUpdate the api documentation
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

8 years agoFix null pointer dereference in StatusTargetProvider::GetTargetByName
Gunnar Beutner [Mon, 28 Sep 2015 14:31:49 +0000 (16:31 +0200)]
Fix null pointer dereference in StatusTargetProvider::GetTargetByName

refs  #9088

8 years agoImprove api error handling
Michael Friedrich [Mon, 28 Sep 2015 14:08:14 +0000 (16:08 +0200)]
Improve api error handling

refs #10194

8 years agoFix incorrect parameter name for status queries
Michael Friedrich [Mon, 28 Sep 2015 13:19:01 +0000 (15:19 +0200)]
Fix incorrect parameter name for status queries

refs #9088

8 years agoFix: PerfdataValue is not properly serialised in status queries
Gunnar Beutner [Mon, 28 Sep 2015 12:37:50 +0000 (14:37 +0200)]
Fix: PerfdataValue is not properly serialised in status queries

fixes #10211

8 years agoImplement API permissions
Gunnar Beutner [Mon, 28 Sep 2015 06:57:25 +0000 (08:57 +0200)]
Implement API permissions

fixes #9088

8 years agoFix incorrect value for IdoMysqlConnection::m_AffectedRows
Gunnar Beutner [Mon, 28 Sep 2015 11:19:13 +0000 (13:19 +0200)]
Fix incorrect value for IdoMysqlConnection::m_AffectedRows

refs #10190

8 years agoMove /v1/<type> to /v1/objects/<type>
Gunnar Beutner [Mon, 28 Sep 2015 06:37:50 +0000 (08:37 +0200)]
Move /v1/<type> to /v1/objects/<type>

refs #10212

8 years agoFix incorrect location info for validators
Gunnar Beutner [Mon, 28 Sep 2015 04:55:44 +0000 (06:55 +0200)]
Fix incorrect location info for validators

refs #9088

8 years agoEnsure that multiple object handler request methods still work
Michael Friedrich [Sun, 27 Sep 2015 13:27:08 +0000 (15:27 +0200)]
Ensure that multiple object handler request methods still work

refs #10194

8 years agoFix wrong log lag in cluster-zone check
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

8 years agoImprove API error handling and fix some whitespace
Jean-Marcel Flach [Tue, 22 Sep 2015 15:58:12 +0000 (17:58 +0200)]
Improve API error handling and fix some whitespace

fixes #10194

8 years agoDocs: Use of same endpoint names in examples for a better understanding
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

8 years agoUse localhost:5665 in all api examples
Michael Friedrich [Fri, 25 Sep 2015 09:56:10 +0000 (11:56 +0200)]
Use localhost:5665 in all api examples

refs #10210

8 years agoDocs: Cluster naming convention for clients, troubleshooting for overdue check results
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

8 years agoUpdate docs
Jean-Marcel Flach [Fri, 25 Sep 2015 08:11:49 +0000 (10:11 +0200)]
Update docs

refs #10210

8 years agoDocs: Fix typo
Michael Friedrich [Thu, 24 Sep 2015 17:15:05 +0000 (19:15 +0200)]
Docs: Fix typo

refs #10161

8 years agoUpdate docs: check_memory
Jean-Marcel Flach [Thu, 24 Sep 2015 15:53:27 +0000 (17:53 +0200)]
Update docs: check_memory

fixes #10161

8 years agoRename statusqueryhandler to objectqueryhandler
Jean-Marcel Flach [Thu, 24 Sep 2015 15:38:44 +0000 (17:38 +0200)]
Rename statusqueryhandler to objectqueryhandler

fixes #10209

8 years agoMove /status/Collection to /status
Jean-Marcel Flach [Thu, 24 Sep 2015 13:26:57 +0000 (15:26 +0200)]
Move /status/Collection to /status

fixes #10210

8 years agoDB IDO: Fix modified custom attribute update query problems
Michael Friedrich [Thu, 24 Sep 2015 09:45:44 +0000 (11:45 +0200)]
DB IDO: Fix modified custom attribute update query problems

fixes #10190

8 years agoUpdate AUTHORS
Gunnar Beutner [Thu, 24 Sep 2015 06:46:14 +0000 (08:46 +0200)]
Update AUTHORS

refs #10093

8 years agoUse SIDs for setting permissions on $INSTDIR
Hendrik Röder [Fri, 4 Sep 2015 07:59:34 +0000 (09:59 +0200)]
Use SIDs for setting permissions on $INSTDIR

fixes #10093

8 years agoFix incorrect error messages for apply-for
Gunnar Beutner [Thu, 24 Sep 2015 06:29:13 +0000 (08:29 +0200)]
Fix incorrect error messages for apply-for

fixes #10205

8 years agoAdd icinga, cluster, cluster-zone check information to the ApiListener status handler
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

8 years agoImplement status api handler
Jean-Marcel Flach [Mon, 21 Sep 2015 09:44:58 +0000 (11:44 +0200)]
Implement status api handler

Global statistics, features, etc.

fixes #10116

8 years agoFix parser error when using new-lines in dictionaries
Gunnar Beutner [Wed, 23 Sep 2015 14:37:21 +0000 (16:37 +0200)]
Fix parser error when using new-lines in dictionaries

fixes #10204

8 years agoImplement global modified attributes for the IcingaApplication class
Michael Friedrich [Tue, 22 Sep 2015 16:18:29 +0000 (18:18 +0200)]
Implement global modified attributes for the IcingaApplication class

fixes #9859

8 years agoFix persisting and restoring modified attributes for custom attribute indexers
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

8 years agoRemove unnecessary check in Value::IsObject
Gunnar Beutner [Wed, 23 Sep 2015 08:48:49 +0000 (10:48 +0200)]
Remove unnecessary check in Value::IsObject

refs #10199

8 years agoRemove unnecessary MakeLiteral calls in SetExpression::DoEvaluate
Gunnar Beutner [Wed, 23 Sep 2015 08:36:57 +0000 (10:36 +0200)]
Remove unnecessary MakeLiteral calls in SetExpression::DoEvaluate

fixes #10199

8 years agoFix crash in i2_eval
Gunnar Beutner [Wed, 23 Sep 2015 07:30:30 +0000 (09:30 +0200)]
Fix crash in i2_eval

refs #10198

8 years agoDetect infinite recursion in user scripts
Gunnar Beutner [Wed, 23 Sep 2015 07:21:45 +0000 (09:21 +0200)]
Detect infinite recursion in user scripts

fixes #10198

8 years agoImplement the Array#reverse and String#reverse methods
Gunnar Beutner [Wed, 23 Sep 2015 07:06:15 +0000 (09:06 +0200)]
Implement the Array#reverse and String#reverse methods

fixes #10197

8 years agoMake ConfigObject::{Get,Set}Field() methods public
Gunnar Beutner [Wed, 23 Sep 2015 06:33:18 +0000 (08:33 +0200)]
Make ConfigObject::{Get,Set}Field() methods public

fixes #10186

8 years agoFix: null + null should not be ""
Gunnar Beutner [Tue, 22 Sep 2015 11:02:35 +0000 (13:02 +0200)]
Fix: null + null should not be ""

fixes #10192

8 years agoAdd missing handler for OnActiveChanged
Gunnar Beutner [Tue, 22 Sep 2015 10:01:34 +0000 (12:01 +0200)]
Add missing handler for OnActiveChanged

refs #9098

8 years agoUpdate objects.cache when config is changed
Gunnar Beutner [Tue, 22 Sep 2015 09:56:27 +0000 (11:56 +0200)]
Update objects.cache when config is changed

fixes #9098

8 years agoFix: String methods cannot be invoked on an empty string
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

8 years agoImplement joins for status queries
Gunnar Beutner [Tue, 22 Sep 2015 07:42:30 +0000 (09:42 +0200)]
Implement joins for status queries

fixes #10060

8 years agoDoccument permission problems with check_updates.exe
Jean-Marcel Flach [Mon, 21 Sep 2015 13:45:51 +0000 (15:45 +0200)]
Doccument permission problems with check_updates.exe

fixes #10177

8 years agoBuild fix for Icinga Studio
Gunnar Beutner [Mon, 21 Sep 2015 11:08:49 +0000 (13:08 +0200)]
Build fix for Icinga Studio

8 years agoUpdate documentation
Gunnar Beutner [Mon, 21 Sep 2015 10:58:20 +0000 (12:58 +0200)]
Update documentation

8 years agoImplement support for restoring modified attributes
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

8 years agoFix a couple of wrong white spaces
Michael Friedrich [Fri, 18 Sep 2015 11:04:09 +0000 (13:04 +0200)]
Fix a couple of wrong white spaces

8 years agoOnly sync objects actually belonging to a cluster zone
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

8 years agoSync cluster config before replaying the logs
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

8 years agoDocs: Add a chapter on cluster config sync for the API
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

8 years agoAdd zone attribute influencing cluster config sync for API objects
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

8 years agoPrevent object deletion on shutdown when checking !IsActive()
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

8 years agoImplement initial api object sync for newly connected endpoints
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

8 years agoUpdate DB IDO on changed object version (create, update, delete)
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

8 years agoConfig Sync: Properly modify attributes and object version
Michael Friedrich [Fri, 11 Sep 2015 12:09:46 +0000 (14:09 +0200)]
Config Sync: Properly modify attributes and object version

refs #9927

8 years agoImplement deleting api created objects in the cluster
Michael Friedrich [Thu, 10 Sep 2015 15:48:06 +0000 (17:48 +0200)]
Implement deleting api created objects in the cluster

refs #9927

8 years agoImplement object config sync permissions and modified attributes based on version
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

8 years agoImplement config object sync
Gunnar Beutner [Thu, 20 Aug 2015 14:43:03 +0000 (16:43 +0200)]
Implement config object sync

Adds object version.

refs #9927

8 years agoAdd repeat_key=true to check_disk.exe -p
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

8 years agoUpdate graphing section in the docs
Michael Friedrich [Wed, 16 Sep 2015 13:00:12 +0000 (15:00 +0200)]
Update graphing section in the docs

fixes #10157

8 years agoAdd timestamp support for OpenTSDB
Tobias von der Krone [Tue, 8 Sep 2015 04:34:33 +0000 (06:34 +0200)]
Add timestamp support for OpenTSDB

fixes #9183

8 years agoUpdate debug docs for core dumps and full backtraces
Michael Friedrich [Mon, 14 Sep 2015 19:35:56 +0000 (21:35 +0200)]
Update debug docs for core dumps and full backtraces

fixes #10142

8 years agoDeprecate IcingaStatusWriter feature
Michael Friedrich [Mon, 14 Sep 2015 08:36:06 +0000 (10:36 +0200)]
Deprecate IcingaStatusWriter feature

fixes #8741

8 years agoFix string escaping in hpasm argument description
Michael Friedrich [Sat, 12 Sep 2015 19:27:37 +0000 (21:27 +0200)]
Fix string escaping in hpasm argument description

refs #9854

8 years agoITL: add check command for check_hpasm
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>
8 years agoITL: add check_command nwc_health
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>
8 years agoAdd missing options to check command dig
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>
8 years agoadd check command for plugin check_pgsql
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>
8 years agoUpdate AUTHORS
Michael Friedrich [Thu, 10 Sep 2015 07:16:30 +0000 (09:16 +0200)]
Update AUTHORS

refs #10129

8 years agoITL: Add ipv4/ipv6 only to nrpe check command
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>
8 years agoDocumentation for config management api
Michael Friedrich [Mon, 7 Sep 2015 12:04:34 +0000 (14:04 +0200)]
Documentation for config management api

fixes #9723

8 years agoITL: Add check command squid
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>
8 years agoImplement a better Graphite tree schema
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

8 years agoRelease version 2.3.10
Michael Friedrich [Sat, 5 Sep 2015 13:50:09 +0000 (15:50 +0200)]
Release version 2.3.10

8 years agoUse the command_endpoint name as check_source value if defined
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

8 years agoFix string escape problem with PostgreSQL >= 9.1 and standard_conforming_strings=on
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

8 years agoUpdate url parser
Jean Flach [Tue, 1 Sep 2015 09:11:45 +0000 (11:11 +0200)]
Update url parser

fixes #10039

8 years agoFix wrong calculation for host compat state UNREACHABLE
Michael Friedrich [Fri, 4 Sep 2015 11:24:41 +0000 (13:24 +0200)]
Fix wrong calculation for host compat state UNREACHABLE

fixes #10058

8 years agoFix missing zero padding for generated CA serial
Michael Friedrich [Thu, 3 Sep 2015 15:11:12 +0000 (17:11 +0200)]
Fix missing zero padding for generated CA serial

fixes #10074

8 years agoRemove default WQ limits
Gunnar Beutner [Wed, 2 Sep 2015 07:16:20 +0000 (09:16 +0200)]
Remove default WQ limits

refs #10002

8 years agoFix deadlock in ApiListener::RelayMessage
Gunnar Beutner [Wed, 2 Sep 2015 05:39:40 +0000 (07:39 +0200)]
Fix deadlock in ApiListener::RelayMessage

fixes #10002

8 years agoRename config/modules to config/packages
Michael Friedrich [Fri, 28 Aug 2015 15:58:29 +0000 (17:58 +0200)]
Rename config/modules to config/packages

fixes #9953

8 years agoAdd start menu item for Icinga Studio
Gunnar Beutner [Mon, 31 Aug 2015 06:35:24 +0000 (08:35 +0200)]
Add start menu item for Icinga Studio

refs #10042

8 years agoImplement the Icinga Studio application
Gunnar Beutner [Fri, 28 Aug 2015 23:16:16 +0000 (01:16 +0200)]
Implement the Icinga Studio application

fixes #10042

8 years agoBuild fix for the demo module
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>
8 years agoAdd plural_name field to /v1/types
Gunnar Beutner [Sat, 29 Aug 2015 10:05:44 +0000 (12:05 +0200)]
Add plural_name field to /v1/types

fixes #10038

8 years agoDocs: Remove unused wip chapter
Michael Friedrich [Sat, 29 Aug 2015 08:29:53 +0000 (10:29 +0200)]
Docs: Remove unused wip chapter

refs #9105

8 years agoDocs: Fix url anchors in API chapter
Michael Friedrich [Sat, 29 Aug 2015 08:29:19 +0000 (10:29 +0200)]
Docs: Fix url anchors in API chapter

refs #9105

8 years agoRemove unused variable
Michael Friedrich [Fri, 28 Aug 2015 15:40:18 +0000 (17:40 +0200)]
Remove unused variable

fixes #10034
refs #9872

8 years agoAPI: First documentation draft
Michael Friedrich [Fri, 28 Aug 2015 15:17:07 +0000 (17:17 +0200)]
API: First documentation draft

refs #9105

8 years agoFix filtering by name
Gunnar Beutner [Fri, 28 Aug 2015 08:52:59 +0000 (10:52 +0200)]
Fix filtering by name

fixes #10027

8 years agoFix incorrect HTTP encoding
Gunnar Beutner [Fri, 28 Aug 2015 08:03:26 +0000 (10:03 +0200)]
Fix incorrect HTTP encoding

refs #10024

8 years agoFix: HttpHandler is calling HttpResponse::Finish twice for 404s
Gunnar Beutner [Fri, 28 Aug 2015 07:49:16 +0000 (09:49 +0200)]
Fix: HttpHandler is calling HttpResponse::Finish twice for 404s

fixes #10024

8 years agoUpdate use of String::Trim()
Jean Flach [Thu, 27 Aug 2015 16:06:20 +0000 (18:06 +0200)]
Update use of String::Trim()

fixes #9704

8 years agoAdd String ToLower, ToUpper, change Trim
Jean Flach [Thu, 27 Aug 2015 13:50:14 +0000 (15:50 +0200)]
Add String ToLower, ToUpper, change Trim

fixes #9704 #9944

8 years agoUse an AST node for the 'library' keyword
Gunnar Beutner [Thu, 27 Aug 2015 12:47:31 +0000 (14:47 +0200)]
Use an AST node for the 'library' keyword

fixes #10017

8 years agoFix compiler warning
Gunnar Beutner [Thu, 27 Aug 2015 12:31:24 +0000 (14:31 +0200)]
Fix compiler warning

fixes #10012

8 years agoImplement the resolve_arguments function
Gunnar Beutner [Thu, 27 Aug 2015 06:22:35 +0000 (08:22 +0200)]
Implement the resolve_arguments function

fixes #10006

8 years agoMissing macros in nested macro() calls should not cause the outer macro resolution...
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

8 years agoImplement the escape_shell_arg and escape_shell_cmd functions
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

8 years agoFix range() with negative increments
Jean Flach [Wed, 26 Aug 2015 14:30:36 +0000 (16:30 +0200)]
Fix range() with negative increments

fixes #9999