]> granicus.if.org Git - icinga2/log
icinga2
9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

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

fixes #8741

9 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

9 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>
9 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>
9 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>
9 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>
9 years agoUpdate AUTHORS
Michael Friedrich [Thu, 10 Sep 2015 07:16:30 +0000 (09:16 +0200)]
Update AUTHORS

refs #10129

9 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>
9 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

9 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>
9 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

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

9 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

9 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

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

fixes #10039

9 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

9 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

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

refs #10002

9 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

9 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

9 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

9 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

9 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>
9 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

9 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

9 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

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

fixes #10034
refs #9872

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

refs #9105

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

fixes #10027

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

refs #10024

9 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

9 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

9 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

9 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

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

fixes #10012

9 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

9 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

9 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

9 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

9 years agoImplement all actions except modified attributes
Jean Flach [Fri, 21 Aug 2015 13:50:40 +0000 (15:50 +0200)]
Implement all actions except modified attributes

refs #9080 #9979

9 years agoImplement the 'name' field for types
Gunnar Beutner [Wed, 26 Aug 2015 11:05:09 +0000 (13:05 +0200)]
Implement the 'name' field for types

refs #9076

9 years agoRelease version 2.3.9
Gunnar Beutner [Wed, 26 Aug 2015 09:33:10 +0000 (11:33 +0200)]
Release version 2.3.9

9 years agoAdd new argument vmware_openvmtools to check commands vmware-esx-dc-runtime-tools...
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>
9 years agoAdd missing field attribute for the /v1/types API handler
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

9 years agoFix incorrect field type for the Type.base field
Gunnar Beutner [Wed, 26 Aug 2015 09:00:05 +0000 (11:00 +0200)]
Fix incorrect field type for the Type.base field

refs #9076

9 years agoImplement reflection support for the API
Gunnar Beutner [Wed, 26 Aug 2015 08:58:59 +0000 (10:58 +0200)]
Implement reflection support for the API

fixes #9076

9 years agoChange base type for 'Type' to 'Object'
Gunnar Beutner [Wed, 26 Aug 2015 08:58:03 +0000 (10:58 +0200)]
Change base type for 'Type' to 'Object'

refs #9076

9 years agoFix: Console auto-completion should take into account parent classes' prototypes
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

9 years agoRemove duplicate severity type in the documentation
Gunnar Beutner [Wed, 26 Aug 2015 06:39:05 +0000 (08:39 +0200)]
Remove duplicate severity type in the documentation

fixes #9992

9 years agoRemove unused argument 'async'
Gunnar Beutner [Wed, 26 Aug 2015 04:57:24 +0000 (06:57 +0200)]
Remove unused argument 'async'

refs #9972

9 years agoClean up the code a bit
Gunnar Beutner [Tue, 25 Aug 2015 15:19:59 +0000 (17:19 +0200)]
Clean up the code a bit

refs #9096

9 years agoFix crash in ConfigItem::CommitNewItems
Gunnar Beutner [Tue, 25 Aug 2015 15:19:31 +0000 (17:19 +0200)]
Fix crash in ConfigItem::CommitNewItems

refs #9096

9 years agoUse dependency graph when deleting objects
Gunnar Beutner [Tue, 25 Aug 2015 14:43:48 +0000 (16:43 +0200)]
Use dependency graph when deleting objects

refs #9096

9 years agoMove endpoint error check to ti file
Jean Flach [Tue, 25 Aug 2015 15:06:08 +0000 (17:06 +0200)]
Move endpoint error check to ti file

refs #9623

9 years agoAdd config error on empty port in Endpoints
Jean Flach [Mon, 24 Aug 2015 15:19:12 +0000 (17:19 +0200)]
Add config error on empty port in Endpoints

fixes #9623

9 years agoImplement support for tracking dependencies between config objects
Gunnar Beutner [Tue, 25 Aug 2015 11:53:43 +0000 (13:53 +0200)]
Implement support for tracking dependencies between config objects

refs #9096

9 years agoFix return value of Utility::MkDir/MkDirP
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

9 years agoFix crash in ConfigCompiler::RegisterZoneDir
Gunnar Beutner [Mon, 24 Aug 2015 12:14:44 +0000 (14:14 +0200)]
Fix crash in ConfigCompiler::RegisterZoneDir

fixes #9987

9 years agoAdd check command nspc-local-counter
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>
9 years agoSet skip_key for the "-a" argument for nscp-local
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>
9 years agoRemove the FutureExpression class
Gunnar Beutner [Mon, 24 Aug 2015 09:04:26 +0000 (11:04 +0200)]
Remove the FutureExpression class

fixes #9972

9 years agoClean up the API action code a bit
Gunnar Beutner [Mon, 24 Aug 2015 06:01:33 +0000 (08:01 +0200)]
Clean up the API action code a bit

refs #9080

9 years agoRemove debug messages in HttpRequest class
Michael Friedrich [Fri, 21 Aug 2015 12:44:31 +0000 (14:44 +0200)]
Remove debug messages in HttpRequest class

fixes #9946

9 years agoFix formatting in mkclass
Michael Friedrich [Fri, 21 Aug 2015 12:38:56 +0000 (14:38 +0200)]
Fix formatting in mkclass

fixes #9966

9 years agoAPI: Return comment/downtime ids, refactor code
Michael Friedrich [Fri, 21 Aug 2015 10:47:49 +0000 (12:47 +0200)]
API: Return comment/downtime ids, refactor code

refs #9080

9 years agoExperimental actions without types
Jean Flach [Thu, 20 Aug 2015 12:30:34 +0000 (14:30 +0200)]
Experimental actions without types

refs #9080

9 years agoImplement external commands as api actions
Jean Flach [Mon, 3 Aug 2015 13:27:09 +0000 (15:27 +0200)]
Implement external commands as api actions

refs #9080

9 years agoDoc: Fix markdown formatting for global zones
Michael Friedrich [Fri, 21 Aug 2015 10:23:14 +0000 (12:23 +0200)]
Doc: Fix markdown formatting for global zones

fixes #9977

9 years agoFix: Utility::Glob on Windows doesn't support wildcards in all but the last path...
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

9 years agoFix crash in ConfigObjectUtility::CreateObject
Gunnar Beutner [Tue, 18 Aug 2015 18:25:06 +0000 (20:25 +0200)]
Fix crash in ConfigObjectUtility::CreateObject

refs #9082

9 years agoDon't re-download NSCP for every build
Gunnar Beutner [Tue, 18 Aug 2015 18:16:22 +0000 (20:16 +0200)]
Don't re-download NSCP for every build

fixes #9961

9 years agoAdd missing attributes for dependent objects
Gunnar Beutner [Tue, 18 Aug 2015 17:39:10 +0000 (19:39 +0200)]
Add missing attributes for dependent objects

refs #9082

9 years agoImplement support for "." in attributes when creating objects
Gunnar Beutner [Tue, 18 Aug 2015 14:53:30 +0000 (16:53 +0200)]
Implement support for "." in attributes when creating objects

refs #9082

9 years agoMake sure the serial number field is always initialized
Gunnar Beutner [Tue, 18 Aug 2015 12:40:23 +0000 (14:40 +0200)]
Make sure the serial number field is always initialized

fixes #9947

9 years agoEnsure that runtime config objects are persisted on disk
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

9 years agoAdd 'override' keyword to methods
Gunnar Beutner [Tue, 18 Aug 2015 07:12:49 +0000 (09:12 +0200)]
Add 'override' keyword to methods

refs #9929

9 years agoDon't allow users to delete objects that weren't created using the API
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

9 years agoFix compiler warnings
Gunnar Beutner [Tue, 18 Aug 2015 05:46:04 +0000 (07:46 +0200)]
Fix compiler warnings

fixes #9929

9 years agoImplement support for filter_vars
Gunnar Beutner [Tue, 18 Aug 2015 04:47:07 +0000 (06:47 +0200)]
Implement support for filter_vars

fixes #9940

9 years agoBuild fix for Windows
Gunnar Beutner [Mon, 17 Aug 2015 17:31:39 +0000 (19:31 +0200)]
Build fix for Windows

9 years agoAdd module attribute for ConfigObject and set its origin
Michael Friedrich [Mon, 17 Aug 2015 14:08:57 +0000 (16:08 +0200)]
Add module attribute for ConfigObject and set its origin

fixes #9852

9 years agoImplement support for . in modify_attribute
Michael Friedrich [Mon, 17 Aug 2015 12:55:51 +0000 (14:55 +0200)]
Implement support for . in modify_attribute

fixes #9852

9 years agoImplement Object#clone and rename Array/Dictionary#clone to shallow_clone
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