Commit Graph

9661 Commits

Author SHA1 Message Date
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
Leah Oswald 1f681e195d clarify the permision system of the api in the docs
Clarify that the permission system used by the api isn't equivalent
with the system used by the Icinga Web 2 frontend. And that its rather based
on the url scheme of the API endpoints.
2018-06-05 16:20:09 +02:00
Michael Friedrich 592fb22c7f Fix obsolete parameter in Systemd script
refs #6328
2018-06-05 14:03:39 +02:00
Michael Friedrich bf0737ded5
Merge pull request #6328 from Icinga/sysconfig-env
Rework sysconfig file/startup environment
2018-06-05 13:27:36 +02:00
Jean Flach 3092f6fadb
Merge pull request #6347 from dgoetz/fix/selinux-notifications-6028
SELinux: Allow notification plugins to read local users …
2018-06-04 15:50:35 +02:00
Carsten Koebke d359d9e7c7 Fix for catalogued locally databases. Fixes #6338 2018-06-03 20:25:24 +02:00
Dirk Goetz 00214e597e SELinux: Allow notification plugins to read local users and connect to a web api
fixes #6028
2018-06-01 10:29:20 +00:00
Michael Friedrich 891456fefc
Merge pull request #6344 from Icinga/fix/broken-readme-links
README: Fix broken community link
2018-05-30 13:57:41 +02:00
Noah Hilverling 72a8d2bee4 README: Fix broken community link 2018-05-29 14:12:11 +02:00
Noah Hilverling d8b400dc17 Fix that checks with command_endpoint don't return any check results
fixes #6337
2018-05-29 13:51:34 +02:00
Michael Friedrich 1956c6aa78
Merge pull request #6336 from Icinga/fix/log-message-typo
Fix unnecessary blank in log message
2018-05-25 09:08:38 +02:00
Michael Insel d868780e6d Fix unnecessary blank in log message
This fixes an unnecessary blank in the updating configuraiton log message.

information/cli: Updating ' "conf.d"' include in '/etc/icinga2/icinga2.conf'.

Should be:

information/cli: Updating '"conf.d"' include in '/etc/icinga2/icinga2.conf'.
2018-05-24 19:35:52 +02:00
Michael Friedrich 745e0ba021
Merge pull request #6330 from boltronics/doc_typo_fix
Fix $ipaddress6$ attribute name typo in the docs
2018-05-24 09:56:28 +02:00
Adam Bolte f3c2a0d235
Fix $ipaddress6$ attribute name typo in the docs
fixes #6329
2018-05-24 17:47:03 +10:00
Jean Flach 4b17e739eb Don't log when running autocomplete
Logging breaks autocomplete, with this patch we should only log when
something is going terribly wrong and execution can't be guaranteed or
is destined to fail.
This commit depends on the previous one which is why it's not in its own
pull request.

fixes #6256
2018-05-23 15:18:53 +02:00
Jean Flach ed4e008e79 Rework sysconfig file
The sysconfig file now only contains the defaults as comments, changes
made there are given to the init.d script, prepare-dirs, safe-reload and
Icinga 2 itself. If nothing is set in the sysconfig file (as is the
default as all lines are commented out) the defaults are used.

fixes #6255
2018-05-23 15:18:42 +02:00
Michael Friedrich 4a6320d7f7 Update log message for skipped certificate renewal
Users kept asking about it, still it is just an "information"
that this isn't needed yet.
2018-05-23 15:18:38 +02:00
Michael Friedrich 653a2b4e7d
Merge pull request #6324 from Icinga/fix/6279-api-user-crash
Ensure that password hash generation from OpenSSL is atomic
2018-05-23 11:25:52 +02:00
Jean Flach 08a14cd136 Ensure that password hash generation from OpenSSL is atomic
This is supposed to solve a problem with segfaults caused by
race conditions withing the random byte generation of OpenSSL.

fixes #6279
2018-05-23 10:55:14 +02:00