Commit Graph

9581 Commits

Author SHA1 Message Date
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
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
Michael Friedrich 2d8158ec29
Merge pull request #6290 from jre3brg/opentsdb-metric-names
Fixed opentsdb metric name with colon chars
2018-05-22 15:46:04 +02:00
Michael Friedrich f00f9f7270
Merge pull request #6321 from Icinga/feature/enhance-cert-renewal-log
Update log message for skipped certificate renewal
2018-05-22 09:22:00 +02:00
Michael Friedrich f788878f79 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-18 17:04:03 +02:00
Noah Hilverling 5be3a20e88
Merge pull request #6320 from Icinga/fix/icinga-min-version-optional
Ensure that icinga_min_version parameter is optional
2018-05-18 16:30:10 +02:00
Michael Friedrich 4a68ed9a5f Ensure that icinga_min_version parameter is optional
Seen that here: https://github.com/Icinga/icinga2/issues/6319#issuecomment-390195058

refs #5960
refs #3998
2018-05-18 15:11:56 +02:00
Michael Friedrich 79b23fce3c
Merge pull request #6317 from Icinga/feature/docs-nscp-cpu
Add a note on Windows NSClient++ CPU checks to the docs
2018-05-18 10:46:33 +02:00
Michael Friedrich a926defb79 Add a note on Windows NSClient++ CPU checks to the docs
refs #6315
2018-05-18 10:45:07 +02:00
Noah Hilverling a5a2194fa2
Merge pull request #6292 from Icinga/fix/flapping-reminder-notification
Fix problem with reminder notifications if the checkable is flapping
2018-05-17 13:52:29 +02:00
Michael Friedrich 120eb070d2
Merge pull request #6309 from Icinga/fix/compiler-warning-in-checkercomponent-ti
Fix compiler warning in checkercomponent.ti
2018-05-16 10:42:31 +02:00
Michael Friedrich 04af51b866
Merge pull request #6306 from Icinga/feature/checkresultreader-deprecated
Adjust message for CheckResultReader deprecation
2018-05-15 14:05:16 +02:00
Michael Friedrich 7f579db9af
Merge pull request #6305 from gunnarbeutner/feature/environment-variable
Introduce the 'Environment' variable
2018-05-15 14:04:50 +02:00
Gunnar Beutner 9c1e00eb94 Introduce the 'Environment' variable 2018-05-15 12:02:15 +02:00
Noah Hilverling ead1f262e6 Fix compiler warning
fixes #6081
2018-05-15 11:25:28 +02:00
Michael Friedrich ead3f0a227 Adjust message for CheckResultReader deprecation
refs #6031
2018-05-15 10:44:06 +02:00
Michael Friedrich ffcdf266c0
Merge pull request #6301 from Icinga/feature/deprecate-remove-compat-update
Adjust deprecation removal for compat features
2018-05-14 16:04:32 +02:00
Michael Friedrich 119965fe24 Adjust deprecation removal for compat features
As discussed with @lippserd :)

refs #6032
refs #6033
2018-05-14 15:55:30 +02:00
Michael Friedrich d0194b6331
Merge pull request #6299 from Icinga/feature/event-command-visible-error-log
Change log level for failed event command execution
2018-05-11 15:55:15 +02:00
Michael Friedrich 5b19784b25 Change log level for failed event command execution
refs #5692
2018-05-11 15:24:37 +02:00
Michael Friedrich f019153a12
Merge pull request #6297 from Icinga/fix/eventhandler-ha-zone
Execute event commands only on actively checked host/service objects in an HA zone
2018-05-11 13:13:37 +02:00
Michael Friedrich 2d87b667ab Execute event commands only on actively checked host/service objects in an HA zone
fixes #3431
2018-05-11 12:58:33 +02:00
Michael Friedrich b641197361
Merge pull request #6295 from Icinga/feature/deprecate-compatlog
Deprecate compatlog feature
2018-05-09 17:52:55 +02:00
Michael Friedrich 964a5ebd57 Deprecate compatlog feature
fixes #6032
2018-05-09 17:37:28 +02:00
Michael Friedrich 416b4b83e1
Merge pull request #6294 from Icinga/feature/unique-groups-api
Ensure that group memberships on API object creation are unique
2018-05-09 17:36:03 +02:00
Michael Friedrich f070d2136a Ensure that user input for groups is unique on API object creation
refs #4732
2018-05-09 17:26:10 +02:00
Michael Friedrich 88d99094bf Ensure that added group members are unique
refs #4732
2018-05-09 17:26:07 +02:00
Michael Friedrich 6660a45c41 Implement Array::Unique() and add unit tests
refs #4732
2018-05-09 17:25:55 +02:00
Michael Friedrich 16e8e3cf4b Fix problem with reminder notifications if the checkable is flapping 2018-05-09 09:54:48 +02:00