]> granicus.if.org Git - icinga2/log
icinga2
10 years agoUpdate manual test config for notifications
Michael Friedrich [Tue, 5 Aug 2014 14:37:30 +0000 (16:37 +0200)]
Update manual test config for notifications

refs #6479

10 years agoFlush stdout before _exit()
Michael Friedrich [Tue, 5 Aug 2014 11:52:24 +0000 (13:52 +0200)]
Flush stdout before _exit()

fixes #6852
refs #6820

10 years agoExit early on ApiListener SSL errors
Michael Friedrich [Tue, 5 Aug 2014 10:14:24 +0000 (12:14 +0200)]
Exit early on ApiListener SSL errors

refs #6682

10 years agoUse a local buffer for ERR_error_string()
Michael Friedrich [Tue, 5 Aug 2014 09:30:06 +0000 (11:30 +0200)]
Use a local buffer for ERR_error_string()

refs #6724
refs #6682

10 years agoBeautify GraphiteWriter debug logging
Gerd von Egidy [Mon, 4 Aug 2014 22:53:18 +0000 (00:53 +0200)]
Beautify GraphiteWriter debug logging

refs #6550

10 years agoAdd warning messages when performance data could not be parsed or not be sent to...
Gerd von Egidy [Mon, 4 Aug 2014 22:48:32 +0000 (00:48 +0200)]
Add warning messages when performance data could not be parsed or not be sent to Graphite

refs #6550

10 years agoAdd a missing lock in TlsStream::Close
Gunnar Beutner [Tue, 5 Aug 2014 07:35:28 +0000 (09:35 +0200)]
Add a missing lock in TlsStream::Close

fixes #6621
refs #6724

10 years agoAvoid duplicate API connections
Gunnar Beutner [Tue, 5 Aug 2014 07:10:59 +0000 (09:10 +0200)]
Avoid duplicate API connections

refs #6724

10 years agoPartially revert 3f647bb7797b3e71405c59eb280a4be74305c6b2
Gunnar Beutner [Tue, 5 Aug 2014 06:40:06 +0000 (08:40 +0200)]
Partially revert 3f647bb7797b3e71405c59eb280a4be74305c6b2

refs #6724

10 years agoMerge branch 'fix/cluster-ssl-error-msg-6682' into support/2.0
Michael Friedrich [Mon, 4 Aug 2014 15:29:59 +0000 (17:29 +0200)]
Merge branch 'fix/cluster-ssl-error-msg-6682' into support/2.0

fixes #6682

10 years agoAdd verbose SSL error messages
Michael Friedrich [Mon, 4 Aug 2014 15:13:42 +0000 (17:13 +0200)]
Add verbose SSL error messages

refs #6682

10 years agoUse Application::Exit() for main app termination
Michael Friedrich [Mon, 4 Aug 2014 14:43:34 +0000 (16:43 +0200)]
Use Application::Exit() for main app termination

refs #6682

10 years agoBail early if ApiListener cannot be started
Michael Friedrich [Mon, 4 Aug 2014 14:34:17 +0000 (16:34 +0200)]
Bail early if ApiListener cannot be started

refs #6682

10 years agoAdd Application::Exit()
Michael Friedrich [Mon, 4 Aug 2014 14:26:17 +0000 (16:26 +0200)]
Add Application::Exit()

refs #6682

10 years agoFix non-existing endpoint on ApiListener error
Michael Friedrich [Mon, 4 Aug 2014 12:03:37 +0000 (14:03 +0200)]
Fix non-existing endpoint on ApiListener error

refs #6724

10 years agoProperly close TLS connections
Gunnar Beutner [Mon, 4 Aug 2014 11:35:12 +0000 (13:35 +0200)]
Properly close TLS connections

refs #6724

10 years agoFix an invalid pointer access in ApiClient::DisconnectSync
Gunnar Beutner [Mon, 4 Aug 2014 10:48:15 +0000 (12:48 +0200)]
Fix an invalid pointer access in ApiClient::DisconnectSync

refs #6724

10 years agoSyntax: Add new RunDir constant
Michael Friedrich [Mon, 4 Aug 2014 09:25:47 +0000 (11:25 +0200)]
Syntax: Add new RunDir constant

refs #6627

10 years agoDocumentation: Fix PidPath default
Michael Friedrich [Mon, 4 Aug 2014 09:25:17 +0000 (11:25 +0200)]
Documentation: Fix PidPath default

refs #6627

10 years agoDocumentation: Add section for implicit dependencies
Michael Friedrich [Mon, 4 Aug 2014 08:47:30 +0000 (10:47 +0200)]
Documentation: Add section for implicit dependencies

fixes #6725

10 years agoFix a potential deadlock in ApiClient::Disconnect
Gunnar Beutner [Mon, 4 Aug 2014 07:50:47 +0000 (09:50 +0200)]
Fix a potential deadlock in ApiClient::Disconnect

refs #6724

10 years agoBuild fix for Linux (oops)
Gunnar Beutner [Mon, 4 Aug 2014 07:50:30 +0000 (09:50 +0200)]
Build fix for Linux (oops)

10 years agoMerge branch 'fix/solaris-6821'
Gunnar Beutner [Mon, 4 Aug 2014 06:49:11 +0000 (08:49 +0200)]
Merge branch 'fix/solaris-6821'

fixes #6821

10 years agoUpdate AUTHORS
Gunnar Beutner [Mon, 4 Aug 2014 06:48:05 +0000 (08:48 +0200)]
Update AUTHORS

refs #6821

10 years agoFix incorrect usage of readdir_r
Jan Andres [Mon, 4 Aug 2014 06:46:14 +0000 (08:46 +0200)]
Fix incorrect usage of readdir_r

refs #6821

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
10 years agoBuild fix for Solaris
Jan Andres [Mon, 4 Aug 2014 06:45:38 +0000 (08:45 +0200)]
Build fix for Solaris

refs #6821

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
10 years agoDocumentation: Add a note on Icinga Web database
Michael Friedrich [Fri, 1 Aug 2014 15:38:49 +0000 (17:38 +0200)]
Documentation: Add a note on Icinga Web database

refs #6652

10 years agoBuild fix for OS X.
Gunnar Beutner [Fri, 1 Aug 2014 15:05:09 +0000 (17:05 +0200)]
Build fix for OS X.

10 years agoDocumentation: Basic cluster troubleshooting guide
Michael Friedrich [Fri, 1 Aug 2014 14:47:14 +0000 (16:47 +0200)]
Documentation: Basic cluster troubleshooting guide

Partly

refs #6703

10 years agoDocumentation: Update cluster zones from latest feedback
Michael Friedrich [Fri, 1 Aug 2014 14:18:30 +0000 (16:18 +0200)]
Documentation: Update cluster zones from latest feedback

This is partly related to

refs #6703

10 years agoFix OpenSSL errors during (re-)negotiation
Gunnar Beutner [Fri, 1 Aug 2014 12:28:32 +0000 (14:28 +0200)]
Fix OpenSSL errors during (re-)negotiation

fixes #6724

10 years agoRemove if(NOT DEFINED ICINGA2_SYSCONFIGFILE) in etc/initsystem/CMakeLists.txt
Gunnar Beutner [Fri, 1 Aug 2014 10:26:45 +0000 (12:26 +0200)]
Remove if(NOT DEFINED ICINGA2_SYSCONFIGFILE) in etc/initsystem/CMakeLists.txt

fixes #6832

10 years agoFix permission problem with cluster messages
Michael Friedrich [Thu, 31 Jul 2014 10:00:52 +0000 (12:00 +0200)]
Fix permission problem with cluster messages

fixes #6810

10 years agoRemove RPM Requires for mysql
Gunnar Beutner [Wed, 30 Jul 2014 13:26:41 +0000 (15:26 +0200)]
Remove RPM Requires for mysql

refs #5818

10 years agoUse _exit instead of exit
Gunnar Beutner [Wed, 30 Jul 2014 13:14:47 +0000 (15:14 +0200)]
Use _exit instead of exit

fixes #6820

10 years agoMerge branch 'fix/gnb-adapt-spec-for-suse-5818'
Gunnar Beutner [Wed, 30 Jul 2014 12:24:35 +0000 (14:24 +0200)]
Merge branch 'fix/gnb-adapt-spec-for-suse-5818'

fixes #5818

10 years agoRemove redundant RPM Requires
Gunnar Beutner [Wed, 30 Jul 2014 11:41:23 +0000 (13:41 +0200)]
Remove redundant RPM Requires

refs #5818

10 years agoAdd the --timeout parameter to the check_ssh / ssh CheckCommand
Gaël Beaudoin [Mon, 28 Jul 2014 08:28:16 +0000 (10:28 +0200)]
Add the --timeout parameter to the check_ssh / ssh CheckCommand

fixes #6791

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
10 years agoUse Github url as tarball source
Tim Hardeck [Fri, 11 Jul 2014 07:11:34 +0000 (09:11 +0200)]
Use Github url as tarball source

This allows the automatic download of new versions.

refs #5818

10 years agoPrevent empty icinga2 package by adding COPYING
Tim Hardeck [Sat, 5 Jul 2014 10:34:31 +0000 (12:34 +0200)]
Prevent empty icinga2 package by adding COPYING

Empty packages are not allowed on SLES11 and also produce a warning in
newer openSUSE releases.

So we just work around the issue by adding the COPYING file.

refs #5818

10 years agoUse permission verfication scripts on SUSE distributions
Tim Hardeck [Fri, 4 Jul 2014 11:29:40 +0000 (13:29 +0200)]
Use permission verfication scripts on SUSE distributions

refs #5818

10 years agoUse root as default user and group to prevent issues
Tim Hardeck [Thu, 3 Jul 2014 15:59:02 +0000 (17:59 +0200)]
Use root as default user and group to prevent issues

refs #5818

10 years agoRemove obsolete pgsqllib require on SUSE distributions
Tim Hardeck [Fri, 4 Jul 2014 11:58:09 +0000 (13:58 +0200)]
Remove obsolete pgsqllib require on SUSE distributions

refs #5818

10 years agoRemove redundant mysql requirement
Tim Hardeck [Fri, 4 Jul 2014 11:13:54 +0000 (13:13 +0200)]
Remove redundant mysql requirement

The mysql dependencies are recognized automatically during building.

refs #5818

10 years agoReduce redunancies in spec file
Tim Hardeck [Fri, 4 Jul 2014 11:00:19 +0000 (13:00 +0200)]
Reduce redunancies in spec file

Remove redundant differences between SUSE and RHEL distributions.

refs #5818

10 years agoActivate systemd on SUSE distributions
Tim Hardeck [Fri, 4 Jul 2014 09:49:51 +0000 (11:49 +0200)]
Activate systemd on SUSE distributions

refs #5818

10 years agoRemove .gitignore files from package
Tim Hardeck [Fri, 4 Jul 2014 09:23:39 +0000 (11:23 +0200)]
Remove .gitignore files from package

This commit can be reversed as soon as there are upgrade files in the
schema upgrade directories.

refs #5818

10 years agoDescription should be longer than the summary
Tim Hardeck [Fri, 4 Jul 2014 09:19:45 +0000 (11:19 +0200)]
Description should be longer than the summary

This fixes a rpmlint warning.

refs #5818

10 years agoRecommend logrotate in icinga2-common
Tim Hardeck [Fri, 4 Jul 2014 09:18:31 +0000 (11:18 +0200)]
Recommend logrotate in icinga2-common

Since we install a logrotate configuration file it does make sense to
at least recommend the installation of logrotate.
This addition is restricted to SUSE distributions since "Recommends"
is not supported elsewhere.

refs #5818

10 years agoDon't copy INSTALL documentation to system docs
Tim Hardeck [Thu, 3 Jul 2014 16:00:27 +0000 (18:00 +0200)]
Don't copy INSTALL documentation to system docs

The INSTALL documentation is not relevant after installation, especially
if packages are used.

This does prevent a rpmlint warning.

refs #5818

10 years agoAdd log directory to icinga2-common
Tim Hardeck [Fri, 4 Jul 2014 10:01:22 +0000 (12:01 +0200)]
Add log directory to icinga2-common

RPMLint complains if logrotate is used without including the log directory in the package.

refs #5818

10 years agoLogrotate.conf doesn't need execution rights
Tim Hardeck [Fri, 13 Jun 2014 09:51:22 +0000 (11:51 +0200)]
Logrotate.conf doesn't need execution rights

refs #5818

10 years agoUse modern GPL license tag
Tim Hardeck [Sat, 5 Jul 2014 09:44:03 +0000 (11:44 +0200)]
Use modern GPL license tag

refs #5818

10 years agoCall initgroups before setuid to inherit additional group rights
Gerd von Egidy [Tue, 29 Jul 2014 22:25:19 +0000 (00:25 +0200)]
Call initgroups before setuid to inherit additional group rights

fixes #6809

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
10 years agoDocumentation: Add a note on el7 & systemd
Michael Friedrich [Tue, 29 Jul 2014 13:31:37 +0000 (15:31 +0200)]
Documentation: Add a note on el7 & systemd

refs #6655

10 years agoDon't call setgroups() during reload
Gunnar Beutner [Tue, 29 Jul 2014 09:31:55 +0000 (11:31 +0200)]
Don't call setgroups() during reload

fixes #6790

10 years agoDebian: Fix loading apache cgi modules
Alexander Wirt [Wed, 23 Jul 2014 16:57:33 +0000 (18:57 +0200)]
Debian: Fix loading apache cgi modules

fixes #6501

Signed-off-by: Michael Friedrich <michael.friedrich@gmail.com>
10 years agoFix customvariables in DB IDO MySQL are not case sensitive
Michael Friedrich [Wed, 23 Jul 2014 16:06:57 +0000 (18:06 +0200)]
Fix customvariables in DB IDO MySQL are not case sensitive

fixes #6608

10 years agoDocumentation: Update installation with systemd service
Michael Friedrich [Wed, 23 Jul 2014 11:48:20 +0000 (13:48 +0200)]
Documentation: Update installation with systemd service

fixes #6708

10 years agoUpdate formatting for the version message
Gunnar Beutner [Wed, 23 Jul 2014 11:05:20 +0000 (13:05 +0200)]
Update formatting for the version message

refs #6783

10 years agoRename upgrade sql files
Michael Friedrich [Wed, 23 Jul 2014 08:48:33 +0000 (10:48 +0200)]
Rename upgrade sql files

refs #6646

10 years agoDocumentation: Clarify on which feature are required for user interfaces & addons
Michael Friedrich [Wed, 23 Jul 2014 08:46:37 +0000 (10:46 +0200)]
Documentation: Clarify on which feature are required for user interfaces & addons

fixes #6652

10 years agoAdd MySQL/pgSQL upgrade files which fix name2 in the icinga_objects table
Gunnar Beutner [Wed, 23 Jul 2014 08:25:26 +0000 (10:25 +0200)]
Add MySQL/pgSQL upgrade files which fix name2 in the icinga_objects table

fixes #6646

10 years agoRemove set_if attribute for the ssl check
Gunnar Beutner [Wed, 23 Jul 2014 07:37:04 +0000 (09:37 +0200)]
Remove set_if attribute for the ssl check

fixes #6782

10 years agoPrint application paths for --version
Gunnar Beutner [Wed, 23 Jul 2014 07:30:56 +0000 (09:30 +0200)]
Print application paths for --version

fixes #6783

10 years agoMake sure that event handlers are run for hard recoveries
Gunnar Beutner [Tue, 22 Jul 2014 12:13:21 +0000 (14:13 +0200)]
Make sure that event handlers are run for hard recoveries

fixes #6686

10 years agoRename ICINGA2_PLUGIN_PATH to ICINGA2_PLUGINDIR
Gunnar Beutner [Tue, 22 Jul 2014 11:22:39 +0000 (13:22 +0200)]
Rename ICINGA2_PLUGIN_PATH to ICINGA2_PLUGINDIR

refs #6548

10 years agoMake location of the /run directory configurable
Gunnar Beutner [Tue, 22 Jul 2014 11:18:41 +0000 (13:18 +0200)]
Make location of the /run directory configurable

fixes #6627

10 years agoUse NULL instead of empty strings for name2 in the icinga_objects table
Gunnar Beutner [Tue, 22 Jul 2014 08:28:23 +0000 (10:28 +0200)]
Use NULL instead of empty strings for name2 in the icinga_objects table

fixes #6646

10 years agoDocumentation: Update package repositories
Michael Friedrich [Mon, 21 Jul 2014 18:22:48 +0000 (20:22 +0200)]
Documentation: Update package repositories

refs #5796

10 years agoFix order attribute for the ssh check command
Gunnar Beutner [Mon, 21 Jul 2014 13:09:01 +0000 (15:09 +0200)]
Fix order attribute for the ssh check command

fixes #6773

10 years agoClean up constructors in the livestatus module
Gunnar Beutner [Mon, 21 Jul 2014 11:33:51 +0000 (13:33 +0200)]
Clean up constructors in the livestatus module

10 years agoFix stack rlimit problem
Gunnar Beutner [Mon, 21 Jul 2014 11:33:01 +0000 (13:33 +0200)]
Fix stack rlimit problem

fixes #6450

10 years agoUpdate AUTHORS file
Gunnar Beutner [Fri, 18 Jul 2014 07:42:32 +0000 (09:42 +0200)]
Update AUTHORS file

10 years agoGraphiteWriter: Fix malformatted integer values
Ildar Hizbulin [Fri, 18 Jul 2014 05:54:47 +0000 (09:54 +0400)]
GraphiteWriter: Fix malformatted integer values

fixes #6756

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
10 years agoRequire command to be an array when the arguments attribute is used
Gunnar Beutner [Wed, 16 Jul 2014 10:58:18 +0000 (12:58 +0200)]
Require command to be an array when the arguments attribute is used

fixes #6698

10 years agoDon't run event commands when hosts/services are OK
Gunnar Beutner [Wed, 16 Jul 2014 09:48:36 +0000 (11:48 +0200)]
Don't run event commands when hosts/services are OK

fixes #6686

10 years agoFix duplicate rows in icinga_objects
Gunnar Beutner [Wed, 16 Jul 2014 08:20:01 +0000 (10:20 +0200)]
Fix duplicate rows in icinga_objects

fixes #6414

10 years agoAdd cmake constant for PluginDir
Gunnar Beutner [Wed, 16 Jul 2014 07:03:51 +0000 (09:03 +0200)]
Add cmake constant for PluginDir

fixes #6548

10 years agoUpdate behavior of "order" attribute for command arguments
Jason Young [Mon, 14 Jul 2014 15:12:37 +0000 (11:12 -0400)]
Update behavior of "order" attribute for command arguments

fixes #6718

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
10 years agoDocumentation: Fix localhost.conf location
Michael Friedrich [Tue, 15 Jul 2014 13:19:31 +0000 (15:19 +0200)]
Documentation: Fix localhost.conf location

fixes #6728

10 years agoAdd http expect option (-e) to check_http command
Carlos Cesario [Thu, 10 Jul 2014 20:16:14 +0000 (17:16 -0300)]
Add http expect option (-e) to check_http command

fixes #6695

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
10 years agosample config: add check commands location hint (itl/plugin check commands)
Michael Friedrich [Sat, 12 Jul 2014 11:30:51 +0000 (13:30 +0200)]
sample config: add check commands location hint (itl/plugin check commands)

fixes #6713

10 years agoDocumentation: Fix wrong command pipe path for icinga web
Michael Friedrich [Sat, 12 Jul 2014 10:43:09 +0000 (12:43 +0200)]
Documentation: Fix wrong command pipe path for icinga web

fixes #6711

10 years agoRemove superfluous quotes and commas in dictionaries
Gunnar Beutner [Fri, 11 Jul 2014 12:38:15 +0000 (14:38 +0200)]
Remove superfluous quotes and commas in dictionaries

fixes #6687

10 years agoCall setgroups() before setgid/setuid
Gunnar Beutner [Fri, 11 Jul 2014 12:26:21 +0000 (14:26 +0200)]
Call setgroups() before setgid/setuid

fixes #6659

10 years agoRelease version 2.0.1 v2.0.1
Gunnar Beutner [Thu, 10 Jul 2014 08:20:07 +0000 (10:20 +0200)]
Release version 2.0.1

10 years agoDocumentation: Fix event command execution conditions
Michael Friedrich [Thu, 10 Jul 2014 09:27:37 +0000 (11:27 +0200)]
Documentation: Fix event command execution conditions

fixes #6685

10 years agoMake "enable_notifications" a config attribute
Gunnar Beutner [Thu, 10 Jul 2014 08:57:44 +0000 (10:57 +0200)]
Make "enable_notifications" a config attribute

fixes #6671

10 years agoUse CMAKE_INSTALL_FULL_SYSCONFDIR for ICINGA2_SYSCONFIGFILE variable
Michael Friedrich [Wed, 9 Jul 2014 15:20:23 +0000 (17:20 +0200)]
Use CMAKE_INSTALL_FULL_SYSCONFDIR for ICINGA2_SYSCONFIGFILE variable

fixes #6657

10 years agoChange default value for enable_notifications
Gunnar Beutner [Wed, 9 Jul 2014 13:23:43 +0000 (15:23 +0200)]
Change default value for enable_notifications

fixes #6681

10 years agoFix crash in ApiClient::Disconnect
Gunnar Beutner [Wed, 9 Jul 2014 07:14:17 +0000 (09:14 +0200)]
Fix crash in ApiClient::Disconnect

fixes #6672

10 years agoDon't send notifications for users who have enable_notifications = false
Gunnar Beutner [Wed, 9 Jul 2014 06:56:16 +0000 (08:56 +0200)]
Don't send notifications for users who have enable_notifications = false

fixes #6671

10 years agoDB IDO: Reset reconnect timer before pausing the connection
Michael Friedrich [Tue, 8 Jul 2014 11:48:11 +0000 (13:48 +0200)]
DB IDO: Reset reconnect timer before pausing the connection

refs #6414

10 years agoCheck if openssl call failed
Gunnar Beutner [Tue, 8 Jul 2014 07:05:07 +0000 (09:05 +0200)]
Check if openssl call failed

fixes #6622

10 years agoIncrease command buffer to 128kB
Gunnar Beutner [Tue, 8 Jul 2014 06:32:42 +0000 (08:32 +0200)]
Increase command buffer to 128kB

fixes #6662

10 years agoMake sure that cmake doesn't fail when MySQL libraries are missing
Gunnar Beutner [Tue, 8 Jul 2014 05:43:50 +0000 (07:43 +0200)]
Make sure that cmake doesn't fail when MySQL libraries are missing

fixes #6665

10 years agoAdd sni option to http check
Jan Wagner [Fri, 27 Jun 2014 19:38:11 +0000 (21:38 +0200)]
Add sni option to http check

fixes #6605

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
10 years agoChange return type for Socket::Pool to bool
Gunnar Beutner [Fri, 4 Jul 2014 07:31:43 +0000 (09:31 +0200)]
Change return type for Socket::Pool to bool

refs #6617

10 years agoUse openssl-quiet.cnf for icinga2-build-ca
Gunnar Beutner [Wed, 2 Jul 2014 08:21:21 +0000 (10:21 +0200)]
Use openssl-quiet.cnf for icinga2-build-ca

fixes #6620