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

9 years agoBuild fix
Gunnar Beutner [Mon, 17 Aug 2015 09:20:41 +0000 (11:20 +0200)]
Build fix

9 years agoAdd missing category for IDO query
Michael Friedrich [Mon, 17 Aug 2015 09:03:41 +0000 (11:03 +0200)]
Add missing category for IDO query

fixes #9928

9 years agoFix compiler warnings
Gunnar Beutner [Mon, 17 Aug 2015 07:34:32 +0000 (09:34 +0200)]
Fix compiler warnings

refs #9081

9 years agoFix check_command interfaces, change option match_aliases to boolean
Lennart Betz [Sun, 16 Aug 2015 15:00:25 +0000 (17:00 +0200)]
Fix check_command interfaces, change option match_aliases to boolean

fixes #9912

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
9 years agoFix incorrect base class name for Array/Dictionary/etc.
Gunnar Beutner [Mon, 17 Aug 2015 06:14:04 +0000 (08:14 +0200)]
Fix incorrect base class name for Array/Dictionary/etc.

refs #9921

9 years agoAllow comments in JSON
Gunnar Beutner [Mon, 17 Aug 2015 06:03:25 +0000 (08:03 +0200)]
Allow comments in JSON

fixes #9919

9 years agoImplement the 'base' field for the Type class
Gunnar Beutner [Mon, 17 Aug 2015 05:59:44 +0000 (07:59 +0200)]
Implement the 'base' field for the Type class

fixes #9921

9 years agoRename DynamicObject/DynamicType to ConfigObject/ConfigType
Gunnar Beutner [Sat, 15 Aug 2015 18:28:05 +0000 (20:28 +0200)]
Rename DynamicObject/DynamicType to ConfigObject/ConfigType

fixes #9914

9 years agoImprove error messages for duplicate objects
Gunnar Beutner [Sat, 15 Aug 2015 08:17:45 +0000 (10:17 +0200)]
Improve error messages for duplicate objects

refs #9101

9 years agoMove object name validation into ConfigItemBuilder class
Gunnar Beutner [Sat, 15 Aug 2015 07:40:42 +0000 (09:40 +0200)]
Move object name validation into ConfigItemBuilder class

fixes #9911

9 years agoFix validation errors when creating objects with the API
Gunnar Beutner [Fri, 14 Aug 2015 18:01:12 +0000 (20:01 +0200)]
Fix validation errors when creating objects with the API

refs #9101

9 years agoImplement support for unregistering objects
Gunnar Beutner [Thu, 13 Aug 2015 07:02:52 +0000 (09:02 +0200)]
Implement support for unregistering objects

refs #9101

9 years agoImplement validation for modified attributes
Gunnar Beutner [Thu, 13 Aug 2015 06:52:00 +0000 (08:52 +0200)]
Implement validation for modified attributes

9 years agoImplement support for creating objects
Gunnar Beutner [Wed, 12 Aug 2015 13:27:35 +0000 (15:27 +0200)]
Implement support for creating objects

refs #9101

9 years agoImplement support for modified attributes in the API
Gunnar Beutner [Wed, 12 Aug 2015 12:15:01 +0000 (14:15 +0200)]
Implement support for modified attributes in the API

refs #9081

9 years agoImplement support for persisting modified attributes
Gunnar Beutner [Wed, 12 Aug 2015 07:52:29 +0000 (09:52 +0200)]
Implement support for persisting modified attributes

fixes #9093

9 years agoImplement modified attributes v2
Michael Friedrich [Tue, 4 Aug 2015 12:47:44 +0000 (14:47 +0200)]
Implement modified attributes v2

refs #9081
refs #9093

9 years agoFix typo in the documentation
Gunnar Beutner [Sat, 15 Aug 2015 17:52:43 +0000 (19:52 +0200)]
Fix typo in the documentation

fixes #9902

9 years agoIgnore -W and -K arguments for check_disk on Windows
Gunnar Beutner [Sat, 15 Aug 2015 08:26:43 +0000 (10:26 +0200)]
Ignore -W and -K arguments for check_disk on Windows

fixes #9913

9 years agoFix warnings about invalid API function 'icinga::Hello'
Gunnar Beutner [Tue, 11 Aug 2015 12:13:53 +0000 (14:13 +0200)]
Fix warnings about invalid API function 'icinga::Hello'

fixes #9884

9 years agoUse an empty dictionary for the 'this' scope when executing commands with Livestatus
Gunnar Beutner [Tue, 11 Aug 2015 11:58:02 +0000 (13:58 +0200)]
Use an empty dictionary for the 'this' scope when executing commands with Livestatus

fixes #9883

9 years agoImplement the Dictionary#keys method
Gunnar Beutner [Tue, 11 Aug 2015 11:56:42 +0000 (13:56 +0200)]
Implement the Dictionary#keys method

fixes #9882

9 years agoMake sure we're always creating the conf.d and zones.d directories
Gunnar Beutner [Tue, 11 Aug 2015 10:59:26 +0000 (12:59 +0200)]
Make sure we're always creating the conf.d and zones.d directories

fixes #9879

9 years agoFix incorrect function name
Gunnar Beutner [Tue, 11 Aug 2015 10:56:30 +0000 (12:56 +0200)]
Fix incorrect function name

refs #9876

9 years agoFix crash during cluster log replay
Gunnar Beutner [Tue, 11 Aug 2015 10:08:54 +0000 (12:08 +0200)]
Fix crash during cluster log replay

fixes #9876

9 years agoFix URL handlers
Gunnar Beutner [Tue, 11 Aug 2015 07:31:28 +0000 (09:31 +0200)]
Fix URL handlers

refs #9768

9 years agoFix crash in ScriptFrame::~ScriptFrame in debug builds
Gunnar Beutner [Tue, 11 Aug 2015 05:12:49 +0000 (07:12 +0200)]
Fix crash in ScriptFrame::~ScriptFrame in debug builds

fixes #9868

9 years agoRemove color codes in the console prompt
Gunnar Beutner [Tue, 11 Aug 2015 05:05:27 +0000 (07:05 +0200)]
Remove color codes in the console prompt

fixes #9872

9 years agoGet rid of code duplication in ConfigWriter/ConsoleCommand
Gunnar Beutner [Tue, 11 Aug 2015 04:44:42 +0000 (06:44 +0200)]
Get rid of code duplication in ConfigWriter/ConsoleCommand

refs #9099

9 years agoBuild fix for Windows
Gunnar Beutner [Mon, 10 Aug 2015 13:38:45 +0000 (15:38 +0200)]
Build fix for Windows

9 years agoImplement reload functionality for Windows
Gunnar Beutner [Mon, 10 Aug 2015 13:28:10 +0000 (15:28 +0200)]
Implement reload functionality for Windows

fixes #7880

9 years agoBuild fix for Windows
Gunnar Beutner [Mon, 10 Aug 2015 13:16:56 +0000 (15:16 +0200)]
Build fix for Windows

9 years agoFix: Make sure we're continuously reading from child processes' pipes
Gunnar Beutner [Mon, 10 Aug 2015 11:33:32 +0000 (13:33 +0200)]
Fix: Make sure we're continuously reading from child processes' pipes

fixes #9867

9 years agoImplement support for attaching GDB to the Icinga process on crash
Gunnar Beutner [Sat, 8 Aug 2015 07:40:16 +0000 (09:40 +0200)]
Implement support for attaching GDB to the Icinga process on crash

fixes #9866

9 years agoITL: Improve snmpv3 CheckCommand section
Petr Ruzicka [Tue, 4 Aug 2015 12:50:40 +0000 (14:50 +0200)]
ITL: Improve snmpv3 CheckCommand section

fixes #9827

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
9 years agoFix: Dict initializer incorrectly re-initialized field that is set to an empty string
Gunnar Beutner [Wed, 5 Aug 2015 05:45:10 +0000 (07:45 +0200)]
Fix: Dict initializer incorrectly re-initialized field that is set to an empty string

fixes #9835

9 years agoITL: Add check command check_interfaces
Lennart Betz [Sun, 2 Aug 2015 05:36:08 +0000 (07:36 +0200)]
ITL: Add check command check_interfaces

fixes #9527

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
9 years agoITL: Add check command check_mailq
Lennart Betz [Sun, 2 Aug 2015 09:54:25 +0000 (11:54 +0200)]
ITL: Add check command check_mailq

fixes #9811

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
9 years agoITL: Add check command check_clamd
Lennart Betz [Sun, 2 Aug 2015 05:45:34 +0000 (07:45 +0200)]
ITL: Add check command check_clamd

fixes #9747

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
9 years agoFix node wizard ignoring local zone name
Michael Friedrich [Mon, 3 Aug 2015 14:23:59 +0000 (16:23 +0200)]
Fix node wizard ignoring local zone name

fixes #9782

9 years agoFix cluster check w/ immediate parent and child zone endpoints
Michael Friedrich [Fri, 31 Jul 2015 14:19:58 +0000 (16:19 +0200)]
Fix cluster check w/ immediate parent and child zone endpoints

fixes #9262

9 years agoAdd check_yum to ITL
Dirk Goetz [Mon, 20 Jul 2015 08:14:10 +0000 (10:14 +0200)]
Add check_yum to ITL

fixes #9671

9 years agoAdd check_redis to ITL
Dirk Goetz [Mon, 20 Jul 2015 13:30:02 +0000 (15:30 +0200)]
Add check_redis to ITL

fixes #9675

9 years agoAdds check_jmx4perl to ITL
Dirk Goetz [Fri, 31 Jul 2015 10:30:52 +0000 (12:30 +0200)]
Adds check_jmx4perl to ITL

fixes #9801

9 years agoFix S_ISDIR on Windows
Michael Friedrich [Mon, 3 Aug 2015 08:17:12 +0000 (10:17 +0200)]
Fix S_ISDIR on Windows

fixes #9813

9 years agoImplement support for writing configuration files
Michael Friedrich [Mon, 3 Aug 2015 12:15:05 +0000 (14:15 +0200)]
Implement support for writing configuration files

fixes #9099

9 years agoFix build error when using boost 1.59
Paul Richards [Sun, 2 Aug 2015 14:18:45 +0000 (15:18 +0100)]
Fix build error when using boost 1.59

fixes #9814

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
9 years agoFix: Operator + is inconsistent when used with empty and non-empty strings
Gunnar Beutner [Sat, 1 Aug 2015 02:35:50 +0000 (04:35 +0200)]
Fix: Operator + is inconsistent when used with empty and non-empty strings

fixes #9806

9 years agoImplement /v1/actions/process-check-result
Jean Flach [Fri, 31 Jul 2015 15:18:49 +0000 (17:18 +0200)]
Implement /v1/actions/process-check-result

Requires error handling.

refs #9080

9 years agoAdd a warning if EventCommand is not found when using command_endpoint
Michael Friedrich [Fri, 31 Jul 2015 14:04:03 +0000 (16:04 +0200)]
Add a warning if EventCommand is not found when using command_endpoint

fixes #9773

9 years agoImplement external command DEL_DOWNTIME_BY_HOST_NAME
Michael Friedrich [Fri, 31 Jul 2015 12:46:38 +0000 (14:46 +0200)]
Implement external command DEL_DOWNTIME_BY_HOST_NAME

Required by Classic UI 1.x, this will hopefully reduce
the noise on non-working commands with the old legacy stuff.

fixes #8979

9 years agoImplement Dictionary#get and Array#get
Gunnar Beutner [Thu, 30 Jul 2015 18:58:52 +0000 (20:58 +0200)]
Implement Dictionary#get and Array#get

fixes #9796

9 years agoFix: ScriptFrame's 'Self' attribute gets corrupted when an expressions throws an...
Gunnar Beutner [Thu, 30 Jul 2015 18:22:02 +0000 (20:22 +0200)]
Fix: ScriptFrame's 'Self' attribute gets corrupted when an expressions throws an exception

fixes #9795

9 years agoFix: Operator - should not work with "" and numbers
Gunnar Beutner [Thu, 30 Jul 2015 18:01:08 +0000 (20:01 +0200)]
Fix: Operator - should not work with "" and numbers

fixes #9793

9 years agoFix: "" should not be equal to 0
Gunnar Beutner [Thu, 30 Jul 2015 17:58:22 +0000 (19:58 +0200)]
Fix: "" should not be equal to 0

fixes #9792

9 years agoFix incorrect 'this' scope in i2tcl
Gunnar Beutner [Thu, 30 Jul 2015 17:45:48 +0000 (19:45 +0200)]
Fix incorrect 'this' scope in i2tcl

fixes #9794

9 years agoImplement basic actions framework
Jean-Marcel Flach [Thu, 30 Jul 2015 15:50:17 +0000 (17:50 +0200)]
Implement basic actions framework

refs #9080

9 years agoFix URL parameters for filters
Gunnar Beutner [Thu, 30 Jul 2015 06:30:17 +0000 (08:30 +0200)]
Fix URL parameters for filters

refs #9077

9 years agoFix crash when trying to set field on a value that is not an object
Gunnar Beutner [Thu, 30 Jul 2015 06:28:07 +0000 (08:28 +0200)]
Fix crash when trying to set field on a value that is not an object

fixes #9779

9 years agoFix accessor for field 0 ("prototype")
Gunnar Beutner [Thu, 30 Jul 2015 06:23:43 +0000 (08:23 +0200)]
Fix accessor for field 0 ("prototype")

fixes #9778

9 years agoFix HTTP handlers
Gunnar Beutner [Wed, 29 Jul 2015 11:39:58 +0000 (13:39 +0200)]
Fix HTTP handlers

refs #9768

9 years agoUpdate url parser
Jean Flach [Wed, 29 Jul 2015 11:09:42 +0000 (13:09 +0200)]
Update url parser

fixes #9768

9 years agoSet correct X509 version for certificates
Gunnar Beutner [Wed, 29 Jul 2015 10:59:12 +0000 (12:59 +0200)]
Set correct X509 version for certificates

fixes #9769

9 years agoImplement support for limiting output attributes
Gunnar Beutner [Tue, 28 Jul 2015 15:12:00 +0000 (17:12 +0200)]
Implement support for limiting output attributes

refs #9077
fixes #9614

9 years agoFix incorrect URL for status queries
Gunnar Beutner [Tue, 28 Jul 2015 12:54:16 +0000 (14:54 +0200)]
Fix incorrect URL for status queries

refs #9077

9 years agoImprove error messages a bit
Gunnar Beutner [Tue, 28 Jul 2015 12:40:44 +0000 (14:40 +0200)]
Improve error messages a bit

refs #9077

9 years agoAdd support for implicit 'true' filter when filter parameter is missing
Gunnar Beutner [Tue, 28 Jul 2015 12:33:09 +0000 (14:33 +0200)]
Add support for implicit 'true' filter when filter parameter is missing

refs #9077

9 years agoImplement support for filters
Gunnar Beutner [Tue, 28 Jul 2015 11:57:59 +0000 (13:57 +0200)]
Implement support for filters

fixes #9077

9 years agoFix broken cluster config sync w/ latest api changes
Michael Friedrich [Sun, 26 Jul 2015 15:46:47 +0000 (17:46 +0200)]
Fix broken cluster config sync w/ latest api changes

Apart from dropping the requirement of adding 'include_zones "etc", "zones.d"'
on upgrade to 2.4, we've forgotten to register the local zone directory into
the new ZoneFragment tree.

This fix adds a new function to register the local zones.d directory.
After that the config sync works again.

fixes #9735

9 years agoFix a problem where invalid stage config could lead into broken stages
Michael Friedrich [Fri, 24 Jul 2015 14:05:13 +0000 (16:05 +0200)]
Fix a problem where invalid stage config could lead into broken stages

refs #9103
refs #9083

9 years agoImplement config file management for the API
Michael Friedrich [Tue, 21 Jul 2015 14:10:13 +0000 (16:10 +0200)]
Implement config file management for the API

refs #9083

fixes #9102
fixes #9103
fixes #9104

fixes #9705

9 years agoFix problem with child nodes in http url registry
Michael Friedrich [Wed, 22 Jul 2015 10:23:56 +0000 (12:23 +0200)]
Fix problem with child nodes in http url registry

fixes #9703

9 years agoUpdate AUTHORS
Gunnar Beutner [Wed, 22 Jul 2015 08:05:39 +0000 (10:05 +0200)]
Update AUTHORS

refs #9699

9 years agoAdd "-r" parameter to the check_load command for dividing the load averages by the...
Petr Ruzicka [Wed, 22 Jul 2015 07:14:48 +0000 (09:14 +0200)]
Add "-r" parameter to the check_load command for dividing the load averages by the number of CPUs

New variable "load_percpu" added to use when "-r" should be added for the check_load command.

fixes #9699

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
9 years agoImplement support for the X-HTTP-Method-Override HTTP header
Gunnar Beutner [Wed, 22 Jul 2015 06:28:15 +0000 (08:28 +0200)]
Implement support for the X-HTTP-Method-Override HTTP header

fixes #9698