Michael Friedrich
1b2af3f0c4
Merge pull request #6402 from Icinga/fix/tls-stream-read-pending
...
Use SSL_pending() for remaining TLS stream data
2018-06-21 16:43:03 +02:00
Michael Friedrich
257ad12646
Use SSL_pending() for remaining TLS stream data
...
We've used this previously, and according to the OpenSSL
docs we should just use it. From our experience everything
done different to the API functions from OpenSSL causes
undefined behaviour in the worst case.
This commit also breaks the packet size limit into a more
readable version, including logs for development debug builds.
refs #6242
2018-06-21 15:58:05 +02:00
Michael Friedrich
418d1ae343
Merge pull request #6401 from Icinga/fix/elastic-influxdb-writer-connection-error-handling
...
Fix connection error handling in Elasticsearch and InfluxDB features
2018-06-21 15:53:33 +02:00
Michael Friedrich
9ea0650edc
Fix connection error handling in Elasticsearch and InfluxDB features
...
Previously this would just throw the entire exception stack trace
which is not needed here.
fixes #6394
2018-06-21 15:41:40 +02:00
Michael Friedrich
ad933fb754
Merge pull request #6381 from Icinga/fix/env-sysvinit
...
Fix sysconfig not being handled correctly by sysvinit
2018-06-21 15:36:10 +02:00
Michael Friedrich
d2a6b260bb
Merge pull request #6400 from Icinga/feature/nscp-api-debug-logger
...
Enhance debug logging for check_nscp_api
2018-06-21 15:28:24 +02:00
Michael Friedrich
d9a55ac064
Add console logger for nscp_api debug mode
2018-06-21 15:08:44 +02:00
Michael Friedrich
b3970d4b74
Add headers to debug output
2018-06-21 15:08:36 +02:00
Michael Friedrich
cc294e14d2
Merge pull request #6393 from Icinga/bugfix/elasticsearchwriter-not-writing-6354
...
Stream#ReadLine(): fix false positive buffer underflow indicator
2018-06-21 15:06:21 +02:00
Michael Friedrich
17ae8011eb
Merge pull request #6397 from Icinga/bugfix/sporadic-check_nscp_api-timeouts-6242
...
TlsStream#IsEof(): fix false positive EOF indicator
2018-06-21 15:04:55 +02:00
Alexander A. Klimov
1c213877a4
Stream#ReadLine(): simplify algorithm
...
refs #6354
2018-06-20 17:28:52 +02:00
Alexander A. Klimov
3c7851107c
TlsStream#IsEof(): fix false positive EOF indicator
...
refs #6242
2018-06-20 16:55:33 +02:00
Alexander A. Klimov
02d1f1cc57
Stream#ReadLine(): fix false positive buffer underflow indicator
...
refs #6354
2018-06-20 09:59:18 +02:00
Michael Friedrich
89033343e8
Merge pull request #6390 from Icinga/fix/update-windows-wizard-screenshots-in-the-docs-6286
...
Docs: Update Windows wizard images
2018-06-19 18:04:18 +02:00
Michael Friedrich
1b67cd4387
Merge pull request #6391 from Icinga/fix/icinga-com-link-docs
...
Docs: Fix icinga.com link
2018-06-19 18:02:17 +02:00
Noah Hilverling
50e335f796
Docs: Fix icinga.com link
2018-06-19 16:21:59 +02:00
Noah Hilverling
5e79906403
Docs: Add option 'disable conf.d' to windows wizard docs
2018-06-19 15:59:44 +02:00
Noah Hilverling
361a1868df
Docs: Update Windows wizard images
2018-06-19 15:26:54 +02:00
Michael Friedrich
cfd6c79a03
Merge pull request #6387 from Icinga/fix/remove-broken-api-user-hash
...
Remove ApiUser password_hash functionality
2018-06-19 14:26:32 +02:00
Michael Friedrich
2fd6709952
Remove ApiUser password_hash functionality
...
This affects and fixes
- Windows reload
- Config validation
- RHEL 7.5 OpenSSL memory corruption
- Hash algorithm, requested changes
refs #6378
refs #6279
refs #6278
2018-06-19 11:32:03 +02:00
Noah Hilverling
233d00d648
Merge pull request #6311 from Reamer/timeperiod_bugfix
...
refs #6282
2018-06-19 10:29:27 +02:00
Michael Friedrich
050a709929
Merge pull request #6384 from Icinga/fix/sysconfigfile-warnings-buildfix
...
Remove leftover for sysconfig file parsing
2018-06-19 08:49:24 +02:00
Michael Friedrich
9b99c9d106
Remove leftover for sysconfig file parsing
...
refs #6255
2018-06-18 19:25:48 +02:00
Michael Friedrich
352aca7339
Merge pull request #6383 from Icinga/bugfix/debug-console-sometimes-hangs-6184
...
HttpRequest#ParseBody(): indicate success on complete body
2018-06-18 16:43:40 +02:00
Alexander A. Klimov
a0fca599da
HttpRequest#ParseBody(): indicate success on complete body
...
refs #6184
2018-06-18 16:02:22 +02:00
Jean Flach
44fae88d43
Update sysconfig read
2018-06-18 10:27:35 +02:00
Jean Flach
2b5ea38217
Fix sysconfig not bein handled correctly by sysvinit
2018-06-15 17:04:28 +02:00
Michael Friedrich
eb1f37905d
Merge pull request #6368 from Icinga/fix/program-options-parsing-6365
...
Fix program option parsing
2018-06-15 16:09:13 +02:00
Michael Friedrich
8c3c4704d2
Merge pull request #6371 from Icinga/bugfix/socket-io-handling-with-http-json-rpc-6361
...
ApiListener#NewClientHandlerInternal(): Explicitly close the TLS stream on any failure
2018-06-15 14:35:48 +02:00
Michael Friedrich
8aaabea54f
Merge pull request #6377 from Icinga/fix/wq-name
...
Fix missing name for workqueue while creating runtime objects via API
2018-06-15 14:32:35 +02:00
Michael Friedrich
e45e143b9e
Merge pull request #6375 from ekeih/doc/flapping-chapter-typo
...
some minor fixes in the flapping documentation
2018-06-15 14:32:17 +02:00
Michael Friedrich
6d75f660bc
Merge pull request #6374 from Icinga/feature/docs-vmwareapi-timeout
...
Docs: Add an additional note for VMWare timeouts on Ubuntu 16.04 LTS
2018-06-15 14:31:43 +02:00
Michael Friedrich
b9bfe70444
Fix missing name for workqueue while creating runtime objects via API
...
fixes #6364
2018-06-15 14:25:03 +02:00
Max Rosin
5da0f41b3f
some minor fixes in the flapping documentation
...
- change "ware weighted" to "are weighted"
- remove an unintended line break
- remove a comma
2018-06-15 13:22:02 +02:00
Michael Friedrich
e15d2f40ab
Docs: Add an additional note for VMWare timeouts on Ubuntu 16.04 LTS
...
Spotted through our community channels.
2018-06-15 11:42:00 +02:00
Michael Friedrich
3f41a28ac5
Merge pull request #6373 from Icinga/fix/docs-default-command-imports
...
Drop command template imports for versions < 2.6 in the docs
2018-06-15 11:03:25 +02:00
Michael Friedrich
e390962fb6
Drop command template imports for versions < 2.6 in the docs
...
Such versions are out of support, so there's no need to keep
track in the docs for 2.9.
2018-06-15 10:55:51 +02:00
Michael Friedrich
0f1715332a
Merge pull request #6372 from Icinga/feature/docs-timeperiods-templates
...
Remove the import of 'legacy-timeperiod' in the docs
2018-06-15 10:52:58 +02:00
Michael Friedrich
0bcda04171
Remove the import of 'legacy-timeperiod' in the docs
...
2.6.0 introduced default template imports for config objects
where this isn't necessary anymore. It also confuses the reader.
2018-06-15 10:48:19 +02:00
Alexander A. Klimov
7741517df7
ApiListener#NewClientHandlerInternal(): Explicitly close the TLS stream on any failure
...
refs #6361
2018-06-14 15:03:04 +02:00
Jean Flach
4eb5b0967c
Merge pull request #6367 from Icinga/windows-reload
...
Revert "Fix Windows reload"
2018-06-14 10:37:35 +02:00
Michael Insel
e885cf71c6
Fix program option parsing
...
This fixes the program option parsing.
2018-06-12 19:02:48 +02:00
Jean Flach
9a5d464448
Revert "Fix Windows reload"
...
This reverts commit 691e3cfd57
.
2018-06-12 12:19:16 +02:00
Michael Friedrich
eee30750d5
Merge pull request #6359 from Icinga/fix/scheduled-downtimes
...
Fix ScheduledDowntimes replicating on restart
2018-06-08 16:26:46 +02:00
Jean Flach
0fc5db82dd
Fix ScheduledDowntimes replicating on restart
...
fixes #4272
2018-06-08 10:54:06 +02:00
Jean Flach
ee37c8c68e
Merge pull request #6343 from Icinga/fix/checks-via-command_endpoint-are-not-executed-6337
...
Fix that checks with command_endpoint don't return any check results
2018-06-07 11:42:40 +02:00
Jean Flach
197477b6d6
Merge pull request #6357 from Icinga/fix/http-header-size
...
Increase header size to 8KB for HTTP requests
2018-06-07 11:00:09 +02:00
Michael Friedrich
447dad91c0
Increase header size to 8KB for HTTP requests
...
This is the default for Tomcat and Apache too
and avoids problems with cookies and long URLs.
fixes #6355
2018-06-06 20:25:36 +02:00
Michael Friedrich
2dafcfa8a9
prepare-dirs: Ensure to always set proper run directory permissions
...
refs #6328
2018-06-06 14:32:26 +02:00
Michael Friedrich
eb3956f6ef
Merge pull request #6350 from nazco/clarify-api-permission-docs
...
clarify the permision system of the api in the docs
2018-06-05 16:34:12 +02:00