]> granicus.if.org Git - icinga2/log
icinga2
9 years agoDB IDO should provide its connected state via /v1/status
Michael Friedrich [Fri, 16 Oct 2015 11:02:41 +0000 (13:02 +0200)]
DB IDO should provide its connected state via /v1/status

fixes #10383

9 years agoDisallow modify attribute for certain object attributes
Michael Friedrich [Thu, 15 Oct 2015 14:33:20 +0000 (16:33 +0200)]
Disallow modify attribute for certain object attributes

fixes #9095

9 years agoDocument Object#clone
Michael Friedrich [Fri, 16 Oct 2015 09:57:19 +0000 (11:57 +0200)]
Document Object#clone

fixes #9930

9 years agoAdd a debug log message for updating the program status table in DB IDO
Michael Friedrich [Thu, 15 Oct 2015 16:43:30 +0000 (18:43 +0200)]
Add a debug log message for updating the program status table in DB IDO

fixes #10379

9 years agoFix wrong connection log message for global zones
Michael Friedrich [Thu, 15 Oct 2015 15:15:19 +0000 (17:15 +0200)]
Fix wrong connection log message for global zones

fixes #10377

9 years agoFix log message formatting for object version
Michael Friedrich [Thu, 15 Oct 2015 14:52:49 +0000 (16:52 +0200)]
Fix log message formatting for object version

refs #10355

9 years agoAdd timeout argument for pop, spop, imap, simap commands
Michael Friedrich [Thu, 15 Oct 2015 13:13:24 +0000 (15:13 +0200)]
Add timeout argument for pop, spop, imap, simap commands

fixes #10219

9 years agoImprove error message for socket errors in Livestatus
Michael Friedrich [Thu, 15 Oct 2015 12:58:21 +0000 (14:58 +0200)]
Improve error message for socket errors in Livestatus

fixes #10079

9 years agoEnsure that modified attributes work with clients with local config and no zone attribute
Michael Friedrich [Thu, 15 Oct 2015 12:05:39 +0000 (14:05 +0200)]
Ensure that modified attributes work with clients with local config and no zone attribute

fixes #10371

9 years agoFix wrong type for object version
Michael Friedrich [Thu, 15 Oct 2015 09:10:46 +0000 (11:10 +0200)]
Fix wrong type for object version

refs #10355

9 years agoFix: ApiListener::SyncRelayMessage doesn't send message to all zone members
Gunnar Beutner [Thu, 15 Oct 2015 07:28:20 +0000 (09:28 +0200)]
Fix: ApiListener::SyncRelayMessage doesn't send message to all zone members

fixes #10365

9 years agoFix incorrect variable type in ApiListener::ConfigUpdateObjectAPIHandler
Gunnar Beutner [Thu, 15 Oct 2015 07:26:58 +0000 (09:26 +0200)]
Fix incorrect variable type in ApiListener::ConfigUpdateObjectAPIHandler

refs #10355

9 years agoAvoid evaluating unnecessary filters
Gunnar Beutner [Wed, 14 Oct 2015 14:52:01 +0000 (16:52 +0200)]
Avoid evaluating unnecessary filters

refs #10360

9 years agoImprove performance for object queries
Gunnar Beutner [Wed, 14 Oct 2015 14:08:23 +0000 (16:08 +0200)]
Improve performance for object queries

fixes #10360

9 years agoDon't look up joined objects when we don't need to
Gunnar Beutner [Wed, 14 Oct 2015 13:36:59 +0000 (15:36 +0200)]
Don't look up joined objects when we don't need to

refs #10360

9 years agoMake sure that the 'version' attribute is updated when config attributes are changed
Gunnar Beutner [Wed, 14 Oct 2015 11:04:39 +0000 (13:04 +0200)]
Make sure that the 'version' attribute is updated when config attributes are changed

fixes #10355

9 years agoUpdate AUTHORS
Gunnar Beutner [Wed, 14 Oct 2015 10:23:03 +0000 (12:23 +0200)]
Update AUTHORS

refs #10354

9 years agoImprove error handling in cidr_match function
Thomas Gelf [Wed, 14 Oct 2015 10:11:04 +0000 (12:11 +0200)]
Improve error handling in cidr_match function

refs #10354

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
9 years agoImplement the cidr_match function
Gunnar Beutner [Wed, 14 Oct 2015 08:11:49 +0000 (10:11 +0200)]
Implement the cidr_match function

fixes #10354

9 years agoImprove timeperiods documentation
Jean Flach [Tue, 13 Oct 2015 11:46:31 +0000 (13:46 +0200)]
Improve timeperiods documentation

refs #10352

9 years agoFix broken table in the documentation
Gunnar Beutner [Tue, 13 Oct 2015 09:08:11 +0000 (11:08 +0200)]
Fix broken table in the documentation

fixes #10351

9 years agoUpdate AUTHORS
Gunnar Beutner [Tue, 13 Oct 2015 08:00:20 +0000 (10:00 +0200)]
Update AUTHORS

refs #8292

9 years agoAdded a hint regarding update-config for HA setups
Valentin Hoebel [Tue, 30 Jun 2015 09:11:32 +0000 (11:11 +0200)]
Added a hint regarding update-config for HA setups

At the moment, this command doesn't work if your configuration master is part of a HA setup.
May folks, including me, stumbled accross this fact. See https://dev.icinga.org/issues/8292 and
http://www.monitoring-portal.org/wbb/index.php?page=Thread&postID=212236&highlight=#post212236 for details.

Adding this hint to the documentation will be really helpful.

fixes #8292

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
9 years agoUpdate AUTHORS
Gunnar Beutner [Tue, 13 Oct 2015 07:52:10 +0000 (09:52 +0200)]
Update AUTHORS

refs #10350

9 years agoRemove duplicated text in section "Apply Notifications to Hosts and Services"
Siyalrach Anton Thomas [Thu, 13 Aug 2015 10:51:01 +0000 (12:51 +0200)]
Remove duplicated text in section "Apply Notifications to Hosts and Services"

fixes #10350

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
9 years agoFix parsing performance data labels which contain '='
Gunnar Beutner [Tue, 13 Oct 2015 07:38:31 +0000 (09:38 +0200)]
Fix parsing performance data labels which contain '='

fixes #10254

9 years agoFix crash in RepositoryUtility::AddObject
Gunnar Beutner [Tue, 13 Oct 2015 07:15:06 +0000 (09:15 +0200)]
Fix crash in RepositoryUtility::AddObject

fixes #10326

9 years agoFix support for host checks in CheckResultReader
Gunnar Beutner [Tue, 13 Oct 2015 06:56:12 +0000 (08:56 +0200)]
Fix support for host checks in CheckResultReader

fixes #10348

9 years agoAdd missing Start call for base class in CheckResultReader::Start
Gunnar Beutner [Tue, 13 Oct 2015 06:38:12 +0000 (08:38 +0200)]
Add missing Start call for base class in CheckResultReader::Start

fixes #10349

9 years agoUpdate documentation
Michael Friedrich [Thu, 8 Oct 2015 23:27:08 +0000 (16:27 -0700)]
Update documentation

refs #9105

9 years agoUpdate getting started instructions for FreeBSD
Lars Engels [Mon, 5 Oct 2015 11:49:49 +0000 (13:49 +0200)]
Update getting started instructions for FreeBSD

Based on a patch from ogg1980:
https://github.com/Icinga/icinga2/pull/47

fixes #9466

9 years agoAdd missing keywords in ConfigCompiler::GetKeywords
Gunnar Beutner [Wed, 7 Oct 2015 13:09:55 +0000 (06:09 -0700)]
Add missing keywords in ConfigCompiler::GetKeywords

refs #9960

9 years agoImplement the ignore_on_error keyword
Gunnar Beutner [Mon, 5 Oct 2015 10:44:11 +0000 (12:44 +0200)]
Implement the ignore_on_error keyword

fixes #9960

9 years agoFix openssl certificate not after overflow on rhel5
Michael Friedrich [Fri, 2 Oct 2015 09:41:54 +0000 (11:41 +0200)]
Fix openssl certificate not after overflow on rhel5

refs #10266

9 years agoFix wrong log message
Michael Friedrich [Fri, 2 Oct 2015 09:23:45 +0000 (11:23 +0200)]
Fix wrong log message

9 years agoUpdate schema version in dbconnection.hpp
Gunnar Beutner [Thu, 1 Oct 2015 15:13:33 +0000 (17:13 +0200)]
Update schema version in dbconnection.hpp

refs #9286

9 years agoDon't log messages we've already relayed to all relevant zones
Gunnar Beutner [Thu, 1 Oct 2015 07:17:23 +0000 (09:17 +0200)]
Don't log messages we've already relayed to all relevant zones

fixes #10262

9 years agoMake sure 'api setup' is run by the Windows installer
Gunnar Beutner [Thu, 1 Oct 2015 06:42:03 +0000 (08:42 +0200)]
Make sure 'api setup' is run by the Windows installer

fixes #9948

9 years agoMake sure the OK button is the default item for the Connect dialog
Gunnar Beutner [Thu, 1 Oct 2015 04:07:40 +0000 (06:07 +0200)]
Make sure the OK button is the default item for the Connect dialog

refs #10042

9 years agoAdd value type in the property grid
Gunnar Beutner [Thu, 1 Oct 2015 03:57:15 +0000 (05:57 +0200)]
Add value type in the property grid

refs #10042

9 years agoChange field type for ConfigObject::version to double
Gunnar Beutner [Thu, 1 Oct 2015 02:49:35 +0000 (04:49 +0200)]
Change field type for ConfigObject::version to double

refs #10257

9 years agoOnly update version when config attributes are changed
Gunnar Beutner [Thu, 1 Oct 2015 02:45:50 +0000 (04:45 +0200)]
Only update version when config attributes are changed

refs #10257

9 years agoChange object version to timestamps for diff updates on config sync
Michael Friedrich [Wed, 30 Sep 2015 14:58:18 +0000 (16:58 +0200)]
Change object version to timestamps for diff updates on config sync

fixes #10257

9 years agoFix formatting for floating-point values in ConfigWriter
Gunnar Beutner [Wed, 30 Sep 2015 14:43:32 +0000 (16:43 +0200)]
Fix formatting for floating-point values in ConfigWriter

fixes #10256

9 years agoRemove JsonRpcConnection::m_WriteQueue
Gunnar Beutner [Wed, 30 Sep 2015 14:38:56 +0000 (16:38 +0200)]
Remove JsonRpcConnection::m_WriteQueue

refs #9976

9 years agoConfig sync does not set endpoint syncing and plays disconnect-sync ping-pong
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

9 years agoConfig sync shouldn't send updates for objects the client doesn't have access to
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

9 years agoImprove property tree for Icinga Studio
Gunnar Beutner [Wed, 30 Sep 2015 12:13:18 +0000 (14:13 +0200)]
Improve property tree for Icinga Studio

refs #10042

9 years agoProperly encode URLs in Icinga Studio
Gunnar Beutner [Wed, 30 Sep 2015 12:02:18 +0000 (14:02 +0200)]
Properly encode URLs in Icinga Studio

fixes #10241

9 years agoFix: /v1/objects/<type> returns an HTTP error when there are no objects of that type
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

9 years agoBuild fix
Gunnar Beutner [Wed, 30 Sep 2015 09:05:20 +0000 (11:05 +0200)]
Build fix

refs #10245

9 years agoFix incorrectly escaped arguments for CreateProcess
Gunnar Beutner [Wed, 30 Sep 2015 08:54:34 +0000 (10:54 +0200)]
Fix incorrectly escaped arguments for CreateProcess

fixes #10245

9 years agoFix problem with non-existing objects in config sync updates
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

9 years agoImprove error handling for Icinga Studio
Gunnar Beutner [Wed, 30 Sep 2015 07:40:29 +0000 (09:40 +0200)]
Improve error handling for Icinga Studio

refs #10042

9 years agoRename api.cpp/api.hpp to apiclient.cpp/apiclient.hpp
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

9 years agoImprove log messages for HTTP requests
Gunnar Beutner [Wed, 30 Sep 2015 06:41:09 +0000 (08:41 +0200)]
Improve log messages for HTTP requests

refs #9074

9 years agoUse a temporary file for modified-attributes.conf updates
Michael Friedrich [Tue, 29 Sep 2015 16:40:04 +0000 (18:40 +0200)]
Use a temporary file for modified-attributes.conf updates

fixes #10238

9 years agoRe-add missing package and stage name in configstageshandler
Michael Friedrich [Tue, 29 Sep 2015 16:25:48 +0000 (18:25 +0200)]
Re-add missing package and stage name in configstageshandler

refs #10194

9 years agoFix deadlock in ApiClient::~ApiClient()
Michael Friedrich [Tue, 29 Sep 2015 14:03:38 +0000 (16:03 +0200)]
Fix deadlock in ApiClient::~ApiClient()

refs #9976

9 years agoDocs: Remove obsolete mod attr commands
Michael Friedrich [Tue, 29 Sep 2015 12:56:04 +0000 (14:56 +0200)]
Docs: Remove obsolete mod attr commands

refs #9851

9 years agoFix object sync for modified attributes
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

9 years agoRemove dead code from old mod attrs in the cluster
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

9 years agoRemove dead code from old modified attributes
Michael Friedrich [Mon, 28 Sep 2015 16:58:00 +0000 (18:58 +0200)]
Remove dead code from old modified attributes

refs #9851

9 years agoImprove error handling for Icinga Studio
Gunnar Beutner [Tue, 29 Sep 2015 11:49:55 +0000 (13:49 +0200)]
Improve error handling for Icinga Studio

refs #10042

9 years agoUpdate Icinga Studio icon
Gunnar Beutner [Tue, 29 Sep 2015 11:30:34 +0000 (13:30 +0200)]
Update Icinga Studio icon

refs #10042

9 years agoDon't throw an exception when replaying the current replay log file
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

9 years agoMake sure object list is cleared when selecting a type which does not have any objects
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

9 years agoFix deadlock in TlsStream::Close
Gunnar Beutner [Tue, 29 Sep 2015 08:31:16 +0000 (10:31 +0200)]
Fix deadlock in TlsStream::Close

fixes #10235

9 years agoFix incorrect variable in Url::ParsePort
Gunnar Beutner [Tue, 29 Sep 2015 06:28:30 +0000 (08:28 +0200)]
Fix incorrect variable in Url::ParsePort

refs #10224

9 years agoMake Icinga Studio work with the latest API version
Gunnar Beutner [Tue, 29 Sep 2015 06:09:48 +0000 (08:09 +0200)]
Make Icinga Studio work with the latest API version

fixes #10224

9 years agoFix: NULs don't work in string values
Gunnar Beutner [Tue, 29 Sep 2015 05:09:35 +0000 (07:09 +0200)]
Fix: NULs don't work in string values

fixes #10234

9 years agoRemove debug code
Gunnar Beutner [Tue, 29 Sep 2015 04:48:16 +0000 (06:48 +0200)]
Remove debug code

refs #9077

9 years agoFix wrong query type in modify object api request
Michael Friedrich [Mon, 28 Sep 2015 17:14:38 +0000 (19:14 +0200)]
Fix wrong query type in modify object api request

refs #10212

9 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

9 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

9 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

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

refs #10194

9 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

9 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

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

fixes #9088

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

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

refs #10210

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

refs #10161

9 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

9 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

9 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

9 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

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

refs #10093

9 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

9 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

9 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

9 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