Commit Graph

5723 Commits

Author SHA1 Message Date
Michael Friedrich 14baa4a79b Build fix
refs #9447
2015-07-09 12:28:15 +02:00
Gunnar Beutner b357012ded Implement HTTP support
refs #9447
2015-07-09 11:42:34 +02:00
Michael Friedrich 84d83a4453 '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
2015-07-08 15:32:47 +02:00
Michael Friedrich f123c8218d Split ApiSetupUtility::SetupMaster() into multiple functions
refs #9590
2015-07-08 15:32:11 +02:00
Michael Friedrich 3fe6b56628 DB IDO: Don't clear endpoint* tables on start/reload
fixes #9586
2015-07-08 13:58:12 +02:00
Michael Friedrich d892ebce60 Fix wrong formatting in DB IDO extensions docs
fixes #9585
2015-07-08 13:16:24 +02:00
Jean-Marcel Flach 65227e311b 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
2015-07-08 13:14:05 +02:00
Michael Friedrich 33b273f3d9 Update AUTHORS
refs #9443
2015-07-08 13:12:48 +02:00
Claudio Künzler 9776ae86bd Docs: Add examples for dynamic notification apply rule
Reviewed and adopted a bit.

refs #9443

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-07-08 13:12:19 +02:00
Michael Friedrich 5f6c50eff7 Fix RELEASE.md tests 2015-07-08 12:55:50 +02:00
Michael Friedrich 55b6d40e3f Release version 2.3.6 2015-07-08 10:18:01 +02:00
Lennart Betz 219631fbae ITL: Add missing 'smtp' CheckCommand parameters
fixes #9578

Signed-off-by: Michael Friedrich <michael.friedrich@gmail.com>
2015-07-07 21:20:21 +02:00
Michael Friedrich 93b33c4743 changelog.py: Fix formatting and require version
refs #9446
2015-07-07 17:18:44 +02:00
Michael Friedrich 1cba11d3fb Update AUTHORS
refs #9463
2015-07-07 15:43:37 +02:00
Christian Harke ebb6efe1c5 ITL: Fix incorrect check_ping.exe parameter
fixes #9463
2015-07-07 15:42:47 +02:00
Jean-Marcel Flach a98d2f585d Implement URL parser
fixes #9470
2015-07-07 15:33:19 +02:00
Jean-Marcel Flach 2560a9733d Add reverse_iterator to String 2015-07-07 15:33:19 +02:00
Michael Friedrich 8af8c233a3 Fix README.md urls 2015-07-07 10:12:18 +02:00
Michael Friedrich 5e29cf9d5c Fix ITL elasticsearch documentation
refs #9415
2015-07-07 09:26:43 +02:00
Michael Friedrich ecd9876a32 Fix typo in INSTALL.md
refs #9549
2015-07-07 09:20:12 +02:00
Lennart Betz 0ab467c6b2 ITL: Add missing options to 'ntp_time' CheckCommand
fixes #9562

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-07-06 17:12:04 +02:00
Lennart Betz 1a06333b86 ITL: Add CheckCommand ntp_peer
fixes #9523

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-07-06 16:59:58 +02:00
Lennart Betz 451992f0bb Fix default port for NRPE in the documentation
fixes #9522

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-07-06 16:10:33 +02:00
Michael Friedrich fe7cb209ff Update getting started for Debian Jessie
fixes #9563
2015-07-06 15:07:02 +02:00
Michael Friedrich 3c1aec4831 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
2015-07-06 13:37:39 +02:00
Michael Friedrich 29af3be7c3 Fix faulty if condition in spec file
refs #8842
refs #9559
2015-07-05 15:28:05 +02:00
Michael Friedrich 2add0c7b3d 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>
2015-07-05 15:14:18 +02:00
Michael Friedrich b578faa876 Require g++ 4.7 on sles11sp3
refs #8842
fixes #9559
2015-07-05 15:10:43 +02:00
Michael Friedrich 768dbca7f9 spec: Only require libmysqlclient-devel on sles11sp3
fixes #9558
2015-07-05 15:00:36 +02:00
Michael Friedrich f4aeb1999c Cli: Don't add empty host/port endpoint attributes in node wizard
refs #9205
refs #9536
2015-07-03 12:58:54 +02:00
Michael Friedrich ed3882ba33 Fix config parser ignoring forbidden "ignore" in template definition
fixes #9535
2015-07-02 17:53:34 +02:00
Michael Friedrich 184f316538 Fix wrong vars changed handler in api events
fixes #9547
2015-07-02 14:51:47 +02:00
Michael Friedrich 8596e2b3dc Add log message for discarded cluster events (e.g. from unauthenticated clients)
fixes #9489
2015-07-02 13:04:38 +02:00
Michael Friedrich d021d447b7 Revert "Documentation: Update escape sequence"
This reverts commit f2e69c8779.

refs #9363
2015-07-02 11:57:38 +02:00
Michael Friedrich 8450cb5d6c MAke ApiUser::CheckPassword() const
refs #9471
2015-07-02 09:26:43 +02:00
Gunnar Beutner 93177ee09a Fix build problems on AIX
fixes #9531
2015-07-01 08:48:42 +02:00
Malte Rabenseifner 3f622858e6 Use PluginContribDir in itl/plugins-contrib.d/*
fixes #9513
2015-06-29 10:21:28 +02:00
Michael Friedrich 2eaae1f733 Update documentation for ApiUser object & node wizard
fixes #9471
2015-06-25 18:03:00 +02:00
Michael Friedrich 08147aa448 Add build post install task requirements to INSTALL.md
refs #9471
2015-06-25 17:38:17 +02:00
Michael Friedrich ee035ae001 Fix unity build
refs #9471
2015-06-25 17:20:23 +02:00
Michael Friedrich 69ef1968f5 spec: run 'api setup' in post install
refs #9471
2015-06-25 17:13:28 +02:00
Michael Friedrich 3e3588b9fb Cli: Still ask for CN in 'node wizard'
refs #9471
2015-06-25 13:28:16 +02:00
Michael Friedrich ec3f1c6320 Cli: 'node setup' on the master uses 'api setup' if api feature is disabled
refs #9471
2015-06-25 11:00:25 +02:00
Michael Friedrich 5249e4af11 Cli: 'node wizard' on the master uses 'api setup' if api feature is disabled
refs #9471
2015-06-25 11:00:12 +02:00
Michael Friedrich 0d977b9d48 Allow to pass cn to ApiSetupUtility::SetupMaster()
refs #9471
2015-06-25 10:40:50 +02:00
Michael Friedrich 663f09e475 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
2015-06-25 10:21:18 +02:00
Michael Friedrich 6f43162efa Add feature enable/disable helpers
refs #9471
2015-06-25 10:14:19 +02:00
Michael Friedrich 7b0b04ba8f Implement 'api setup' cli command & add ApiUser config
refs #9471
2015-06-25 10:08:34 +02:00
Michael Friedrich 14f5986aa5 Implement the ApiUser object type
Hide password in GetPassword() and add CheckPassword().
Includes basic unit tests.

refs #9471
2015-06-24 14:28:52 +02:00
Michael Friedrich 99a0c7b157 Fix wrong preprocessor macros 2015-06-24 14:13:54 +02:00