Commit Graph

6483 Commits

Author SHA1 Message Date
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 aab6d632e8 Fix wrong preprocessor macros 2015-06-24 14:14:58 +02:00
Michael Friedrich 656286f887 Fix unused variable in dbevents
refs #9055
2015-06-24 14:14:50 +02:00
Michael Friedrich 99a0c7b157 Fix wrong preprocessor macros 2015-06-24 14:13:54 +02:00
Michael Friedrich 45a0f09532 Fix unused variable in dbevents
refs #9055
2015-06-24 14:12:18 +02:00
Michael Friedrich a413532e54 Add missing openssl verify to cluster troubleshooting docs
fixes #9490
2015-06-24 13:36:20 +02:00
Michael Friedrich 0940b7a48d Add missing openssl verify to cluster troubleshooting docs
fixes #9490
2015-06-24 13:35:58 +02:00
Gunnar Beutner 8dcb4efa5e Fix stability issues with the TlsStream/Stream classes
fixes #9481
2015-06-24 09:48:55 +02:00
Michael Friedrich b8bbff87ca Add notifications (e.g. pagerduty) to 'addons & plugins' docs
fixes #6714
2015-06-23 16:21:20 +02:00
Michael Friedrich cc1bd53a96 Add notifications (e.g. pagerduty) to 'addons & plugins' docs
fixes #6714
2015-06-23 16:21:07 +02:00
Jean Flach 2b3848eebc Remove thresholds from check_service.exe
They didn't make any sense anyways

fixes #9320
2015-06-23 15:39:48 +02:00
Jean Flach 0b1b222907 Add path exclusion to check_disk.exe
Also do some refactoring and make -m do something

fixes #9201
2015-06-23 15:39:23 +02:00
Jean Flach 1a5117fe0a Decide state based on single drives
fixes #9197
2015-06-23 15:39:12 +02:00
Jean Flach c1e13d3dbe Refactor plugin code 2015-06-23 15:32:51 +02:00
Jean Flach b182cf869e Remove thresholds from check_service.exe
They didn't make any sense anyways

fixes #9320
2015-06-23 13:37:13 +02:00
Jean Flach 21e072332c Add path exclusion to check_disk.exe
Also do some refactoring and make -m do something

fixes #9201
2015-06-23 13:15:55 +02:00
Jean Flach 88f004a356 Decide state based on single drives
fixes #9197
2015-06-23 13:14:27 +02:00
Michael Friedrich a90e2fb1a9 Fix documentation for checks inside an HA zone
fixes #9476
2015-06-23 10:36:05 +02:00
Michael Friedrich ed4feac422 Fix documentation for checks inside an HA zone
fixes #9476
2015-06-23 10:35:18 +02:00
Michael Friedrich 3648703ad8 DB IDO: Fix datatype for 'check_source' in statehistory table
fixes #9455
2015-06-22 17:02:58 +02:00
Michael Friedrich 9e663eea4b 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
2015-06-19 15:20:51 +02:00
Michael Friedrich c1923c9e5a 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
2015-06-19 15:20:22 +02:00
Gunnar Beutner 5c11eb8b47 Fix incorrect variable name in the ITL
fixes #9253
2015-06-19 10:57:48 +02:00
Michael Friedrich bb7190e41f Update release hints for chocolatey versions
refs #8503
2015-06-19 09:43:59 +02:00
Michael Friedrich fa3a40d24c Update release hints
refs #9435
2015-06-19 09:43:54 +02:00
Michael Friedrich 08fb8ebdd6 changelog.py: Fix non-links formatting
refs #9435
2015-06-19 09:43:46 +02:00
Michael Friedrich 791bd6a592 changelog.py: Add --{version,project,links,html} arguments for output formatting
fixes #9435
2015-06-19 09:43:38 +02:00
Michael Friedrich ffde59b508 Update release hints for chocolatey versions
refs #8503
2015-06-19 09:41:51 +02:00
Michael Friedrich 408d34e3b8 Fix file reference in README.md
fixes #9452
2015-06-19 09:36:50 +02:00
Michael Friedrich e22c8e7254 Fix file reference in README.md
fixes #9452
2015-06-19 09:36:12 +02:00
Benedikt Heine 48dec15be3 node setup: indent accept_config and accept_commands
fixes #9450

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-06-19 09:24:08 +02:00
Benedikt Heine 7cd0077ab5 node setup: indent accept_config and accept_commands
fixes #9450

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-06-19 09:07:51 +02:00
Gunnar Beutner 84531c9787 Update AUTHORS
fixes #9451
2015-06-19 04:51:49 +02:00
Benedikt Heine 80b63c07c2 Fix typo in the documentation
refs #9451

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-06-19 04:51:49 +02:00
Ian Kelling 9034cb83f7 Grammar fix in doc/3-monitoring-basics.md
refs #9451

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-06-19 04:51:49 +02:00
Gunnar Beutner 197ae9541e Update AUTHORS
fixes #9451
2015-06-19 04:50:53 +02:00
Benedikt Heine d8a3146b9d Fix typo in the documentation
refs #9451

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-06-19 04:50:05 +02:00
Ian Kelling 9fbd61f86f Grammar fix in doc/3-monitoring-basics.md
refs #9451

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-06-19 04:49:36 +02:00
Michael Friedrich f1a90b9ca5 changelog.py: Fix non-links formatting
refs #9435
2015-06-18 15:57:44 +02:00
Michael Friedrich fd2caea0ae Update release hints
refs #9435
2015-06-18 15:53:08 +02:00
Michael Friedrich efc7340949 changelog.py: Add --{version,project,links,html} arguments for output formatting
fixes #9435
2015-06-18 15:50:19 +02:00