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

9 years agoDB IDO: Fix datatype for 'check_source' in statehistory table
Michael Friedrich [Mon, 22 Jun 2015 15:02:58 +0000 (17:02 +0200)]
DB IDO: Fix datatype for 'check_source' in statehistory table

fixes #9455

9 years agoFix wrong nscp path w/ command_endpoint runtime macros
Michael Friedrich [Fri, 19 Jun 2015 11:30:26 +0000 (13:30 +0200)]
Fix wrong nscp path w/ command_endpoint runtime macros

Do not allow to override the nscp path by runtime macros.
This causes the (linux) master to send just "." as $nscp_path$
and the windows client ignores the local global constant NscpPath
being overridden by the master.

Only happens with command_endpoints where runtime macros are passed
from the master to the clients.

fixes #9456

9 years agoUpdate release hints for chocolatey versions
Michael Friedrich [Fri, 19 Jun 2015 07:41:51 +0000 (09:41 +0200)]
Update release hints for chocolatey versions

refs #8503

9 years agoFix file reference in README.md
Michael Friedrich [Fri, 19 Jun 2015 07:36:12 +0000 (09:36 +0200)]
Fix file reference in README.md

fixes #9452

9 years agonode setup: indent accept_config and accept_commands
Benedikt Heine [Thu, 18 Jun 2015 17:13:10 +0000 (19:13 +0200)]
node setup: indent accept_config and accept_commands

fixes #9450

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
9 years agoUpdate AUTHORS
Gunnar Beutner [Fri, 19 Jun 2015 02:50:53 +0000 (04:50 +0200)]
Update AUTHORS

fixes #9451

9 years agoFix typo in the documentation
Benedikt Heine [Thu, 18 Jun 2015 18:06:10 +0000 (20:06 +0200)]
Fix typo in the documentation

refs #9451

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
9 years agoGrammar fix in doc/3-monitoring-basics.md
Ian Kelling [Thu, 18 Jun 2015 20:19:16 +0000 (13:19 -0700)]
Grammar fix in doc/3-monitoring-basics.md

refs #9451

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
9 years agochangelog.py: Fix non-links formatting
Michael Friedrich [Thu, 18 Jun 2015 13:57:44 +0000 (15:57 +0200)]
changelog.py: Fix non-links formatting

refs #9435

9 years agoUpdate release hints
Michael Friedrich [Thu, 18 Jun 2015 13:53:08 +0000 (15:53 +0200)]
Update release hints

refs #9435

9 years agochangelog.py: Add --{version,project,links,html} arguments for output formatting
Michael Friedrich [Thu, 18 Jun 2015 13:46:15 +0000 (15:46 +0200)]
changelog.py: Add --{version,project,links,html} arguments for output formatting

fixes #9435

9 years agoUpdate owner for the chocolatey package
Gunnar Beutner [Thu, 18 Jun 2015 12:23:52 +0000 (14:23 +0200)]
Update owner for the chocolatey package

refs #8503

9 years agoUpdate package description in the spec file
Gunnar Beutner [Thu, 18 Jun 2015 12:13:37 +0000 (14:13 +0200)]
Update package description in the spec file

refs #8503

9 years agochangelog.py: Allow to define project, make custom_fields and changes optional
Michael Friedrich [Thu, 18 Jun 2015 11:26:59 +0000 (13:26 +0200)]
changelog.py: Allow to define project, make custom_fields and changes optional

fixes #9446

9 years agoAdd spec file for Chocolatey
Gunnar Beutner [Thu, 18 Jun 2015 09:42:33 +0000 (11:42 +0200)]
Add spec file for Chocolatey

fixes #8503

9 years agoFix incorrect validator for command arguments
Gunnar Beutner [Thu, 18 Jun 2015 06:13:40 +0000 (08:13 +0200)]
Fix incorrect validator for command arguments

fixes #9436

9 years agoFix wrong timestamp w/ timezone format in DB IDO PGSQL schema
Michael Friedrich [Wed, 17 Jun 2015 14:11:21 +0000 (16:11 +0200)]
Fix wrong timestamp w/ timezone format in DB IDO PGSQL schema

refs #9027

9 years agoUpdate AUTHORS
Michael Friedrich [Wed, 17 Jun 2015 13:28:50 +0000 (15:28 +0200)]
Update AUTHORS

refs #9416
refs #9303

9 years agoITL: Add securityLevel to snmpv3 CheckCommand
Christian Lehmann [Tue, 31 Mar 2015 13:04:58 +0000 (15:04 +0200)]
ITL: Add securityLevel to snmpv3 CheckCommand

For example if using snmpv3 without encryption.
Defaults set to privAuth to stay compatible to older versions.

fixes #9416

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
9 years agoAdd elasticsearch checkcommand to itl
Dirk Goetz [Mon, 15 Jun 2015 13:09:18 +0000 (15:09 +0200)]
Add elasticsearch checkcommand to itl

fixes #9415

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>