Commit Graph

5581 Commits

Author SHA1 Message Date
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
Michael Friedrich 45a0f09532 Fix unused variable in dbevents
refs #9055
2015-06-24 14:12:18 +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 cc1bd53a96 Add notifications (e.g. pagerduty) to 'addons & plugins' docs
fixes #6714
2015-06-23 16:21:07 +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 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 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
Michael Friedrich ffde59b508 Update release hints for chocolatey versions
refs #8503
2015-06-19 09:41:51 +02:00
Michael Friedrich e22c8e7254 Fix file reference in README.md
fixes #9452
2015-06-19 09:36:12 +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 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
Gunnar Beutner 7f0fc44e09 Update owner for the chocolatey package
refs #8503
2015-06-18 14:23:52 +02:00
Gunnar Beutner e7b2ded912 Update package description in the spec file
refs #8503
2015-06-18 14:13:37 +02:00
Michael Friedrich 7ced788ba9 changelog.py: Allow to define project, make custom_fields and changes optional
fixes #9446
2015-06-18 13:26:59 +02:00
Gunnar Beutner 42e887e395 Add spec file for Chocolatey
fixes #8503
2015-06-18 11:42:33 +02:00
Gunnar Beutner 9238c5af11 Fix incorrect validator for command arguments
fixes #9436
2015-06-18 08:13:40 +02:00
Michael Friedrich f6c5f58dec Fix wrong timestamp w/ timezone format in DB IDO PGSQL schema
refs #9027
2015-06-17 16:11:21 +02:00
Michael Friedrich 0763f4ed4b Update AUTHORS
refs #9416
refs #9303
2015-06-17 15:28:50 +02:00
Christian Lehmann 2a6c0d87af 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>
2015-06-17 15:27:45 +02:00
Dirk Goetz e88cc78a4f Add elasticsearch checkcommand to itl
fixes #9415

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-06-17 15:17:32 +02:00
Tom Geissler 8d383c6a19 Add 'snmp_is_cisco' to Manubulon snmp-memory command definition
The new var 'snmp_is_cisco' was added to snmp-memory check
for use the correct OID with cisco switches. The default
is 'false'.

fixes #9303

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-06-17 15:13:38 +02:00
Michael Friedrich d36477c2d4 Update release TODOs 2015-06-17 14:23:28 +02:00
Gunnar Beutner a97e4c30de Release version 2.3.5 2015-06-17 10:53:40 +02:00
Michael Friedrich 5893435f75 Documentation: Fix wrong anchor
refs #8850
2015-06-17 09:56:25 +02:00
Michael Friedrich b76e5da47a Documentation: String concat in apply, additional fixes
fixes #9318
2015-06-16 19:58:32 +02:00
Michael Friedrich b70b594262 Documentation: Add best practices for cluster config sync
fixes #9285
2015-06-16 19:44:02 +02:00
Michael Friedrich 917c5da666 Documentation: Add function usage examples to advanced topics
Includes typeof() examples, referenced to command variable scopes
and examples from community support.

fixes #9297
fixes #9310
fixes #9311
2015-06-16 19:08:41 +02:00
Michael Friedrich 62524d2f88 Documentation: Revamp the 'passing command parameters' section
fixes #9313
2015-06-16 17:34:53 +02:00
Michael Friedrich d70a70753f Documentation: Move configuration before advanced topics
fixes #9431
2015-06-16 16:48:27 +02:00
Michael Friedrich 80990b6af4 Documentation: Enhance cluster troubleshooting; add HA command_endpoint
fixes #9419
fixes #9420
2015-06-15 20:12:04 +02:00
Michael Friedrich bd16651f79 Build fix
refs #9324
2015-06-15 17:24:55 +02:00
Markus Frosch 213300c5e7 Fix objects cache dump in compat for multiline vars
Multiline vars should be written as:
  _test test1\ntest2

And not
  _test test1
test2

fixes #9328

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-06-15 17:20:43 +02:00
Markus Frosch 47c8b5e347 Fix multi line handling for compat check results
When a multi line result is submitted via the command pipe, any multi line
output is escaped to a actual string '\n', because any external command only
can be a single line.

Example:
  [1432735140] PROCESS_SERVICE_CHECK_RESULT;host;service;3;Test1\nTest2|test=1

We need to unescape this values, just like we use to escape multi line output
for IDO and status.dat.

fixes #9324

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-06-15 17:19:28 +02:00
Markus Frosch cfbe82d841 Remove selective reconnecting behavior
We want to remove the partial reconnecting behavior, so that all endpoints of
a zone try to connect to a lower or higher zone in hierarchy.

fixes #9406

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-06-15 14:47:04 +02:00