]> granicus.if.org Git - icinga2/log
icinga2
8 years agoDocumentation for /v1/console
Michael Friedrich [Mon, 9 Nov 2015 10:04:26 +0000 (11:04 +0100)]
Documentation for /v1/console

fixes #10575

8 years agoImprove error message for 404s
Gunnar Beutner [Mon, 9 Nov 2015 09:40:31 +0000 (10:40 +0100)]
Improve error message for 404s

refs #9447

8 years agoDocumentation: Fix example host names
Michael Friedrich [Mon, 9 Nov 2015 09:37:47 +0000 (10:37 +0100)]
Documentation: Fix example host names

refs #9105
refs #10562

8 years agoFix memory leak for JSON-RPC/HTTP connections
Gunnar Beutner [Sun, 8 Nov 2015 20:23:04 +0000 (21:23 +0100)]
Fix memory leak for JSON-RPC/HTTP connections

fixes #10517

8 years agoDon't send cluster config messages for objects with version 0
Gunnar Beutner [Sun, 8 Nov 2015 20:22:06 +0000 (21:22 +0100)]
Don't send cluster config messages for objects with version 0

refs #9927

8 years agoRemove unused variable
Gunnar Beutner [Sun, 8 Nov 2015 16:53:22 +0000 (17:53 +0100)]
Remove unused variable

refs #10563

8 years agoAdd filter targets for remove-{comment,downtime} actions
Michael Friedrich [Sun, 8 Nov 2015 11:41:47 +0000 (12:41 +0100)]
Add filter targets for remove-{comment,downtime} actions

Drop remove-all-{comments,downtimes}. This is provided
by using host and service filters.

fixes #10561

8 years ago'api setup' must not override existing certificate and api-users.conf file
Michael Friedrich [Sun, 8 Nov 2015 13:19:06 +0000 (14:19 +0100)]
'api setup' must not override existing certificate and api-users.conf file

fixes #10560

8 years agoFix: /v1/console should only use a single permission
Michael Friedrich [Sun, 8 Nov 2015 13:17:13 +0000 (14:17 +0100)]
Fix: /v1/console should only use a single permission

fixes #10563

8 years agoFix: 'api setup' should create a user even when api feature is already enabled
Michael Friedrich [Sun, 8 Nov 2015 13:06:20 +0000 (14:06 +0100)]
Fix: 'api setup' should create a user even when api feature is already enabled

fixes #10560

8 years agoUpdate documentation
Gunnar Beutner [Sun, 8 Nov 2015 13:03:18 +0000 (14:03 +0100)]
Update documentation

fixes #10569

8 years agoUpdate documentation
Gunnar Beutner [Sun, 8 Nov 2015 11:55:18 +0000 (12:55 +0100)]
Update documentation

refs #9105

8 years agoUpdate API documentation
Michael Friedrich [Sun, 8 Nov 2015 11:54:36 +0000 (12:54 +0100)]
Update API documentation

refs #9105

8 years agoUpdate documentation
Gunnar Beutner [Sun, 8 Nov 2015 00:19:38 +0000 (01:19 +0100)]
Update documentation

refs #9105

8 years agoUpdate documentation
Gunnar Beutner [Sat, 7 Nov 2015 12:49:14 +0000 (13:49 +0100)]
Update documentation

refs #9105

8 years agoUpdate documentation
Gunnar Beutner [Sat, 7 Nov 2015 12:37:11 +0000 (13:37 +0100)]
Update documentation

refs #9105

8 years agoUpdate documentation
Gunnar Beutner [Sat, 7 Nov 2015 12:28:09 +0000 (13:28 +0100)]
Update documentation

refs #9105

8 years agoRemove duplicate text in an error message
Gunnar Beutner [Sat, 7 Nov 2015 09:31:09 +0000 (10:31 +0100)]
Remove duplicate text in an error message

refs #10559

8 years agoFix incorrect variable names for joined objects in filters
Gunnar Beutner [Sat, 7 Nov 2015 09:28:34 +0000 (10:28 +0100)]
Fix incorrect variable names for joined objects in filters

fixes #10558

8 years agoImprove messages for the debugger
Gunnar Beutner [Sat, 7 Nov 2015 09:22:55 +0000 (10:22 +0100)]
Improve messages for the debugger

refs #10559

8 years agoFix: Autocompletion doesn't work in the debugger
Gunnar Beutner [Sat, 7 Nov 2015 09:17:55 +0000 (10:17 +0100)]
Fix: Autocompletion doesn't work in the debugger

fixes #10559

8 years agoRename 'object' to 'obj' in filters
Gunnar Beutner [Sat, 7 Nov 2015 09:01:07 +0000 (10:01 +0100)]
Rename 'object' to 'obj' in filters

refs #9077

8 years agoMake the main object available as 'object' in filter expressions
Gunnar Beutner [Sat, 7 Nov 2015 08:58:09 +0000 (09:58 +0100)]
Make the main object available as 'object' in filter expressions

refs #9077

8 years agoImprove error handling when user specifies invalid method for /v1/console
Gunnar Beutner [Sat, 7 Nov 2015 08:11:16 +0000 (09:11 +0100)]
Improve error handling when user specifies invalid method for /v1/console

refs #10387

8 years agoUpdate documentation
Gunnar Beutner [Sat, 7 Nov 2015 08:57:40 +0000 (09:57 +0100)]
Update documentation

refs #9105

8 years agoImprove performance data for DB IDO
Gunnar Beutner [Sat, 7 Nov 2015 06:51:41 +0000 (07:51 +0100)]
Improve performance data for DB IDO

refs #9079

8 years agoUpdate man page for the --script-debugger option
Gunnar Beutner [Fri, 6 Nov 2015 16:56:06 +0000 (17:56 +0100)]
Update man page for the --script-debugger option

refs #10547

8 years agoDon't use 'which' in the 'prepare-dirs' script
Gunnar Beutner [Fri, 6 Nov 2015 16:39:18 +0000 (17:39 +0100)]
Don't use 'which' in the 'prepare-dirs' script

refs #10417

8 years agoRevert "Make sure 'api setup' is run by the Windows installer"
Gunnar Beutner [Fri, 6 Nov 2015 16:23:46 +0000 (17:23 +0100)]
Revert "Make sure 'api setup' is run by the Windows installer"

This reverts commit 2c6a87576b6548f8fbee455ef59ddf617cf64f35.

refs #9948

8 years agoAPI Actions: Remove -by-id from actions and require names for comments and downtimes
Michael Friedrich [Fri, 6 Nov 2015 15:45:09 +0000 (16:45 +0100)]
API Actions: Remove -by-id from actions and require names for comments and downtimes

The documentation is updated as well. Furthermore actions provide
detailed error information in case of an exception.
Includes DB IDO schema updates.

fixes #10512

8 years agoUpdate AUTHORS
Gunnar Beutner [Fri, 6 Nov 2015 16:03:21 +0000 (17:03 +0100)]
Update AUTHORS

refs #10555

8 years agoDon't try to use --gc-sections on SunOS
Matthaus Owens [Mon, 26 Oct 2015 21:01:22 +0000 (14:01 -0700)]
Don't try to use --gc-sections on SunOS

The linker on Solaris pukes on the floor when handed --gc-sections, so this commit adds SunOS to the list of OSes to exclude from this section of CMakery.

fixes #10555

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
8 years agoITL: Increase the default timeout for OS checks (update-windows, yum, apt)
Michael Friedrich [Fri, 6 Nov 2015 14:41:54 +0000 (15:41 +0100)]
ITL: Increase the default timeout for OS checks (update-windows, yum, apt)

fixes #10504

8 years agoITL: Add missing check_apt arguments
Jo Goossens [Fri, 6 Nov 2015 14:24:42 +0000 (15:24 +0100)]
ITL: Add missing check_apt arguments

refs #10504

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
8 years agoUpdate API documentation for object queries and joins
Michael Friedrich [Fri, 6 Nov 2015 14:32:44 +0000 (15:32 +0100)]
Update API documentation for object queries and joins

refs #9105

8 years agoChange output format for object queries
Gunnar Beutner [Fri, 6 Nov 2015 10:04:58 +0000 (11:04 +0100)]
Change output format for object queries

fixes #10551

8 years agoRemove outdated SELinux documentation for now
Michael Friedrich [Fri, 6 Nov 2015 12:34:58 +0000 (13:34 +0100)]
Remove outdated SELinux documentation for now

refs #10553

8 years agoUpdate API documentation for Accept header
Michael Friedrich [Fri, 6 Nov 2015 10:04:31 +0000 (11:04 +0100)]
Update API documentation for Accept header

refs #9105

8 years agoChange session_token to integer timestamp
Michael Friedrich [Thu, 5 Nov 2015 17:05:30 +0000 (18:05 +0100)]
Change session_token to integer timestamp

fixes #10529

8 years agoUpdate AUTHORS
Michael Friedrich [Thu, 5 Nov 2015 16:52:50 +0000 (17:52 +0100)]
Update AUTHORS

refs #10503

8 years agoAdd missing parameters for jmx4perl check command
Jo Goossens [Thu, 5 Nov 2015 16:50:47 +0000 (17:50 +0100)]
Add missing parameters for jmx4perl check command

fixes #10503

8 years agoFix: Async mysql queries aren't logged in the debug log
Michael Friedrich [Thu, 5 Nov 2015 14:43:09 +0000 (15:43 +0100)]
Fix: Async mysql queries aren't logged in the debug log

fixes #10540

8 years agoChange 'api setup' into a manual step while configuring the API
Michael Friedrich [Thu, 5 Nov 2015 14:37:58 +0000 (15:37 +0100)]
Change 'api setup' into a manual step while configuring the API

fixes #10549

8 years agoRequire 'Accept' header for API requests (except for GET)
Michael Friedrich [Thu, 5 Nov 2015 14:18:53 +0000 (15:18 +0100)]
Require 'Accept' header for API requests (except for GET)

fixes #10548

8 years agoUpdate API documentation from feedback and API clients
Michael Friedrich [Wed, 4 Nov 2015 09:39:32 +0000 (10:39 +0100)]
Update API documentation from feedback and API clients

refs #9105

8 years agoImplement a debugger for Icinga scripts
Gunnar Beutner [Thu, 5 Nov 2015 13:29:45 +0000 (14:29 +0100)]
Implement a debugger for Icinga scripts

fixes #10547

9 years agoFix command-line arguments which contain spaces
Gunnar Beutner [Thu, 5 Nov 2015 11:08:38 +0000 (12:08 +0100)]
Fix command-line arguments which contain spaces

fixes #10535

9 years agoBuild fix
Michael Friedrich [Thu, 5 Nov 2015 10:54:32 +0000 (11:54 +0100)]
Build fix

refs #10545

9 years agoFix invalid field IDs in Type::GetField
Gunnar Beutner [Thu, 5 Nov 2015 09:58:09 +0000 (10:58 +0100)]
Fix invalid field IDs in Type::GetField

refs #10387

9 years agoFix 'Invalid field ID' error when serializing Type objects
Gunnar Beutner [Thu, 5 Nov 2015 09:52:25 +0000 (10:52 +0100)]
Fix 'Invalid field ID' error when serializing Type objects

refs #10387

9 years agoFix the 'type' attribute for the Object class
Gunnar Beutner [Thu, 5 Nov 2015 09:29:02 +0000 (10:29 +0100)]
Fix the 'type' attribute for the Object class

refs #10387

9 years agoFix race condition in ConfigWriter::EmitIdentifier
Gunnar Beutner [Wed, 4 Nov 2015 18:05:47 +0000 (19:05 +0100)]
Fix race condition in ConfigWriter::EmitIdentifier

fixes #10538

9 years agoDon't validate custom attributes that aren't strings
Gunnar Beutner [Wed, 4 Nov 2015 18:04:33 +0000 (19:04 +0100)]
Don't validate custom attributes that aren't strings

fixes #10539

9 years agoImprove formatting for arrays
Gunnar Beutner [Wed, 4 Nov 2015 16:06:33 +0000 (17:06 +0100)]
Improve formatting for arrays

refs #10527

9 years agoFix indentation for nested dictionaries
Gunnar Beutner [Wed, 4 Nov 2015 15:42:19 +0000 (16:42 +0100)]
Fix indentation for nested dictionaries

refs #10527

9 years agoImplement 'console' cli command using the API
Michael Friedrich [Mon, 2 Nov 2015 15:35:21 +0000 (16:35 +0100)]
Implement 'console' cli command using the API

fixes #10387

9 years agoFix indentation for Dictionary::ToString
Gunnar Beutner [Wed, 4 Nov 2015 07:44:56 +0000 (08:44 +0100)]
Fix indentation for Dictionary::ToString

fixes #10527

9 years agoImplement the current_filename and current_line keywords
Gunnar Beutner [Tue, 3 Nov 2015 15:34:34 +0000 (16:34 +0100)]
Implement the current_filename and current_line keywords

fixes #10243

9 years agoFix race condition in ConfigWriter::GetKeywords
Gunnar Beutner [Tue, 3 Nov 2015 08:46:45 +0000 (09:46 +0100)]
Fix race condition in ConfigWriter::GetKeywords

fixes #10518

9 years agoIcinga Studio: Sort object names
Gunnar Beutner [Tue, 3 Nov 2015 08:44:12 +0000 (09:44 +0100)]
Icinga Studio: Sort object names

refs #10042

9 years agoOnly show types which inherit from ConfigObject and aren't abstract in Icinga Studio
Gunnar Beutner [Tue, 3 Nov 2015 07:27:36 +0000 (08:27 +0100)]
Only show types which inherit from ConfigObject and aren't abstract in Icinga Studio

fixes #10498

9 years agoFix crash in JsonRpcClient::DataAvailableHandler
Gunnar Beutner [Mon, 2 Nov 2015 16:34:01 +0000 (17:34 +0100)]
Fix crash in JsonRpcClient::DataAvailableHandler

fixes #10495

9 years agoAdd missing override
Michael Friedrich [Mon, 2 Nov 2015 16:36:13 +0000 (17:36 +0100)]
Add missing override

refs #10508
refs #10509

9 years agoAdd host.last_state_{up,down} and last_check attribute, hide *_raw attributes
Michael Friedrich [Mon, 2 Nov 2015 13:10:44 +0000 (14:10 +0100)]
Add host.last_state_{up,down} and last_check attribute, hide *_raw attributes

fixes #10508
fixes #10509

9 years agoAdd ipv4/ipv6 only to tcp, udp and http CheckCommand
Sebastian Chrostek [Sun, 1 Nov 2015 15:33:02 +0000 (16:33 +0100)]
Add ipv4/ipv6 only to tcp, udp and http CheckCommand

fixes #10513

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
9 years agoUpdate API docs for language improvements
Markus Frosch [Sun, 1 Nov 2015 17:30:46 +0000 (18:30 +0100)]
Update API docs for language improvements

refs #9105

9 years agoUpdate API documentation
Michael Friedrich [Sun, 1 Nov 2015 15:34:56 +0000 (16:34 +0100)]
Update API documentation

See comments in https://dev.icinga.org/issues/9105#note-15

refs #9105

9 years agoAPI actions: Check if removal of comments and downtimes was succesful
Michael Friedrich [Sun, 1 Nov 2015 15:33:43 +0000 (16:33 +0100)]
API actions: Check if removal of comments and downtimes was succesful

refs #9080

9 years agoAdd check command negate.
Lennart Betz [Sun, 1 Nov 2015 11:31:58 +0000 (12:31 +0100)]
Add check command negate.

fixes #10507

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
9 years agoAdd check command mysql
Lennart Betz [Sun, 1 Nov 2015 12:26:01 +0000 (13:26 +0100)]
Add check command mysql

fixes #10511

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
9 years agoUpdate API documentation
Michael Friedrich [Sun, 1 Nov 2015 12:41:25 +0000 (13:41 +0100)]
Update API documentation

* Rename object types to config object types
* Add common config object attributes (e.g. version) overview
* add API references to troubleshooting
* add CheckResult and PerfdataValue value types (exposed via API)
* Update object types and their attributes

refs #9105

9 years agoFix race condition in CreatePipeOverlapped
Gunnar Beutner [Sun, 1 Nov 2015 11:59:57 +0000 (12:59 +0100)]
Fix race condition in CreatePipeOverlapped

fixes #10510

9 years agoFix plural name for the Array type
Gunnar Beutner [Sun, 1 Nov 2015 09:35:08 +0000 (10:35 +0100)]
Fix plural name for the Array type

fixes #10501

9 years agoAdd the unique_id for comments/downtimes next to legacy_id to DB IDO
Michael Friedrich [Fri, 30 Oct 2015 10:24:48 +0000 (11:24 +0100)]
Add the unique_id for comments/downtimes next to legacy_id to DB IDO

fixes #10431

9 years agoFix missing field initializer in DB IDO
Michael Friedrich [Thu, 29 Oct 2015 21:27:09 +0000 (22:27 +0100)]
Fix missing field initializer in DB IDO

refs #10436

9 years agoAdd doc URL to /v1 info page
Michael Friedrich [Thu, 29 Oct 2015 17:57:37 +0000 (18:57 +0100)]
Add doc URL to /v1 info page

refs #9105

9 years agoUpdate documentation
Michael Friedrich [Thu, 29 Oct 2015 16:31:15 +0000 (17:31 +0100)]
Update documentation

refs #9105

9 years agoDB IDO: Add an index for CV session delete
Michael Friedrich [Thu, 29 Oct 2015 15:18:49 +0000 (16:18 +0100)]
DB IDO: Add an index for CV session delete

The DELETE statement might become painfully slow on
large installations.

refs #10436

9 years agoFix: Unique constraint violation with multiple comment inserts in DB IDO
Michael Friedrich [Thu, 29 Oct 2015 15:12:53 +0000 (16:12 +0100)]
Fix: Unique constraint violation with multiple comment inserts in DB IDO

fixes #10491

9 years agoDB IDO: Remove deleted custom variables
Michael Friedrich [Mon, 26 Oct 2015 12:14:41 +0000 (13:14 +0100)]
DB IDO: Remove deleted custom variables

We cannot clear the custom variable tables on startup and then re-insert
all known custom vars. Instead we "fixed" it by leaving them
in the database only updating their value if changed. We certainly
forgot about deleted custom vars at that point.

Since the older fix must stay in place, we'll use a session
token stored in the backend to check whether the custom
variable has been updated/inserted in the current session, or not.
If the session token does not match, the custom vars are deleted
at the end of the config dump. Ugly but fairly the only performant
solution as CVs don't have an object_id.

fixes #10436

9 years agoFix spelling mistake in 'node wizard'
Gunnar Beutner [Thu, 29 Oct 2015 07:11:23 +0000 (08:11 +0100)]
Fix spelling mistake in 'node wizard'

9 years agoUse the correct zone name for parent_zone when running 'icinga2 node update-config'
Gunnar Beutner [Thu, 29 Oct 2015 07:07:02 +0000 (08:07 +0100)]
Use the correct zone name for parent_zone when running 'icinga2 node update-config'

fixes #10479

9 years agoBuild fix for Windows
Gunnar Beutner [Thu, 29 Oct 2015 07:06:03 +0000 (08:06 +0100)]
Build fix for Windows

refs #9777

9 years agoDocumentation: Reorganize Livestatus and alternative Frontends
Michael Friedrich [Wed, 28 Oct 2015 20:07:12 +0000 (21:07 +0100)]
Documentation: Reorganize Livestatus and alternative Frontends

fixes #10482

9 years agoConvert Comment/Downtime to config objects
Gunnar Beutner [Thu, 20 Aug 2015 15:18:48 +0000 (17:18 +0200)]
Convert Comment/Downtime to config objects

fixes #9777

9 years agoDB IDO: Add object_id where clause for icinga_downtimehistory
Michael Friedrich [Wed, 28 Oct 2015 16:12:23 +0000 (17:12 +0100)]
DB IDO: Add object_id where clause for icinga_downtimehistory

fixes #10110

9 years agoFix: IDO tries to execute empty UPDATE queries
Gunnar Beutner [Wed, 28 Oct 2015 06:45:18 +0000 (07:45 +0100)]
Fix: IDO tries to execute empty UPDATE queries

fixes #10473

9 years agoFix incorrect URL check in the InfoHandler class
Gunnar Beutner [Wed, 28 Oct 2015 06:21:18 +0000 (07:21 +0100)]
Fix incorrect URL check in the InfoHandler class

refs #9105

9 years agoReview and update documentation
Michael Friedrich [Tue, 27 Oct 2015 17:42:32 +0000 (18:42 +0100)]
Review and update documentation

fixes #9080
refs #9105

9 years agoUpdate error messages
Jean Flach [Tue, 27 Oct 2015 14:26:19 +0000 (15:26 +0100)]
Update error messages

Removes verboseError from httprequest and uses
HttpUtility::GetLastParameter() instead to find out whether verbose
errors are enabled. Also parsing an invalid URL will now not lead to a
stacktrace anymore.

refs #10194

9 years agoUpdate API actions and documentation
Jean Flach [Tue, 27 Oct 2015 13:15:07 +0000 (14:15 +0100)]
Update API actions and documentation

refs #9080 #9105

9 years agoRemove byte order mark in 9-icinga2-api.md
Gunnar Beutner [Tue, 27 Oct 2015 08:50:24 +0000 (09:50 +0100)]
Remove byte order mark in 9-icinga2-api.md

refs #9105

9 years agoUpdate documentation
Gunnar Beutner [Tue, 27 Oct 2015 07:59:36 +0000 (08:59 +0100)]
Update documentation

refs #9105

9 years agoFix invalid delete in IndexerExpression::GetReference
Gunnar Beutner [Mon, 26 Oct 2015 17:00:42 +0000 (18:00 +0100)]
Fix invalid delete in IndexerExpression::GetReference

fixes #10466

9 years agoUpdate API documentation
Jean Flach [Mon, 26 Oct 2015 14:53:25 +0000 (15:53 +0100)]
Update API documentation

refs #9080

9 years agoFix: Line continuation is broken in 'icinga2 console'
Gunnar Beutner [Mon, 26 Oct 2015 12:04:03 +0000 (13:04 +0100)]
Fix: Line continuation is broken in 'icinga2 console'

fixes #10461

9 years agoImplement Array::ToString and Dictionary::ToString
Gunnar Beutner [Mon, 26 Oct 2015 10:05:24 +0000 (11:05 +0100)]
Implement Array::ToString and Dictionary::ToString

fixes #10329

9 years agoDon't allow scripts to access FANoUserView attributes in sandbox mode
Gunnar Beutner [Mon, 26 Oct 2015 09:41:00 +0000 (10:41 +0100)]
Don't allow scripts to access FANoUserView attributes in sandbox mode

fixes #10457

9 years agoUpdate AUTHORS
Gunnar Beutner [Mon, 26 Oct 2015 08:48:39 +0000 (09:48 +0100)]
Update AUTHORS

refs #10374

9 years agoAdd check command nginx_status
Bastian Guse [Thu, 15 Oct 2015 13:04:38 +0000 (15:04 +0200)]
Add check command nginx_status

fixes #10374

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>