]> granicus.if.org Git - icinga2/log
icinga2
8 years agoMerge branch 'support/2.4'
Gunnar Beutner [Thu, 19 May 2016 07:56:10 +0000 (09:56 +0200)]
Merge branch 'support/2.4'

8 years agoRelease version 2.4.9 v2.4.9
Gunnar Beutner [Thu, 19 May 2016 07:55:08 +0000 (09:55 +0200)]
Release version 2.4.9

8 years agoRelease version 2.4.9
Gunnar Beutner [Thu, 19 May 2016 07:55:08 +0000 (09:55 +0200)]
Release version 2.4.9

8 years agoOpen the command pipe with O_RDWR
Gunnar Beutner [Wed, 18 May 2016 13:52:29 +0000 (15:52 +0200)]
Open the command pipe with O_RDWR

fixes #11807

8 years agoFix exception in PerfdataWriter::RotateFile
Gunnar Beutner [Wed, 18 May 2016 12:01:32 +0000 (14:01 +0200)]
Fix exception in PerfdataWriter::RotateFile

fixes #11801

8 years agoFix crash in ConfigItem::Commit
Gunnar Beutner [Wed, 18 May 2016 10:53:41 +0000 (12:53 +0200)]
Fix crash in ConfigItem::Commit

fixes #11804

8 years agoOpen the command pipe with O_RDWR
Gunnar Beutner [Wed, 18 May 2016 13:52:29 +0000 (15:52 +0200)]
Open the command pipe with O_RDWR

fixes #11807

8 years agoFix 100% CPU usage issue and incorrect pending checks accounting in CheckerComponent...
Gunnar Beutner [Wed, 18 May 2016 12:30:36 +0000 (14:30 +0200)]
Fix 100% CPU usage issue and incorrect pending checks accounting in CheckerComponent::CheckThreadProc

fixes #11806

8 years agoFix exception in PerfdataWriter::RotateFile
Gunnar Beutner [Wed, 18 May 2016 12:01:32 +0000 (14:01 +0200)]
Fix exception in PerfdataWriter::RotateFile

fixes #11801

8 years agoFix crash in ConfigItem::Commit
Gunnar Beutner [Wed, 18 May 2016 10:53:41 +0000 (12:53 +0200)]
Fix crash in ConfigItem::Commit

fixes #11804

8 years agoMerge branch 'support/2.4'
Gunnar Beutner [Tue, 17 May 2016 09:44:01 +0000 (11:44 +0200)]
Merge branch 'support/2.4'

8 years agoFix PostgreSQL warnings on startup v2.4.8
Gunnar Beutner [Tue, 17 May 2016 08:32:38 +0000 (10:32 +0200)]
Fix PostgreSQL warnings on startup

fixes #11798

8 years agoFix PostgreSQL warnings on startup
Gunnar Beutner [Tue, 17 May 2016 08:32:38 +0000 (10:32 +0200)]
Fix PostgreSQL warnings on startup

fixes #11798

8 years agoRelease version 2.4.8
Gunnar Beutner [Thu, 12 May 2016 09:49:08 +0000 (11:49 +0200)]
Release version 2.4.8

8 years agoFix race condition in ConfigObject::SetAuthority
Gunnar Beutner [Thu, 12 May 2016 12:00:19 +0000 (14:00 +0200)]
Fix race condition in ConfigObject::SetAuthority

fixes #11784

8 years agoFix incorrect re-scheduling behavior for command_endpoint checks
Gunnar Beutner [Thu, 12 May 2016 11:46:22 +0000 (13:46 +0200)]
Fix incorrect re-scheduling behavior for command_endpoint checks

refs #8137

8 years agoRelease version 2.4.8
Gunnar Beutner [Thu, 12 May 2016 09:49:08 +0000 (11:49 +0200)]
Release version 2.4.8

8 years agoFix race condition in ConfigObject::SetAuthority
Gunnar Beutner [Thu, 12 May 2016 12:00:19 +0000 (14:00 +0200)]
Fix race condition in ConfigObject::SetAuthority

fixes #11784

8 years agoFix incorrect re-scheduling behavior for command_endpoint checks
Gunnar Beutner [Thu, 12 May 2016 11:46:22 +0000 (13:46 +0200)]
Fix incorrect re-scheduling behavior for command_endpoint checks

refs #8137

8 years agoUpdate documentation for /v1/actions/remove-downtime
Michael Friedrich [Thu, 12 May 2016 08:57:51 +0000 (10:57 +0200)]
Update documentation for /v1/actions/remove-downtime

refs #11779

8 years agoFix incorrect variable names for joined fields in filter expressions
Gunnar Beutner [Thu, 12 May 2016 08:24:15 +0000 (10:24 +0200)]
Fix incorrect variable names for joined fields in filter expressions

fixes #11779

8 years agoAdd the category to the generated changelog
Michael Friedrich [Wed, 11 May 2016 14:52:52 +0000 (16:52 +0200)]
Add the category to the generated changelog

fixes #11768

8 years agoFix possible crash in Add{Comment,Downtime}
Michael Friedrich [Wed, 11 May 2016 14:12:09 +0000 (16:12 +0200)]
Fix possible crash in Add{Comment,Downtime}

refs #11112

8 years agoReport failed reload attempts for the icinga check
Gunnar Beutner [Wed, 11 May 2016 14:07:28 +0000 (16:07 +0200)]
Report failed reload attempts for the icinga check

fixes #9060
fixes #9997
fixes #11129

8 years agoFix incorrect calculation in Downtime::IsInEffect
Gunnar Beutner [Wed, 11 May 2016 12:13:05 +0000 (14:13 +0200)]
Fix incorrect calculation in Downtime::IsInEffect

fixes #11589

8 years agoEnsure that program status updates are immediately updated in DB IDO
Michael Friedrich [Wed, 11 May 2016 12:03:40 +0000 (14:03 +0200)]
Ensure that program status updates are immediately updated in DB IDO

fixes #11767

8 years agoImprove timing behavior for UpdateObjectAuthority calls
Gunnar Beutner [Wed, 11 May 2016 11:04:39 +0000 (13:04 +0200)]
Improve timing behavior for UpdateObjectAuthority calls

refs #11765

8 years agoOnly activate HARunOnce objects once there's a cluster connection
Gunnar Beutner [Wed, 11 May 2016 10:50:08 +0000 (12:50 +0200)]
Only activate HARunOnce objects once there's a cluster connection

fixes #11765

8 years agoFix overloaded command pipe errors
Michael Friedrich [Mon, 9 May 2016 14:14:48 +0000 (16:14 +0200)]
Fix overloaded command pipe errors

fixes #11390

8 years agoImprove error handling for TlsStream::Handshake
Gunnar Beutner [Wed, 11 May 2016 08:09:54 +0000 (10:09 +0200)]
Improve error handling for TlsStream::Handshake

fixes #11046

8 years agoMake sure that object names aren't empty
Gunnar Beutner [Wed, 11 May 2016 07:48:18 +0000 (09:48 +0200)]
Make sure that object names aren't empty

fixes #9989

8 years agoUpdate .mailmap for Jason Youngh
Gunnar Beutner [Wed, 11 May 2016 07:32:37 +0000 (09:32 +0200)]
Update .mailmap for Jason Youngh

refs #9236

8 years agoThrow exception if PerfdataWriter::RotateFile fails to rename from host_temp_path...
Jason Young [Mon, 14 Sep 2015 01:05:32 +0000 (21:05 -0400)]
Throw exception if PerfdataWriter::RotateFile fails to rename from host_temp_path to host_perfdata_path (and same for service)

This can happen if the two paths are not on the same mount-point.

fixes #9236

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
8 years agoFix: "day -X" time specifications are parsed incorrectly
Gunnar Beutner [Wed, 11 May 2016 07:23:55 +0000 (09:23 +0200)]
Fix: "day -X" time specifications are parsed incorrectly

fixes #11147

8 years agoAPI: Fix error handling for invalid JSON request body
Michael Friedrich [Tue, 10 May 2016 13:16:35 +0000 (15:16 +0200)]
API: Fix error handling for invalid JSON request body

fixes #11757

8 years agoAPI: Fix error message handling for invalid attributes in PUT requests
Michael Friedrich [Tue, 10 May 2016 11:42:05 +0000 (13:42 +0200)]
API: Fix error message handling for invalid attributes in PUT requests

refs #11396

8 years agoMove CalculateExecutionTime and CalculateLatency into the CheckResult class
Michael Friedrich [Tue, 10 May 2016 09:44:14 +0000 (11:44 +0200)]
Move CalculateExecutionTime and CalculateLatency into the CheckResult class

fixes #11751

8 years agoImplement support for limiting the number of concurrent checks
Gunnar Beutner [Tue, 10 May 2016 09:12:37 +0000 (11:12 +0200)]
Implement support for limiting the number of concurrent checks

fixes #8137

8 years agoFix crash in UnameHelper()
Gunnar Beutner [Tue, 10 May 2016 07:44:41 +0000 (09:44 +0200)]
Fix crash in UnameHelper()

fixes #11714

8 years agoRemove unused cluster commands
Gunnar Beutner [Tue, 10 May 2016 05:05:10 +0000 (07:05 +0200)]
Remove unused cluster commands

fixes #11748

8 years agoDocs: Add a note for event command execution w/ command execution bridge clients
Michael Friedrich [Mon, 9 May 2016 15:42:56 +0000 (17:42 +0200)]
Docs: Add a note for event command execution w/ command execution bridge clients

fixes #11742

8 years agoAPI: Fix error message with PUT requests for existing objects
Michael Friedrich [Mon, 9 May 2016 13:08:35 +0000 (15:08 +0200)]
API: Fix error message with PUT requests for existing objects

fixes #11396

8 years agoMake sure the dependency graph is properly updated when adding and removing objects
Gunnar Beutner [Mon, 9 May 2016 11:48:30 +0000 (13:48 +0200)]
Make sure the dependency graph is properly updated when adding and removing objects

fixes #11686
fixes #11374

8 years ago'disk' CheckCommand: Exclude 'cgroup' and 'tracefs' by default
Michael Friedrich [Fri, 6 May 2016 14:05:40 +0000 (16:05 +0200)]
'disk' CheckCommand: Exclude 'cgroup' and 'tracefs' by default

fixes #11720

8 years agoRemove commentsand downtimes with reference to deleted checkable objects
Michael Friedrich [Thu, 31 Mar 2016 11:29:08 +0000 (13:29 +0200)]
Remove commentsand downtimes with reference to deleted checkable objects

Silence the warning message and change the log level to notice as well.

fixes #10717

8 years agoFix: Expired downtimes are not removed
Michael Friedrich [Mon, 2 May 2016 13:32:46 +0000 (15:32 +0200)]
Fix: Expired downtimes are not removed

fixes #11711

8 years agoFix external commands comments crashing icinga
Jean Flach [Mon, 25 Apr 2016 14:52:09 +0000 (16:52 +0200)]
Fix external commands comments crashing icinga

Now an exception will be thrown when AddSvcComment or AddHostComment are
run with and empty Author or comment

fixes #11112

8 years agoFix crash with empty ScheduledDowntime 'ranges' attribute
Michael Friedrich [Fri, 22 Apr 2016 09:00:21 +0000 (11:00 +0200)]
Fix crash with empty ScheduledDowntime 'ranges' attribute

fixes #11158

8 years agoImplement SNI support for the CLI commands
Gunnar Beutner [Thu, 21 Apr 2016 13:44:51 +0000 (15:44 +0200)]
Implement SNI support for the CLI commands

fixes #11651

8 years agoImplement support for subjectAltName in SSL certificates
Gunnar Beutner [Thu, 21 Apr 2016 13:25:57 +0000 (15:25 +0200)]
Implement support for subjectAltName in SSL certificates

fixes #11556

8 years agoUpdate chocolatey packages and RELEASE.md
Michael Friedrich [Thu, 21 Apr 2016 12:03:42 +0000 (14:03 +0200)]
Update chocolatey packages and RELEASE.md

fixes #11647

8 years agoImplement validation for the Logger#severity attribute
Gunnar Beutner [Thu, 21 Apr 2016 11:50:47 +0000 (13:50 +0200)]
Implement validation for the Logger#severity attribute

fixes #11646

8 years agoFix incorrect chapter headers
Gunnar Beutner [Thu, 21 Apr 2016 10:53:55 +0000 (12:53 +0200)]
Fix incorrect chapter headers

fixes #11645

8 years agoAdd missing plugins-contrib install
Michael Friedrich [Sun, 10 Apr 2016 15:47:44 +0000 (17:47 +0200)]
Add missing plugins-contrib install

refs #10581

8 years agoITL: Add icingacli command
Dirk Goetz [Mon, 9 Nov 2015 13:26:11 +0000 (14:26 +0100)]
ITL: Add icingacli command

Including the subcommand 'businessprocess'.

fixes #10581

8 years agoUpdate AUTHORS
Michael Friedrich [Wed, 24 Feb 2016 22:25:59 +0000 (23:25 +0100)]
Update AUTHORS

refs #10426

8 years agoTry to queue all PROCESS_FILE commands instead of exploding the stack
Vytenis Darulis [Tue, 27 Oct 2015 17:00:55 +0000 (17:00 +0000)]
Try to queue all PROCESS_FILE commands instead of exploding the stack

fixes #10426

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
8 years agoFix incorrect filter in pick.py
Gunnar Beutner [Thu, 12 May 2016 09:07:47 +0000 (11:07 +0200)]
Fix incorrect filter in pick.py

fixes #11782

8 years agoUpdate documentation for /v1/actions/remove-downtime
Michael Friedrich [Thu, 12 May 2016 08:57:51 +0000 (10:57 +0200)]
Update documentation for /v1/actions/remove-downtime

refs #11779

8 years agoFix incorrect variable names for joined fields in filter expressions
Gunnar Beutner [Thu, 12 May 2016 08:24:15 +0000 (10:24 +0200)]
Fix incorrect variable names for joined fields in filter expressions

fixes #11779

8 years agoRevert "Implement unit tests for the time period parser"
Gunnar Beutner [Wed, 11 May 2016 16:12:20 +0000 (18:12 +0200)]
Revert "Implement unit tests for the time period parser"

This reverts commit 1246d7dda334859ee136198b8285f5f4f9504b59.

refs #11146

8 years agoAdd the category to the generated changelog
Michael Friedrich [Wed, 11 May 2016 14:52:52 +0000 (16:52 +0200)]
Add the category to the generated changelog

fixes #11768

8 years agoFix possible crash in Add{Comment,Downtime}
Michael Friedrich [Wed, 11 May 2016 14:12:09 +0000 (16:12 +0200)]
Fix possible crash in Add{Comment,Downtime}

refs #11112

8 years agoReport failed reload attempts for the icinga check
Gunnar Beutner [Wed, 11 May 2016 14:07:28 +0000 (16:07 +0200)]
Report failed reload attempts for the icinga check

fixes #9060
fixes #9997
fixes #11129

8 years agoFix incorrect calculation in Downtime::IsInEffect
Gunnar Beutner [Wed, 11 May 2016 12:13:05 +0000 (14:13 +0200)]
Fix incorrect calculation in Downtime::IsInEffect

fixes #11589

8 years agoEnsure that program status updates are immediately updated in DB IDO
Michael Friedrich [Wed, 11 May 2016 12:03:40 +0000 (14:03 +0200)]
Ensure that program status updates are immediately updated in DB IDO

fixes #11767

8 years agoImprove timing behavior for UpdateObjectAuthority calls
Gunnar Beutner [Wed, 11 May 2016 11:04:39 +0000 (13:04 +0200)]
Improve timing behavior for UpdateObjectAuthority calls

refs #11765

8 years agoOnly activate HARunOnce objects once there's a cluster connection
Gunnar Beutner [Wed, 11 May 2016 10:50:08 +0000 (12:50 +0200)]
Only activate HARunOnce objects once there's a cluster connection

fixes #11765

8 years agoFix overloaded command pipe errors
Michael Friedrich [Mon, 9 May 2016 14:14:48 +0000 (16:14 +0200)]
Fix overloaded command pipe errors

fixes #11390

8 years agoImprove error handling for TlsStream::Handshake
Gunnar Beutner [Wed, 11 May 2016 08:09:54 +0000 (10:09 +0200)]
Improve error handling for TlsStream::Handshake

fixes #11046

8 years agoMake sure that object names aren't empty
Gunnar Beutner [Wed, 11 May 2016 07:48:18 +0000 (09:48 +0200)]
Make sure that object names aren't empty

fixes #9989

8 years agoUpdate .mailmap for Jason Youngh
Gunnar Beutner [Wed, 11 May 2016 07:32:37 +0000 (09:32 +0200)]
Update .mailmap for Jason Youngh

refs #9236

8 years agoThrow exception if PerfdataWriter::RotateFile fails to rename from host_temp_path...
Jason Young [Mon, 14 Sep 2015 01:05:32 +0000 (21:05 -0400)]
Throw exception if PerfdataWriter::RotateFile fails to rename from host_temp_path to host_perfdata_path (and same for service)

This can happen if the two paths are not on the same mount-point.

fixes #9236

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
8 years agoFix: "day -X" time specifications are parsed incorrectly
Gunnar Beutner [Wed, 11 May 2016 07:23:55 +0000 (09:23 +0200)]
Fix: "day -X" time specifications are parsed incorrectly

fixes #11147

8 years agoImplement unit tests for the time period parser
Adam James [Wed, 11 May 2016 06:55:08 +0000 (08:55 +0200)]
Implement unit tests for the time period parser

fixes #11146

8 years agoImprove validation for flow control statements
Gunnar Beutner [Thu, 21 Apr 2016 17:03:57 +0000 (19:03 +0200)]
Improve validation for flow control statements

fixes #11622

8 years agoAPI: Fix error handling for invalid JSON request body
Michael Friedrich [Tue, 10 May 2016 13:16:35 +0000 (15:16 +0200)]
API: Fix error handling for invalid JSON request body

fixes #11757

8 years agoAPI: Fix error message handling for invalid attributes in PUT requests
Michael Friedrich [Tue, 10 May 2016 11:42:05 +0000 (13:42 +0200)]
API: Fix error message handling for invalid attributes in PUT requests

refs #11396

8 years agoMove CalculateExecutionTime and CalculateLatency into the CheckResult class
Michael Friedrich [Tue, 10 May 2016 09:44:14 +0000 (11:44 +0200)]
Move CalculateExecutionTime and CalculateLatency into the CheckResult class

fixes #11751

8 years agoImplement support for limiting the number of concurrent checks
Gunnar Beutner [Tue, 10 May 2016 09:12:37 +0000 (11:12 +0200)]
Implement support for limiting the number of concurrent checks

fixes #8137

8 years agoFix crash in UnameHelper()
Gunnar Beutner [Tue, 10 May 2016 07:44:41 +0000 (09:44 +0200)]
Fix crash in UnameHelper()

fixes #11714

8 years agoRemove unused cluster commands
Gunnar Beutner [Tue, 10 May 2016 05:05:10 +0000 (07:05 +0200)]
Remove unused cluster commands

fixes #11748

8 years agoDocs: Add a note for event command execution w/ command execution bridge clients
Michael Friedrich [Mon, 9 May 2016 15:42:56 +0000 (17:42 +0200)]
Docs: Add a note for event command execution w/ command execution bridge clients

fixes #11742

8 years agoAPI: Fix error message with PUT requests for existing objects
Michael Friedrich [Mon, 9 May 2016 13:08:35 +0000 (15:08 +0200)]
API: Fix error message with PUT requests for existing objects

fixes #11396

8 years agoMake sure the dependency graph is properly updated when adding and removing objects
Gunnar Beutner [Mon, 9 May 2016 11:48:30 +0000 (13:48 +0200)]
Make sure the dependency graph is properly updated when adding and removing objects

fixes #11686
fixes #11374

8 years ago'disk' CheckCommand: Exclude 'cgroup' and 'tracefs' by default
Michael Friedrich [Fri, 6 May 2016 14:05:40 +0000 (16:05 +0200)]
'disk' CheckCommand: Exclude 'cgroup' and 'tracefs' by default

fixes #11720

8 years agoAdd SSL support for the IdoMysqlConnection feature
Lee Clemens [Thu, 21 Jan 2016 02:51:00 +0000 (21:51 -0500)]
Add SSL support for the IdoMysqlConnection feature

fixes #9725

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
8 years agoAdd InfluxDB Writer
Simon Murray [Tue, 19 Apr 2016 11:54:41 +0000 (12:54 +0100)]
Add InfluxDB Writer

Adds an Icinga2 object to directly interface with InfluxDB's native HTTP API.
This supports optional basic authorization, and TLS transport.  InfluxDB didn't
appear to like having the TLS stream kept open, so instead this object buffers
data points which are then flushed to InfluxDB as a batch write, either driven
by a configurable timeout or threshold.

As InfluxDB is a schema-less database the host and service templates are user
configurable allowing both the measurement field and tags to be set by the
end user via macro expansion.  This allows access to tag fields from arbitrary
data associated with host.vars or service.vars.  If a particular value is
unable to be resolved, the tag will be dropped and not transmitted to InfluxDB.

Also alters URL handling to omit array brackets when only a single value is
attached to a key, otherwise InfluxDB has a strop with non-standard syntax.

fixes #10480

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
8 years agoRemove commentsand downtimes with reference to deleted checkable objects
Michael Friedrich [Thu, 31 Mar 2016 11:29:08 +0000 (13:29 +0200)]
Remove commentsand downtimes with reference to deleted checkable objects

Silence the warning message and change the log level to notice as well.

fixes #10717

8 years agoFix: Expired downtimes are not removed
Michael Friedrich [Mon, 2 May 2016 13:32:46 +0000 (15:32 +0200)]
Fix: Expired downtimes are not removed

fixes #11711

8 years agoFix external commands comments crashing icinga
Jean Flach [Mon, 25 Apr 2016 14:52:09 +0000 (16:52 +0200)]
Fix external commands comments crashing icinga

Now an exception will be thrown when AddSvcComment or AddHostComment are
run with and empty Author or comment

fixes #11112

8 years agoRemove the (unused) 'inherits' keyword
Gunnar Beutner [Fri, 22 Apr 2016 11:49:09 +0000 (13:49 +0200)]
Remove the (unused) 'inherits' keyword

fixes #11659

8 years agoFix crash with empty ScheduledDowntime 'ranges' attribute
Michael Friedrich [Fri, 22 Apr 2016 09:00:21 +0000 (11:00 +0200)]
Fix crash with empty ScheduledDowntime 'ranges' attribute

fixes #11158

8 years agoImplement SNI support for the CLI commands
Gunnar Beutner [Thu, 21 Apr 2016 13:44:51 +0000 (15:44 +0200)]
Implement SNI support for the CLI commands

fixes #11651

8 years agoImplement support for subjectAltName in SSL certificates
Gunnar Beutner [Thu, 21 Apr 2016 13:25:57 +0000 (15:25 +0200)]
Implement support for subjectAltName in SSL certificates

fixes #11556

8 years agoFix incorrect links in the documentation
Gunnar Beutner [Thu, 21 Apr 2016 12:04:42 +0000 (14:04 +0200)]
Fix incorrect links in the documentation

refs #9839

8 years agoUpdate chocolatey packages and RELEASE.md
Michael Friedrich [Thu, 21 Apr 2016 12:03:42 +0000 (14:03 +0200)]
Update chocolatey packages and RELEASE.md

fixes #11647

8 years agoImplement validation for the Logger#severity attribute
Gunnar Beutner [Thu, 21 Apr 2016 11:50:47 +0000 (13:50 +0200)]
Implement validation for the Logger#severity attribute

fixes #11646

8 years agoAdd documentation for the DateTime type
Gunnar Beutner [Thu, 21 Apr 2016 11:31:12 +0000 (13:31 +0200)]
Add documentation for the DateTime type

fixes #9839

8 years agoFix incorrect chapter headers
Gunnar Beutner [Thu, 21 Apr 2016 10:53:55 +0000 (12:53 +0200)]
Fix incorrect chapter headers

fixes #11645