]> granicus.if.org Git - icinga2/log
icinga2
9 years agoImplement config file management for the API
Michael Friedrich [Tue, 21 Jul 2015 14:10:13 +0000 (16:10 +0200)]
Implement config file management for the API

refs #9083

fixes #9102
fixes #9103
fixes #9104

fixes #9705

9 years agoFix problem with child nodes in http url registry
Michael Friedrich [Wed, 22 Jul 2015 10:23:56 +0000 (12:23 +0200)]
Fix problem with child nodes in http url registry

fixes #9703

9 years agoUpdate AUTHORS
Gunnar Beutner [Wed, 22 Jul 2015 08:05:39 +0000 (10:05 +0200)]
Update AUTHORS

refs #9699

9 years agoAdd "-r" parameter to the check_load command for dividing the load averages by the...
Petr Ruzicka [Wed, 22 Jul 2015 07:14:48 +0000 (09:14 +0200)]
Add "-r" parameter to the check_load command for dividing the load averages by the number of CPUs

New variable "load_percpu" added to use when "-r" should be added for the check_load command.

fixes #9699

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
9 years agoImplement support for the X-HTTP-Method-Override HTTP header
Gunnar Beutner [Wed, 22 Jul 2015 06:28:15 +0000 (08:28 +0200)]
Implement support for the X-HTTP-Method-Override HTTP header

fixes #9698

9 years agoAdd Array::FromVector() method
Michael Friedrich [Tue, 21 Jul 2015 14:09:19 +0000 (16:09 +0200)]
Add Array::FromVector() method

fixes #9693

9 years agoAdd exceptions for Utility::MkDir{,P}
Michael Friedrich [Tue, 21 Jul 2015 13:56:57 +0000 (15:56 +0200)]
Add exceptions for Utility::MkDir{,P}

fixes #9689

9 years agoUpdate gdb pretty printer docs w/ Python 3
Michael Friedrich [Tue, 21 Jul 2015 10:11:54 +0000 (12:11 +0200)]
Update gdb pretty printer docs w/ Python 3

fixes #9686

9 years agoFix incorrect filename in ApiListener::SyncZoneDir
Gunnar Beutner [Tue, 21 Jul 2015 09:45:17 +0000 (11:45 +0200)]
Fix incorrect filename in ApiListener::SyncZoneDir

refs #9083

9 years agoImplement the include_zones directive
Gunnar Beutner [Tue, 21 Jul 2015 07:32:17 +0000 (09:32 +0200)]
Implement the include_zones directive

refs #9083

9 years agoBuild fix for Linux
Michael Friedrich [Mon, 20 Jul 2015 15:21:27 +0000 (17:21 +0200)]
Build fix for Linux

refs #9647

9 years agoBuild fix for Windows
Gunnar Beutner [Mon, 20 Jul 2015 11:41:58 +0000 (13:41 +0200)]
Build fix for Windows

refs #9647

9 years agoRelease version 2.3.8
Gunnar Beutner [Mon, 20 Jul 2015 11:29:41 +0000 (13:29 +0200)]
Release version 2.3.8

9 years agoCorrect escaping of metric and tag names for OpenTSDB perfdata plugin
Tobias von der Krone [Fri, 17 Jul 2015 16:37:46 +0000 (18:37 +0200)]
Correct escaping of metric and tag names for OpenTSDB perfdata plugin

fixes #9665

9 years agoUpdate AUTHORS
Gunnar Beutner [Mon, 20 Jul 2015 05:48:44 +0000 (07:48 +0200)]
Update AUTHORS

9 years agoEnable inode check on disk by default
Jérôme Drouet [Fri, 17 Jul 2015 17:34:45 +0000 (19:34 +0200)]
Enable inode check on disk by default

fixes #9666

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
9 years agoRename base-url test to remote-url
Jean-Marcel Flach [Thu, 16 Jul 2015 11:48:16 +0000 (13:48 +0200)]
Rename base-url test to remote-url

refs #9647

9 years agoDon't allow "ignore where" for groups when there's no "assign where"
Michael Friedrich [Thu, 16 Jul 2015 11:55:53 +0000 (13:55 +0200)]
Don't allow "ignore where" for groups when there's no "assign where"

fixes #9554

9 years agoMove url handler to /lib/remote
Jean-Marcel Flach [Thu, 16 Jul 2015 11:34:05 +0000 (13:34 +0200)]
Move url handler to /lib/remote

fixes #9647

9 years agoDB IDO: Do not update endpointstatus table on config updates
Michael Friedrich [Thu, 16 Jul 2015 11:24:49 +0000 (13:24 +0200)]
DB IDO: Do not update endpointstatus table on config updates

fixes #9634

9 years agoWrong parameter for CheckCommand ping-common-windows
Reto Zeder [Wed, 15 Jul 2015 14:39:33 +0000 (16:39 +0200)]
Wrong parameter for CheckCommand ping-common-windows

Signed-off-by: Jean-Marcel Flach <jean-marcel.flach@netways.de>
fixes #9637

9 years agoFix bug where -p was ignored
Jean Flach [Thu, 16 Jul 2015 11:07:19 +0000 (13:07 +0200)]
Fix bug where -p was ignored

refs #9637

9 years agoChange decode - check order in path decoding
Jean-Marcel Flach [Wed, 15 Jul 2015 13:28:26 +0000 (15:28 +0200)]
Change decode - check order in path decoding

refs #9470

9 years agoUpdate RELEASE.md for minor releases
Michael Friedrich [Wed, 15 Jul 2015 10:38:15 +0000 (12:38 +0200)]
Update RELEASE.md for minor releases

9 years agoBuild fix for Windows
Gunnar Beutner [Wed, 15 Jul 2015 09:24:34 +0000 (11:24 +0200)]
Build fix for Windows

9 years agoRelease version 2.3.7
Michael Friedrich [Wed, 15 Jul 2015 08:46:51 +0000 (10:46 +0200)]
Release version 2.3.7

9 years agoAdd missing lock in ScriptUtils::Union
Gunnar Beutner [Wed, 15 Jul 2015 06:26:58 +0000 (08:26 +0200)]
Add missing lock in ScriptUtils::Union

fixes #9622

9 years agoFix failed assertion in ScriptUtils::Intersection
Gunnar Beutner [Wed, 15 Jul 2015 06:19:55 +0000 (08:19 +0200)]
Fix failed assertion in ScriptUtils::Intersection

fixes #9621

9 years agoFix overflow in freshness_threshold column (smallint) w/ DB IDO MySQL
Michael Friedrich [Tue, 14 Jul 2015 16:20:08 +0000 (18:20 +0200)]
Fix overflow in freshness_threshold column (smallint) w/ DB IDO MySQL

fixes #9576

9 years agoLivestatus: Add zone object table w/ endpoint members
Michael Friedrich [Tue, 14 Jul 2015 16:08:55 +0000 (18:08 +0200)]
Livestatus: Add zone object table w/ endpoint members

refs #9286

9 years agoDB IDO: Add zones, zonestatus tables
Michael Friedrich [Wed, 17 Jun 2015 13:45:45 +0000 (15:45 +0200)]
DB IDO: Add zones, zonestatus tables

refs #9286

9 years agoEnable -Wno-deprecated-register for Clang and AppleClang
Michael Friedrich [Tue, 14 Jul 2015 13:02:43 +0000 (15:02 +0200)]
Enable -Wno-deprecated-register for Clang and AppleClang

refs #9414

9 years agoDocs: Enhance troubleshooting ssl errors & cluster replay log
Michael Friedrich [Tue, 14 Jul 2015 07:19:49 +0000 (09:19 +0200)]
Docs: Enhance troubleshooting ssl errors & cluster replay log

fixes #9610

9 years agoAdd missing HTTP response headers
Gunnar Beutner [Mon, 13 Jul 2015 06:29:48 +0000 (08:29 +0200)]
Add missing HTTP response headers

refs #9594

9 years agoFix incorrect return value for the macro() function
Gunnar Beutner [Mon, 13 Jul 2015 06:25:19 +0000 (08:25 +0200)]
Fix incorrect return value for the macro() function

fixes #9584

9 years agoRedo tests
Jean-Marcel Flach [Fri, 10 Jul 2015 12:54:46 +0000 (14:54 +0200)]
Redo tests

refs #9470

9 years agoAdd additional tests for urls
Jean-Marcel Flach [Fri, 10 Jul 2015 12:08:35 +0000 (14:08 +0200)]
Add additional tests for urls

refs #9470

9 years agoRename HttpRequest.Url to HttpRequest.RequestUrl
Michael Friedrich [Thu, 9 Jul 2015 15:32:19 +0000 (17:32 +0200)]
Rename HttpRequest.Url to HttpRequest.RequestUrl

Otherwise gcc will break with the Url class, clang works.

refs #9447

9 years agoAPI: Implement password- and certificate-based authentication
Michael Friedrich [Thu, 9 Jul 2015 13:27:14 +0000 (15:27 +0200)]
API: Implement password- and certificate-based authentication

fixes #9086
fixes #9085
refs #9594

9 years agoAdd ApiUser::GetByClientCN()
Michael Friedrich [Thu, 9 Jul 2015 13:25:51 +0000 (15:25 +0200)]
Add ApiUser::GetByClientCN()

refs #9471
refs #9086

9 years agoAdd Base64::{En,De]code()
Michael Friedrich [Thu, 9 Jul 2015 13:20:47 +0000 (15:20 +0200)]
Add Base64::{En,De]code()

fixes #9594

9 years agoFix compiler warnings
Michael Friedrich [Thu, 9 Jul 2015 10:46:04 +0000 (12:46 +0200)]
Fix compiler warnings

refs #9447

9 years agoBuild fix
Michael Friedrich [Thu, 9 Jul 2015 10:28:15 +0000 (12:28 +0200)]
Build fix

refs #9447

9 years agoImplement HTTP support
Gunnar Beutner [Mon, 22 Jun 2015 09:11:21 +0000 (11:11 +0200)]
Implement HTTP support

refs #9447

9 years ago'node wizard/setup' should always generate new certificates
Michael Friedrich [Wed, 8 Jul 2015 13:32:47 +0000 (15:32 +0200)]
'node wizard/setup' should always generate new certificates

Unless an existing certificate is found. The configuration
(api feature, user) is always generated including a backup.

fixes #9590

9 years agoSplit ApiSetupUtility::SetupMaster() into multiple functions
Michael Friedrich [Wed, 8 Jul 2015 13:32:11 +0000 (15:32 +0200)]
Split ApiSetupUtility::SetupMaster() into multiple functions

refs #9590

9 years agoDB IDO: Don't clear endpoint* tables on start/reload
Michael Friedrich [Wed, 8 Jul 2015 11:58:12 +0000 (13:58 +0200)]
DB IDO: Don't clear endpoint* tables on start/reload

fixes #9586

9 years agoFix wrong formatting in DB IDO extensions docs
Michael Friedrich [Wed, 8 Jul 2015 11:15:58 +0000 (13:15 +0200)]
Fix wrong formatting in DB IDO extensions docs

fixes #9585

9 years agoFix path interpretion in URL parser
Jean-Marcel Flach [Wed, 8 Jul 2015 11:08:02 +0000 (13:08 +0200)]
Fix path interpretion in URL parser

The URL parser incorrectly used to interpret the path
"/" as a path "/" instead of as empty.
Test cases were added.

refs #9470

9 years agoUpdate AUTHORS
Michael Friedrich [Wed, 8 Jul 2015 11:12:48 +0000 (13:12 +0200)]
Update AUTHORS

refs #9443

9 years agoDocs: Add examples for dynamic notification apply rule
Claudio Künzler [Thu, 2 Jul 2015 13:58:10 +0000 (15:58 +0200)]
Docs: Add examples for dynamic notification apply rule

Reviewed and adopted a bit.

refs #9443

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
9 years agoFix RELEASE.md tests
Michael Friedrich [Wed, 8 Jul 2015 10:55:50 +0000 (12:55 +0200)]
Fix RELEASE.md tests

9 years agoRelease version 2.3.6
Michael Friedrich [Wed, 8 Jul 2015 08:17:44 +0000 (10:17 +0200)]
Release version 2.3.6

9 years agoITL: Add missing 'smtp' CheckCommand parameters
Lennart Betz [Tue, 7 Jul 2015 18:11:25 +0000 (20:11 +0200)]
ITL: Add missing 'smtp' CheckCommand parameters

fixes #9578

Signed-off-by: Michael Friedrich <michael.friedrich@gmail.com>
9 years agochangelog.py: Fix formatting and require version
Michael Friedrich [Tue, 7 Jul 2015 15:18:44 +0000 (17:18 +0200)]
changelog.py: Fix formatting and require version

refs #9446

9 years agoUpdate AUTHORS
Michael Friedrich [Tue, 7 Jul 2015 13:43:37 +0000 (15:43 +0200)]
Update AUTHORS

refs #9463

9 years agoITL: Fix incorrect check_ping.exe parameter
Christian Harke [Tue, 7 Jul 2015 13:42:47 +0000 (15:42 +0200)]
ITL: Fix incorrect check_ping.exe parameter

fixes #9463

9 years agoImplement URL parser
Jean-Marcel Flach [Fri, 26 Jun 2015 13:37:47 +0000 (15:37 +0200)]
Implement URL parser

fixes #9470

9 years agoAdd reverse_iterator to String
Jean-Marcel Flach [Mon, 29 Jun 2015 11:23:49 +0000 (13:23 +0200)]
Add reverse_iterator to String

9 years agoFix README.md urls
Michael Friedrich [Tue, 7 Jul 2015 08:08:00 +0000 (10:08 +0200)]
Fix README.md urls

9 years agoFix ITL elasticsearch documentation
Michael Friedrich [Tue, 7 Jul 2015 07:26:43 +0000 (09:26 +0200)]
Fix ITL elasticsearch documentation

refs #9415

9 years agoFix typo in INSTALL.md
Michael Friedrich [Tue, 7 Jul 2015 07:20:12 +0000 (09:20 +0200)]
Fix typo in INSTALL.md

refs #9549

9 years agoITL: Add missing options to 'ntp_time' CheckCommand
Lennart Betz [Mon, 6 Jul 2015 11:30:43 +0000 (13:30 +0200)]
ITL: Add missing options to 'ntp_time' CheckCommand

fixes #9562

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
9 years agoITL: Add CheckCommand ntp_peer
Lennart Betz [Mon, 6 Jul 2015 08:09:39 +0000 (10:09 +0200)]
ITL: Add CheckCommand ntp_peer

fixes #9523

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
9 years agoFix default port for NRPE in the documentation
Lennart Betz [Mon, 6 Jul 2015 09:34:09 +0000 (11:34 +0200)]
Fix default port for NRPE in the documentation

fixes #9522

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
9 years agoUpdate getting started for Debian Jessie
Michael Friedrich [Mon, 6 Jul 2015 13:07:02 +0000 (15:07 +0200)]
Update getting started for Debian Jessie

fixes #9563

9 years agoRequire openssl1 on sles11sp3 from Security Module
Michael Friedrich [Mon, 6 Jul 2015 09:41:50 +0000 (11:41 +0200)]
Require openssl1 on sles11sp3 from Security Module

There is a severe problem with SSL certificate verification
described in #9549 which renders client communication
unusable. The OpenSSL 0.9.8j version in SLES11 is buggy
and does not allow to verify clients on the master,
nor does a manual openssl verification work.

We'll therefore switch to the openssl1 package provided
by the SLES 11 Security Module and link against their
working API in order to resolve the problem in clusters
and client setups.

fixes #9549

9 years agoFix faulty if condition in spec file
Michael Friedrich [Sun, 5 Jul 2015 13:28:05 +0000 (15:28 +0200)]
Fix faulty if condition in spec file

refs #8842
refs #9559

9 years agoFix -Wno-deprecated-register flag w/ sles11sp3 (Unix/Darwin only)
Michael Friedrich [Sun, 5 Jul 2015 12:22:45 +0000 (14:22 +0200)]
Fix -Wno-deprecated-register flag w/ sles11sp3 (Unix/Darwin only)

This only applies to git master (target 2.4)

refs #8842
refs #9559
fixes #9414

Signed-off-by: Michael Friedrich <michael.friedrich@gmail.com>
9 years agoRequire g++ 4.7 on sles11sp3
Michael Friedrich [Sun, 5 Jul 2015 13:10:43 +0000 (15:10 +0200)]
Require g++ 4.7 on sles11sp3

refs #8842
fixes #9559

9 years agospec: Only require libmysqlclient-devel on sles11sp3
Michael Friedrich [Sun, 5 Jul 2015 12:32:20 +0000 (14:32 +0200)]
spec: Only require libmysqlclient-devel on sles11sp3

fixes #9558

9 years agoCli: Don't add empty host/port endpoint attributes in node wizard
Michael Friedrich [Fri, 3 Jul 2015 10:58:54 +0000 (12:58 +0200)]
Cli: Don't add empty host/port endpoint attributes in node wizard

refs #9205
refs #9536

9 years agoFix config parser ignoring forbidden "ignore" in template definition
Michael Friedrich [Thu, 2 Jul 2015 15:51:52 +0000 (17:51 +0200)]
Fix config parser ignoring forbidden "ignore" in template definition

fixes #9535

9 years agoFix wrong vars changed handler in api events
Michael Friedrich [Thu, 2 Jul 2015 12:51:47 +0000 (14:51 +0200)]
Fix wrong vars changed handler in api events

fixes #9547

9 years agoAdd log message for discarded cluster events (e.g. from unauthenticated clients)
Michael Friedrich [Thu, 2 Jul 2015 11:04:38 +0000 (13:04 +0200)]
Add log message for discarded cluster events (e.g. from unauthenticated clients)

fixes #9489

9 years agoRevert "Documentation: Update escape sequence"
Michael Friedrich [Thu, 2 Jul 2015 09:57:38 +0000 (11:57 +0200)]
Revert "Documentation: Update escape sequence"

This reverts commit f2e69c8779ee42264f932ef3ebf14d2cff5fdfa1.

refs #9363

9 years agoMAke ApiUser::CheckPassword() const
Michael Friedrich [Thu, 2 Jul 2015 07:26:43 +0000 (09:26 +0200)]
MAke ApiUser::CheckPassword() const

refs #9471

9 years agoFix build problems on AIX
Gunnar Beutner [Wed, 1 Jul 2015 06:48:42 +0000 (08:48 +0200)]
Fix build problems on AIX

fixes #9531

9 years agoUse PluginContribDir in itl/plugins-contrib.d/*
Malte Rabenseifner [Mon, 29 Jun 2015 06:19:54 +0000 (08:19 +0200)]
Use PluginContribDir in itl/plugins-contrib.d/*

fixes #9513

9 years agoUpdate documentation for ApiUser object & node wizard
Michael Friedrich [Thu, 25 Jun 2015 15:46:08 +0000 (17:46 +0200)]
Update documentation for ApiUser object & node wizard

fixes #9471

9 years agoAdd build post install task requirements to INSTALL.md
Michael Friedrich [Thu, 25 Jun 2015 15:38:17 +0000 (17:38 +0200)]
Add build post install task requirements to INSTALL.md

refs #9471

9 years agoFix unity build
Michael Friedrich [Thu, 25 Jun 2015 15:20:23 +0000 (17:20 +0200)]
Fix unity build

refs #9471

9 years agospec: run 'api setup' in post install
Michael Friedrich [Thu, 25 Jun 2015 15:13:28 +0000 (17:13 +0200)]
spec: run 'api setup' in post install

refs #9471

9 years agoCli: Still ask for CN in 'node wizard'
Michael Friedrich [Thu, 25 Jun 2015 11:28:16 +0000 (13:28 +0200)]
Cli: Still ask for CN in 'node wizard'

refs #9471

9 years agoCli: 'node setup' on the master uses 'api setup' if api feature is disabled
Michael Friedrich [Thu, 25 Jun 2015 09:00:25 +0000 (11:00 +0200)]
Cli: 'node setup' on the master uses 'api setup' if api feature is disabled

refs #9471

9 years agoCli: 'node wizard' on the master uses 'api setup' if api feature is disabled
Michael Friedrich [Thu, 25 Jun 2015 08:41:23 +0000 (10:41 +0200)]
Cli: 'node wizard' on the master uses 'api setup' if api feature is disabled

refs #9471

9 years agoAllow to pass cn to ApiSetupUtility::SetupMaster()
Michael Friedrich [Thu, 25 Jun 2015 08:40:50 +0000 (10:40 +0200)]
Allow to pass cn to ApiSetupUtility::SetupMaster()

refs #9471

9 years agoOnly run 'api setup' if the feature was not enabled
Michael Friedrich [Thu, 25 Jun 2015 08:21:18 +0000 (10:21 +0200)]
Only run 'api setup' if the feature was not enabled

It is safe to assume that the user either did run
'node wizard' or 'node setup' in >= 2.3.x before, or
manually enabled the api feature and deployed the
certificates (otherwise Icinga2 wouldn't start either).

In that case we'll skip the api setup to ensure that we
don't override any existing configuration at all.

refs #9471

9 years agoAdd feature enable/disable helpers
Michael Friedrich [Thu, 25 Jun 2015 08:14:19 +0000 (10:14 +0200)]
Add feature enable/disable helpers

refs #9471

9 years agoImplement 'api setup' cli command & add ApiUser config
Michael Friedrich [Wed, 24 Jun 2015 13:09:22 +0000 (15:09 +0200)]
Implement 'api setup' cli command & add ApiUser config

refs #9471

9 years agoImplement the ApiUser object type
Michael Friedrich [Mon, 22 Jun 2015 15:51:11 +0000 (17:51 +0200)]
Implement the ApiUser object type

Hide password in GetPassword() and add CheckPassword().
Includes basic unit tests.

refs #9471

9 years agoFix wrong preprocessor macros
Michael Friedrich [Wed, 24 Jun 2015 12:13:54 +0000 (14:13 +0200)]
Fix wrong preprocessor macros

9 years agoFix unused variable in dbevents
Michael Friedrich [Wed, 24 Jun 2015 12:12:18 +0000 (14:12 +0200)]
Fix unused variable in dbevents

refs #9055

9 years agoAdd missing openssl verify to cluster troubleshooting docs
Michael Friedrich [Wed, 24 Jun 2015 11:34:34 +0000 (13:34 +0200)]
Add missing openssl verify to cluster troubleshooting docs

fixes #9490

9 years agoFix stability issues with the TlsStream/Stream classes
Gunnar Beutner [Wed, 24 Jun 2015 07:44:59 +0000 (09:44 +0200)]
Fix stability issues with the TlsStream/Stream classes

fixes #9481

9 years agoAdd notifications (e.g. pagerduty) to 'addons & plugins' docs
Michael Friedrich [Tue, 23 Jun 2015 14:19:54 +0000 (16:19 +0200)]
Add notifications (e.g. pagerduty) to 'addons & plugins' docs

fixes #6714

9 years agoRemove thresholds from check_service.exe
Jean Flach [Tue, 23 Jun 2015 11:37:13 +0000 (13:37 +0200)]
Remove thresholds from check_service.exe

They didn't make any sense anyways

fixes #9320

9 years agoAdd path exclusion to check_disk.exe
Jean Flach [Tue, 23 Jun 2015 11:15:55 +0000 (13:15 +0200)]
Add path exclusion to check_disk.exe

Also do some refactoring and make -m do something

fixes #9201

9 years agoDecide state based on single drives
Jean Flach [Mon, 22 Jun 2015 10:57:37 +0000 (12:57 +0200)]
Decide state based on single drives

fixes #9197

9 years agoFix documentation for checks inside an HA zone
Michael Friedrich [Tue, 23 Jun 2015 08:35:18 +0000 (10:35 +0200)]
Fix documentation for checks inside an HA zone

fixes #9476