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

8 years agoMerge branch 'support/2.4'
Gunnar Beutner [Thu, 21 Apr 2016 10:34:24 +0000 (12:34 +0200)]
Merge branch 'support/2.4'

8 years agoRelease version 2.4.7 v2.4.7
Gunnar Beutner [Thu, 21 Apr 2016 10:32:26 +0000 (12:32 +0200)]
Release version 2.4.7

8 years agoUpdate RELEASE.md
Gunnar Beutner [Thu, 21 Apr 2016 07:51:11 +0000 (09:51 +0200)]
Update RELEASE.md

refs #11638

8 years agoRelease version 2.4.7
Gunnar Beutner [Thu, 21 Apr 2016 10:32:26 +0000 (12:32 +0200)]
Release version 2.4.7

8 years agoFix crash in Ido{Mysql,Pgsql}Connection::ExecuteMultipleQueries
Gunnar Beutner [Thu, 21 Apr 2016 07:17:40 +0000 (09:17 +0200)]
Fix crash in Ido{Mysql,Pgsql}Connection::ExecuteMultipleQueries

fixes #11639

8 years agoUpdate RELEASE.md
Gunnar Beutner [Thu, 21 Apr 2016 07:51:11 +0000 (09:51 +0200)]
Update RELEASE.md

refs #11638

8 years agoFix crash in Ido{Mysql,Pgsql}Connection::ExecuteMultipleQueries
Gunnar Beutner [Thu, 21 Apr 2016 07:17:40 +0000 (09:17 +0200)]
Fix crash in Ido{Mysql,Pgsql}Connection::ExecuteMultipleQueries

fixes #11639

8 years agoMerge branch 'support/2.4'
Gunnar Beutner [Wed, 20 Apr 2016 16:50:52 +0000 (18:50 +0200)]
Merge branch 'support/2.4'

8 years agoRelease version 2.4.6
Gunnar Beutner [Wed, 20 Apr 2016 16:45:54 +0000 (18:45 +0200)]
Release version 2.4.6

8 years agoRelease version 2.4.6 v2.4.6
Gunnar Beutner [Wed, 20 Apr 2016 16:45:54 +0000 (18:45 +0200)]
Release version 2.4.6

8 years agoUpdate RELEASE.md
Michael Friedrich [Wed, 20 Apr 2016 16:35:19 +0000 (18:35 +0200)]
Update RELEASE.md

fixes #11638

8 years agoFix: Failed assertion in IdoPgsqlConnection::FieldToEscapedString
Michael Friedrich [Wed, 20 Apr 2016 16:21:39 +0000 (18:21 +0200)]
Fix: Failed assertion in IdoPgsqlConnection::FieldToEscapedString

fixes #11635

8 years agoBuild fix for Ubuntu Xenial
Gunnar Beutner [Wed, 20 Apr 2016 13:35:43 +0000 (15:35 +0200)]
Build fix for Ubuntu Xenial

fixes #11634

8 years agoDocumentation: Zone attribute 'endpoints' is an array
Michael Friedrich [Wed, 20 Apr 2016 10:31:25 +0000 (12:31 +0200)]
Documentation: Zone attribute 'endpoints' is an array

fixes #11628

8 years agoUpdate the pick.py script
Gunnar Beutner [Wed, 20 Apr 2016 16:40:22 +0000 (18:40 +0200)]
Update the pick.py script

refs #11623

8 years agoUpdate RELEASE.md
Michael Friedrich [Wed, 20 Apr 2016 16:35:19 +0000 (18:35 +0200)]
Update RELEASE.md

fixes #11638

8 years agoFix: Failed assertion in IdoPgsqlConnection::FieldToEscapedString
Michael Friedrich [Wed, 20 Apr 2016 16:21:39 +0000 (18:21 +0200)]
Fix: Failed assertion in IdoPgsqlConnection::FieldToEscapedString

fixes #11635

8 years agoBuild fix for Ubuntu Xenial
Gunnar Beutner [Wed, 20 Apr 2016 13:35:43 +0000 (15:35 +0200)]
Build fix for Ubuntu Xenial

fixes #11634

8 years agoDocumentation: Zone attribute 'endpoints' is an array
Michael Friedrich [Wed, 20 Apr 2016 10:31:25 +0000 (12:31 +0200)]
Documentation: Zone attribute 'endpoints' is an array

fixes #11628

8 years agoMerge branch 'support/2.4'
Gunnar Beutner [Wed, 20 Apr 2016 08:47:43 +0000 (10:47 +0200)]
Merge branch 'support/2.4'

8 years agoRelease version 2.4.5 v2.4.5
Gunnar Beutner [Wed, 20 Apr 2016 08:21:49 +0000 (10:21 +0200)]
Release version 2.4.5

8 years agoRelease version 2.4.5
Gunnar Beutner [Wed, 20 Apr 2016 08:21:49 +0000 (10:21 +0200)]
Release version 2.4.5

8 years agoDocumentation: Add Windows setup wizard screenshots
Michael Friedrich [Tue, 19 Apr 2016 15:14:17 +0000 (17:14 +0200)]
Documentation: Add Windows setup wizard screenshots

fixes #9618

8 years agoWindows Wizard: Fix 'Examine Config' directory
Michael Friedrich [Tue, 19 Apr 2016 14:09:27 +0000 (16:09 +0200)]
Windows Wizard: Fix 'Examine Config' directory

refs #11449

8 years agoUpdate AUTHORS
Michael Friedrich [Tue, 19 Apr 2016 10:02:25 +0000 (12:02 +0200)]
Update AUTHORS

refs #11617

8 years agoFix typo in vim syntax highlighting
Nicolas Limage [Tue, 19 Apr 2016 08:59:28 +0000 (10:59 +0200)]
Fix typo in vim syntax highlighting

fixes #11617

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
8 years agoFix crash in Checkable::ExecuteCheck
Gunnar Beutner [Tue, 19 Apr 2016 07:35:48 +0000 (09:35 +0200)]
Fix crash in Checkable::ExecuteCheck

fixes #11582

8 years agoMove user data before running the uninstaller
Gunnar Beutner [Mon, 18 Apr 2016 13:33:20 +0000 (15:33 +0200)]
Move user data before running the uninstaller

refs #11449

8 years agoFix error message for the EventEngine variable
Gunnar Beutner [Mon, 18 Apr 2016 13:02:02 +0000 (15:02 +0200)]
Fix error message for the EventEngine variable

refs #11522

8 years agoMake the socket event engine configurable
Gunnar Beutner [Mon, 18 Apr 2016 12:25:52 +0000 (14:25 +0200)]
Make the socket event engine configurable

fixes #11522

8 years agoUpdate the agent wizard banner
Gunnar Beutner [Fri, 15 Apr 2016 02:11:59 +0000 (04:11 +0200)]
Update the agent wizard banner

fixes #11585

8 years agoFix "Run Icinga 2 wizard" option in the installer
Gunnar Beutner [Thu, 14 Apr 2016 17:36:59 +0000 (19:36 +0200)]
Fix "Run Icinga 2 wizard" option in the installer

refs #11449

8 years agoDocs: Remove instance_name from Ido*Connection example
Michael Friedrich [Thu, 14 Apr 2016 14:04:29 +0000 (16:04 +0200)]
Docs: Remove instance_name from Ido*Connection example

fixes #11592

8 years agoFix include for icinga2.wixpatch (again)
Gunnar Beutner [Thu, 14 Apr 2016 12:58:13 +0000 (14:58 +0200)]
Fix include for icinga2.wixpatch (again)

refs #11449

8 years agoUse _rmdir instead of _unlink
Gunnar Beutner [Thu, 14 Apr 2016 12:39:48 +0000 (14:39 +0200)]
Use _rmdir instead of _unlink

refs #11449

8 years agoRemove the Icinga 2 directory (if it's empty) after running uninstall.exe
Gunnar Beutner [Thu, 14 Apr 2016 12:24:41 +0000 (14:24 +0200)]
Remove the Icinga 2 directory (if it's empty) after running uninstall.exe

refs #11449

8 years agoRemove cmake_policy call
Gunnar Beutner [Thu, 14 Apr 2016 12:12:25 +0000 (14:12 +0200)]
Remove cmake_policy call

refs #11449

8 years agoFix support for building debug MSI packages
Gunnar Beutner [Thu, 14 Apr 2016 12:08:18 +0000 (14:08 +0200)]
Fix support for building debug MSI packages

refs #11449

8 years agoMake sure NSIS-based installations are uninstalled before we copy the new
Gunnar Beutner [Thu, 14 Apr 2016 06:38:57 +0000 (08:38 +0200)]
Make sure NSIS-based installations are uninstalled before we copy the new
files

refs #11449

8 years agoAdd support for msi uninstallation in Chocolatey package
Rune Darrud [Thu, 14 Apr 2016 06:29:58 +0000 (08:29 +0200)]
Add support for msi uninstallation in Chocolatey package

refs #11587

8 years agoFix arguments for uninstall.exe
Gunnar Beutner [Thu, 14 Apr 2016 05:51:23 +0000 (07:51 +0200)]
Fix arguments for uninstall.exe

refs #11449

8 years agoWait for uninstall.exe to terminate
Gunnar Beutner [Thu, 14 Apr 2016 05:04:36 +0000 (07:04 +0200)]
Wait for uninstall.exe to terminate

refs #11449

8 years agoReplace the agent wizard banner
Gunnar Beutner [Wed, 13 Apr 2016 19:44:15 +0000 (21:44 +0200)]
Replace the agent wizard banner

refs #11449

8 years agoMake sure the etc and var directories are in the common data directory
Gunnar Beutner [Wed, 13 Apr 2016 11:43:38 +0000 (13:43 +0200)]
Make sure the etc and var directories are in the common data directory

refs #11449

8 years agoOnly hide navigational attributes which are not config/state
Gunnar Beutner [Wed, 13 Apr 2016 10:02:08 +0000 (12:02 +0200)]
Only hide navigational attributes which are not config/state

fixes #11567

8 years agoFix installations that use DESTDIR
Gunnar Beutner [Wed, 13 Apr 2016 07:32:08 +0000 (09:32 +0200)]
Fix installations that use DESTDIR

fixes #11574

8 years agoRemove .Net 3.5 dependency from the Chocolatey package
Rune Darrud [Mon, 14 Mar 2016 19:49:07 +0000 (20:49 +0100)]
Remove .Net 3.5 dependency from the Chocolatey package

fixes #11384

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
8 years agoFix compiler warning in *::NotifyActive
Gunnar Beutner [Wed, 13 Apr 2016 06:58:16 +0000 (08:58 +0200)]
Fix compiler warning in *::NotifyActive

fixes #11577

8 years agoDisable MSI restart manager
Gunnar Beutner [Tue, 12 Apr 2016 13:30:28 +0000 (15:30 +0200)]
Disable MSI restart manager

refs #11449

8 years agoEnsure that KB2999226 is installed
Gunnar Beutner [Tue, 12 Apr 2016 11:13:21 +0000 (13:13 +0200)]
Ensure that KB2999226 is installed

refs #11449

8 years agoUpdate Chocolatey scripts to support the new MSI package
Gunnar Beutner [Tue, 12 Apr 2016 10:27:33 +0000 (12:27 +0200)]
Update Chocolatey scripts to support the new MSI package

refs #11449

8 years agoUpdate banner for the Windows setup wizard
Gunnar Beutner [Tue, 12 Apr 2016 10:22:46 +0000 (12:22 +0200)]
Update banner for the Windows setup wizard

refs #11449

8 years agoAdd the Icinga2SetupAgent.exe.config to Windows installer
Rune Darrud [Mon, 14 Mar 2016 19:44:58 +0000 (20:44 +0100)]
Add the Icinga2SetupAgent.exe.config to Windows installer

fixes #10624

8 years agoFix crash in Downtime::DowntimesExpireTimerHandler
Gunnar Beutner [Tue, 12 Apr 2016 10:04:38 +0000 (12:04 +0200)]
Fix crash in Downtime::DowntimesExpireTimerHandler

fixes #11534
fixes #11559

8 years agoDon't overwrite config files on *NIX
Gunnar Beutner [Tue, 12 Apr 2016 09:25:44 +0000 (11:25 +0200)]
Don't overwrite config files on *NIX

fixes #11542

8 years agoDocs: Change the silent installation modifiers for the new msi packages
Thomas Widhalm [Fri, 8 Apr 2016 16:41:24 +0000 (18:41 +0200)]
Docs: Change the silent installation modifiers for the new msi packages

fixes #11437

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
8 years agoRemove 1px border around the dialog banner image
Gunnar Beutner [Mon, 11 Apr 2016 16:15:14 +0000 (18:15 +0200)]
Remove 1px border around the dialog banner image

refs #11449

8 years agoAdd new images for the Windows installer
Gunnar Beutner [Mon, 11 Apr 2016 11:41:29 +0000 (13:41 +0200)]
Add new images for the Windows installer

refs #11449

8 years agoFix incorrect link in the documentation
Gunnar Beutner [Mon, 11 Apr 2016 12:15:49 +0000 (14:15 +0200)]
Fix incorrect link in the documentation

fixes #11564

8 years agoImplement support for overriding check command timeout
Michael Friedrich [Thu, 7 Apr 2016 13:07:17 +0000 (15:07 +0200)]
Implement support for overriding check command timeout

fixes #9283

8 years agoAPI: Ensure that empty passwords w/ client_cn are properly checked
Michael Friedrich [Mon, 4 Apr 2016 14:38:47 +0000 (16:38 +0200)]
API: Ensure that empty passwords w/ client_cn are properly checked

fixes #11482

8 years agoFix incorrect path for the X509 certificates on Windows
Gunnar Beutner [Fri, 1 Apr 2016 09:40:01 +0000 (11:40 +0200)]
Fix incorrect path for the X509 certificates on Windows

refs #11449

8 years agoDocs: Fix url for Icinga Web 2 installation docs
Michael Friedrich [Fri, 1 Apr 2016 08:06:26 +0000 (10:06 +0200)]
Docs: Fix url for Icinga Web 2 installation docs

refs #11494

8 years agoImplement support for upgrading NSIS-based installations
Gunnar Beutner [Fri, 1 Apr 2016 06:25:36 +0000 (08:25 +0200)]
Implement support for upgrading NSIS-based installations

refs #11449

8 years agoHide console windows during installation
Gunnar Beutner [Fri, 1 Apr 2016 05:37:03 +0000 (07:37 +0200)]
Hide console windows during installation

refs #11449

8 years agoAdd missing MkDirP call
Gunnar Beutner [Thu, 31 Mar 2016 12:17:32 +0000 (14:17 +0200)]
Add missing MkDirP call

refs #11449

8 years agoRemove unused code in the Windows wizard
Gunnar Beutner [Thu, 31 Mar 2016 11:56:28 +0000 (13:56 +0200)]
Remove unused code in the Windows wizard

refs #11449

8 years agoMake sure config files aren't overwritten during updates
Gunnar Beutner [Thu, 31 Mar 2016 11:54:10 +0000 (13:54 +0200)]
Make sure config files aren't overwritten during updates

refs #11449

8 years agoRemove support for NSIS
Gunnar Beutner [Thu, 31 Mar 2016 08:26:23 +0000 (10:26 +0200)]
Remove support for NSIS

refs #11449

8 years agoAdd missing pre and post installation commands
Gunnar Beutner [Thu, 31 Mar 2016 08:25:44 +0000 (10:25 +0200)]
Add missing pre and post installation commands

refs #11449

8 years agoImplement support for running custom install/uninstall actions
Gunnar Beutner [Wed, 30 Mar 2016 16:59:23 +0000 (18:59 +0200)]
Implement support for running custom install/uninstall actions

refs #11449

8 years agoFix: Overwriting global type variables causes crash in ConfigItem::Commit()
Michael Friedrich [Thu, 31 Mar 2016 09:42:52 +0000 (11:42 +0200)]
Fix: Overwriting global type variables causes crash in ConfigItem::Commit()

fixes #11484

8 years agoAdd preliminary support for 64-bit packages
Gunnar Beutner [Wed, 30 Mar 2016 09:47:39 +0000 (11:47 +0200)]
Add preliminary support for 64-bit packages

refs #11449

8 years agoFix: FatalError() returns when called before Application.Run
Gunnar Beutner [Wed, 30 Mar 2016 07:58:01 +0000 (09:58 +0200)]
Fix: FatalError() returns when called before Application.Run

fixes #11475

8 years agoUpdate NSClient++ to version 0.4.4.19
Gunnar Beutner [Wed, 30 Mar 2016 07:47:45 +0000 (09:47 +0200)]
Update NSClient++ to version 0.4.4.19

fixes #11473
fixes #11474

8 years agoAdd support for x64 Icinga2SetupAgent
Rune Darrud [Tue, 29 Mar 2016 21:56:06 +0000 (23:56 +0200)]
Add support for x64 Icinga2SetupAgent

refs #11462

8 years agoIDO: Ensure that the notification insert id is passed to contactnotification inserts
Michael Friedrich [Mon, 21 Mar 2016 12:37:32 +0000 (13:37 +0100)]
IDO: Ensure that the notification insert id is passed to contactnotification inserts

We cannot add the notification insert id directly
to the following contactnotifications queries. Instead
we need to pass a DbValue reference which gets set after
the notification insert id is calculated.
The contactnotifications insert queries are fired as query
group calling CanExecuteQuery() and FieldToEscapedString().
If the notification id does not exist yet, the queries are
moved to the end of the queue.
Once the contactnotifications queries are fired the DbValue
reference is destroyed.

This patch also removes the old notification insert id cache
which was broken in many ways.

fixes #11387

8 years agoRe-add the 'su' directive to logrotate if supported
Louis Sautier [Sat, 26 Mar 2016 13:41:58 +0000 (14:41 +0100)]
Re-add the 'su' directive to logrotate if supported

- try to detect a recent logrotate version which supports the 'su'
directive (added in 3.8.0, see
https://github.com/logrotate/logrotate/commit/5be96cf1822496f80227e9a446281c3fa42e7b67#diff-e4eb329834da3d36278b1b7d943b3bc9R6)
- if logrotate can't be found, assume an old version is used
- allow the parameter to be forced by the user

fixes #9249

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