Michael Friedrich
4bc42281be
Build fix for Linux
...
refs #9647
2015-07-20 17:21:27 +02:00
Gunnar Beutner
e47d5006d2
Build fix for Windows
...
refs #9647
2015-07-20 13:41:58 +02:00
Tobias von der Krone
80d0d7dc7a
Correct escaping of metric and tag names for OpenTSDB perfdata plugin
...
fixes #9665
2015-07-20 07:59:13 +02:00
Michael Friedrich
51d0e71a00
Don't allow "ignore where" for groups when there's no "assign where"
...
fixes #9554
2015-07-16 13:56:12 +02:00
Jean-Marcel Flach
b9a4a64249
Move url handler to /lib/remote
...
fixes #9647
2015-07-16 13:35:32 +02:00
Michael Friedrich
69e6fc4811
DB IDO: Do not update endpointstatus table on config updates
...
fixes #9634
2015-07-16 13:25:11 +02:00
Jean-Marcel Flach
aa16438298
Change decode - check order in path decoding
...
refs #9470
2015-07-15 15:36:17 +02:00
Gunnar Beutner
afc5db1299
Build fix for Windows
2015-07-15 11:24:47 +02:00
Gunnar Beutner
26338c0fa6
Add missing lock in ScriptUtils::Union
...
fixes #9622
2015-07-15 08:26:58 +02:00
Gunnar Beutner
d98f9a3c92
Fix failed assertion in ScriptUtils::Intersection
...
fixes #9621
2015-07-15 08:20:16 +02:00
Michael Friedrich
dcef213c8f
Fix overflow in freshness_threshold column (smallint) w/ DB IDO MySQL
...
fixes #9576
2015-07-14 18:20:08 +02:00
Michael Friedrich
769594fa4f
Livestatus: Add zone object table w/ endpoint members
...
refs #9286
2015-07-14 18:09:24 +02:00
Michael Friedrich
a788de679c
DB IDO: Add zones, zonestatus tables
...
refs #9286
2015-07-14 18:09:24 +02:00
Michael Friedrich
c8d129bf9f
Enable -Wno-deprecated-register for Clang and AppleClang
...
refs #9414
2015-07-14 15:02:43 +02:00
Gunnar Beutner
ceea8a24d3
Add missing HTTP response headers
...
refs #9594
2015-07-13 08:29:48 +02:00
Gunnar Beutner
8dedd47b89
Fix incorrect return value for the macro() function
...
fixes #9584
2015-07-13 08:25:19 +02:00
Michael Friedrich
269e79647f
Rename HttpRequest.Url to HttpRequest.RequestUrl
...
Otherwise gcc will break with the Url class, clang works.
refs #9447
2015-07-09 17:32:19 +02:00
Michael Friedrich
8bf949852a
API: Implement password- and certificate-based authentication
...
fixes #9086
fixes #9085
refs #9594
2015-07-09 15:27:14 +02:00
Michael Friedrich
f8f86d89a4
Add ApiUser::GetByClientCN()
...
refs #9471
refs #9086
2015-07-09 15:25:51 +02:00
Michael Friedrich
58a3cd7fef
Add Base64::{En,De]code()
...
fixes #9594
2015-07-09 15:20:47 +02:00
Michael Friedrich
9b469453a7
Fix compiler warnings
...
refs #9447
2015-07-09 12:46:04 +02:00
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
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
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
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
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
8450cb5d6c
MAke ApiUser::CheckPassword() const
...
refs #9471
2015-07-02 09:26:43 +02:00
Michael Friedrich
2eaae1f733
Update documentation for ApiUser object & node wizard
...
fixes #9471
2015-06-25 18:03:00 +02:00
Michael Friedrich
ee035ae001
Fix unity build
...
refs #9471
2015-06-25 17:20:23 +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
Michael Friedrich
45a0f09532
Fix unused variable in dbevents
...
refs #9055
2015-06-24 14:12:18 +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
3648703ad8
DB IDO: Fix datatype for 'check_source' in statehistory table
...
fixes #9455
2015-06-22 17:02:58 +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