]>
granicus.if.org Git - icinga2/log
Michael Friedrich [Fri, 22 Jun 2018 09:12:09 +0000 (11:12 +0200)]
Ensure to _unlink before renaming replay log on Windows
Michael Friedrich [Thu, 21 Jun 2018 14:43:03 +0000 (16:43 +0200)]
Merge pull request #6402 from Icinga/fix/tls-stream-read-pending
Use SSL_pending() for remaining TLS stream data
Michael Friedrich [Tue, 19 Jun 2018 18:27:52 +0000 (20:27 +0200)]
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
Michael Friedrich [Thu, 21 Jun 2018 13:53:33 +0000 (15:53 +0200)]
Merge pull request #6401 from Icinga/fix/elastic-influxdb-writer-connection-error-handling
Fix connection error handling in Elasticsearch and InfluxDB features
Michael Friedrich [Thu, 21 Jun 2018 13:41:40 +0000 (15:41 +0200)]
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
Michael Friedrich [Thu, 21 Jun 2018 13:36:10 +0000 (15:36 +0200)]
Merge pull request #6381 from Icinga/fix/env-sysvinit
Fix sysconfig not being handled correctly by sysvinit
Michael Friedrich [Thu, 21 Jun 2018 13:28:24 +0000 (15:28 +0200)]
Merge pull request #6400 from Icinga/feature/nscp-api-debug-logger
Enhance debug logging for check_nscp_api
Michael Friedrich [Tue, 19 Jun 2018 10:46:10 +0000 (12:46 +0200)]
Add console logger for nscp_api debug mode
Michael Friedrich [Tue, 19 Jun 2018 07:03:04 +0000 (09:03 +0200)]
Add headers to debug output
Michael Friedrich [Thu, 21 Jun 2018 13:06:21 +0000 (15:06 +0200)]
Merge pull request #6393 from Icinga/bugfix/elasticsearchwriter-not-writing-6354
Stream#ReadLine(): fix false positive buffer underflow indicator
Michael Friedrich [Thu, 21 Jun 2018 13:04:55 +0000 (15:04 +0200)]
Merge pull request #6397 from Icinga/bugfix/sporadic-check_nscp_api-timeouts-6242
TlsStream#IsEof(): fix false positive EOF indicator
Alexander A. Klimov [Wed, 20 Jun 2018 15:28:52 +0000 (17:28 +0200)]
Stream#ReadLine(): simplify algorithm
refs #6354
Alexander A. Klimov [Wed, 20 Jun 2018 14:55:33 +0000 (16:55 +0200)]
TlsStream#IsEof(): fix false positive EOF indicator
refs #6242
Alexander A. Klimov [Wed, 20 Jun 2018 07:59:18 +0000 (09:59 +0200)]
Stream#ReadLine(): fix false positive buffer underflow indicator
refs #6354
Michael Friedrich [Tue, 19 Jun 2018 16:04:18 +0000 (18:04 +0200)]
Merge pull request #6390 from Icinga/fix/update-windows-wizard-screenshots-in-the-docs-6286
Docs: Update Windows wizard images
Michael Friedrich [Tue, 19 Jun 2018 16:02:17 +0000 (18:02 +0200)]
Merge pull request #6391 from Icinga/fix/icinga-com-link-docs
Docs: Fix icinga.com link
Noah Hilverling [Tue, 19 Jun 2018 14:21:59 +0000 (16:21 +0200)]
Docs: Fix icinga.com link
Noah Hilverling [Tue, 19 Jun 2018 13:59:44 +0000 (15:59 +0200)]
Docs: Add option 'disable conf.d' to windows wizard docs
Noah Hilverling [Tue, 19 Jun 2018 13:26:54 +0000 (15:26 +0200)]
Docs: Update Windows wizard images
Michael Friedrich [Tue, 19 Jun 2018 12:26:32 +0000 (14:26 +0200)]
Merge pull request #6387 from Icinga/fix/remove-broken-api-user-hash
Remove ApiUser password_hash functionality
Michael Friedrich [Mon, 18 Jun 2018 09:05:56 +0000 (11:05 +0200)]
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
Noah Hilverling [Tue, 19 Jun 2018 08:29:27 +0000 (10:29 +0200)]
Merge pull request #6311 from Reamer/timeperiod_bugfix
refs #6282
Michael Friedrich [Tue, 19 Jun 2018 06:49:24 +0000 (08:49 +0200)]
Merge pull request #6384 from Icinga/fix/sysconfigfile-warnings-buildfix
Remove leftover for sysconfig file parsing
Michael Friedrich [Mon, 18 Jun 2018 17:25:48 +0000 (19:25 +0200)]
Remove leftover for sysconfig file parsing
refs #6255
Michael Friedrich [Mon, 18 Jun 2018 14:43:40 +0000 (16:43 +0200)]
Merge pull request #6383 from Icinga/bugfix/debug-console-sometimes-hangs-6184
HttpRequest#ParseBody(): indicate success on complete body
Alexander A. Klimov [Mon, 18 Jun 2018 14:02:22 +0000 (16:02 +0200)]
HttpRequest#ParseBody(): indicate success on complete body
refs #6184
Jean Flach [Mon, 18 Jun 2018 08:27:35 +0000 (10:27 +0200)]
Update sysconfig read
Jean Flach [Fri, 15 Jun 2018 15:04:28 +0000 (17:04 +0200)]
Fix sysconfig not bein handled correctly by sysvinit
Michael Friedrich [Fri, 15 Jun 2018 14:09:13 +0000 (16:09 +0200)]
Merge pull request #6368 from Icinga/fix/program-options-parsing-6365
Fix program option parsing
Michael Friedrich [Fri, 15 Jun 2018 12:35:48 +0000 (14:35 +0200)]
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
Michael Friedrich [Fri, 15 Jun 2018 12:32:35 +0000 (14:32 +0200)]
Merge pull request #6377 from Icinga/fix/wq-name
Fix missing name for workqueue while creating runtime objects via API
Michael Friedrich [Fri, 15 Jun 2018 12:32:17 +0000 (14:32 +0200)]
Merge pull request #6375 from ekeih/doc/flapping-chapter-typo
some minor fixes in the flapping documentation
Michael Friedrich [Fri, 15 Jun 2018 12:31:43 +0000 (14:31 +0200)]
Merge pull request #6374 from Icinga/feature/docs-vmwareapi-timeout
Docs: Add an additional note for VMWare timeouts on Ubuntu 16.04 LTS
Michael Friedrich [Fri, 15 Jun 2018 12:25:03 +0000 (14:25 +0200)]
Fix missing name for workqueue while creating runtime objects via API
fixes #6364
Max Rosin [Fri, 15 Jun 2018 11:17:52 +0000 (13:17 +0200)]
some minor fixes in the flapping documentation
- change "ware weighted" to "are weighted"
- remove an unintended line break
- remove a comma
Michael Friedrich [Fri, 15 Jun 2018 09:42:00 +0000 (11:42 +0200)]
Docs: Add an additional note for VMWare timeouts on Ubuntu 16.04 LTS
Spotted through our community channels.
Michael Friedrich [Fri, 15 Jun 2018 09:03:25 +0000 (11:03 +0200)]
Merge pull request #6373 from Icinga/fix/docs-default-command-imports
Drop command template imports for versions < 2.6 in the docs
Michael Friedrich [Fri, 15 Jun 2018 08:55:51 +0000 (10:55 +0200)]
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.
Michael Friedrich [Fri, 15 Jun 2018 08:52:58 +0000 (10:52 +0200)]
Merge pull request #6372 from Icinga/feature/docs-timeperiods-templates
Remove the import of 'legacy-timeperiod' in the docs
Michael Friedrich [Fri, 15 Jun 2018 08:48:19 +0000 (10:48 +0200)]
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.
Alexander A. Klimov [Thu, 14 Jun 2018 13:03:04 +0000 (15:03 +0200)]
ApiListener#NewClientHandlerInternal(): Explicitly close the TLS stream on any failure
refs #6361
Jean Flach [Thu, 14 Jun 2018 08:37:35 +0000 (10:37 +0200)]
Merge pull request #6367 from Icinga/windows-reload
Revert "Fix Windows reload"
Michael Insel [Tue, 12 Jun 2018 17:02:48 +0000 (19:02 +0200)]
Fix program option parsing
This fixes the program option parsing.
Jean Flach [Tue, 12 Jun 2018 10:19:16 +0000 (12:19 +0200)]
Revert "Fix Windows reload"
This reverts commit
691e3cfd576e09d28f1da0df3f112d5c56980362 .
Michael Friedrich [Fri, 8 Jun 2018 14:26:46 +0000 (16:26 +0200)]
Merge pull request #6359 from Icinga/fix/scheduled-downtimes
Fix ScheduledDowntimes replicating on restart
Jean Flach [Fri, 8 Jun 2018 08:54:06 +0000 (10:54 +0200)]
Fix ScheduledDowntimes replicating on restart
fixes #4272
Jean Flach [Thu, 7 Jun 2018 09:42:40 +0000 (11:42 +0200)]
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
Jean Flach [Thu, 7 Jun 2018 09:00:09 +0000 (11:00 +0200)]
Merge pull request #6357 from Icinga/fix/http-header-size
Increase header size to 8KB for HTTP requests
Michael Friedrich [Wed, 6 Jun 2018 18:23:14 +0000 (20:23 +0200)]
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
Michael Friedrich [Wed, 6 Jun 2018 12:31:47 +0000 (14:31 +0200)]
prepare-dirs: Ensure to always set proper run directory permissions
refs #6328
Michael Friedrich [Tue, 5 Jun 2018 14:34:12 +0000 (16:34 +0200)]
Merge pull request #6350 from nazco/clarify-api-permission-docs
clarify the permision system of the api in the docs
Leah Oswald [Tue, 5 Jun 2018 14:20:09 +0000 (16:20 +0200)]
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.
Michael Friedrich [Tue, 5 Jun 2018 12:03:39 +0000 (14:03 +0200)]
Fix obsolete parameter in Systemd script
refs #6328
Michael Friedrich [Tue, 5 Jun 2018 11:27:36 +0000 (13:27 +0200)]
Merge pull request #6328 from Icinga/sysconfig-env
Rework sysconfig file/startup environment
Jean Flach [Mon, 4 Jun 2018 13:50:35 +0000 (15:50 +0200)]
Merge pull request #6347 from dgoetz/fix/selinux-notifications-6028
SELinux: Allow notification plugins to read local users …
Dirk Goetz [Fri, 1 Jun 2018 10:29:20 +0000 (10:29 +0000)]
SELinux: Allow notification plugins to read local users and connect to a web api
fixes #6028
Michael Friedrich [Wed, 30 May 2018 11:57:41 +0000 (13:57 +0200)]
Merge pull request #6344 from Icinga/fix/broken-readme-links
README: Fix broken community link
Noah Hilverling [Tue, 29 May 2018 12:12:11 +0000 (14:12 +0200)]
README: Fix broken community link
Noah Hilverling [Tue, 29 May 2018 11:51:34 +0000 (13:51 +0200)]
Fix that checks with command_endpoint don't return any check results
fixes #6337
Michael Friedrich [Fri, 25 May 2018 07:08:38 +0000 (09:08 +0200)]
Merge pull request #6336 from Icinga/fix/log-message-typo
Fix unnecessary blank in log message
Michael Insel [Thu, 24 May 2018 17:35:52 +0000 (19:35 +0200)]
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'.
Michael Friedrich [Thu, 24 May 2018 07:56:28 +0000 (09:56 +0200)]
Merge pull request #6330 from boltronics/doc_typo_fix
Fix $ipaddress6$ attribute name typo in the docs
Adam Bolte [Thu, 24 May 2018 07:47:03 +0000 (17:47 +1000)]
Fix $ipaddress6$ attribute name typo in the docs
fixes #6329
Jean Flach [Wed, 23 May 2018 12:23:48 +0000 (14:23 +0200)]
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
Jean Flach [Wed, 23 May 2018 11:37:29 +0000 (13:37 +0200)]
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
Michael Friedrich [Fri, 18 May 2018 15:04:03 +0000 (17:04 +0200)]
Update log message for skipped certificate renewal
Users kept asking about it, still it is just an "information"
that this isn't needed yet.
Michael Friedrich [Wed, 23 May 2018 09:25:52 +0000 (11:25 +0200)]
Merge pull request #6324 from Icinga/fix/6279-api-user-crash
Ensure that password hash generation from OpenSSL is atomic
Jean Flach [Tue, 22 May 2018 13:01:15 +0000 (15:01 +0200)]
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
Michael Friedrich [Tue, 22 May 2018 13:46:04 +0000 (15:46 +0200)]
Merge pull request #6290 from jre3brg/opentsdb-metric-names
Fixed opentsdb metric name with colon chars
Michael Friedrich [Tue, 22 May 2018 07:22:00 +0000 (09:22 +0200)]
Merge pull request #6321 from Icinga/feature/enhance-cert-renewal-log
Update log message for skipped certificate renewal
Michael Friedrich [Fri, 18 May 2018 15:04:03 +0000 (17:04 +0200)]
Update log message for skipped certificate renewal
Users kept asking about it, still it is just an "information"
that this isn't needed yet.
Noah Hilverling [Fri, 18 May 2018 14:30:10 +0000 (16:30 +0200)]
Merge pull request #6320 from Icinga/fix/icinga-min-version-optional
Ensure that icinga_min_version parameter is optional
Michael Friedrich [Fri, 18 May 2018 13:11:56 +0000 (15:11 +0200)]
Ensure that icinga_min_version parameter is optional
Seen that here: https://github.com/Icinga/icinga2/issues/6319#issuecomment-
390195058
refs #5960
refs #3998
Michael Friedrich [Fri, 18 May 2018 08:46:33 +0000 (10:46 +0200)]
Merge pull request #6317 from Icinga/feature/docs-nscp-cpu
Add a note on Windows NSClient++ CPU checks to the docs
Michael Friedrich [Fri, 18 May 2018 08:43:20 +0000 (10:43 +0200)]
Add a note on Windows NSClient++ CPU checks to the docs
refs #6315
Noah Hilverling [Thu, 17 May 2018 11:52:29 +0000 (13:52 +0200)]
Merge pull request #6292 from Icinga/fix/flapping-reminder-notification
Fix problem with reminder notifications if the checkable is flapping
Philipp Dallig [Wed, 16 May 2018 10:04:38 +0000 (12:04 +0200)]
Do not add the old timeperiod segment, if we cut it in the middle
Michael Friedrich [Wed, 16 May 2018 08:42:31 +0000 (10:42 +0200)]
Merge pull request #6309 from Icinga/fix/compiler-warning-in-checkercomponent-ti
Fix compiler warning in checkercomponent.ti
Michael Friedrich [Tue, 15 May 2018 12:05:16 +0000 (14:05 +0200)]
Merge pull request #6306 from Icinga/feature/checkresultreader-deprecated
Adjust message for CheckResultReader deprecation
Michael Friedrich [Tue, 15 May 2018 12:04:50 +0000 (14:04 +0200)]
Merge pull request #6305 from gunnarbeutner/feature/environment-variable
Introduce the 'Environment' variable
Gunnar Beutner [Tue, 15 May 2018 08:27:13 +0000 (10:27 +0200)]
Introduce the 'Environment' variable
Noah Hilverling [Tue, 15 May 2018 09:25:28 +0000 (11:25 +0200)]
Fix compiler warning
fixes #6081
Michael Friedrich [Tue, 15 May 2018 08:44:06 +0000 (10:44 +0200)]
Adjust message for CheckResultReader deprecation
refs #6031
Michael Friedrich [Mon, 14 May 2018 14:04:32 +0000 (16:04 +0200)]
Merge pull request #6301 from Icinga/feature/deprecate-remove-compat-update
Adjust deprecation removal for compat features
Michael Friedrich [Mon, 14 May 2018 13:55:30 +0000 (15:55 +0200)]
Adjust deprecation removal for compat features
As discussed with @lippserd :)
refs #6032
refs #6033
Michael Friedrich [Fri, 11 May 2018 13:55:15 +0000 (15:55 +0200)]
Merge pull request #6299 from Icinga/feature/event-command-visible-error-log
Change log level for failed event command execution
Michael Friedrich [Fri, 11 May 2018 13:24:37 +0000 (15:24 +0200)]
Change log level for failed event command execution
refs #5692
Michael Friedrich [Fri, 11 May 2018 11:13:37 +0000 (13:13 +0200)]
Merge pull request #6297 from Icinga/fix/eventhandler-ha-zone
Execute event commands only on actively checked host/service objects in an HA zone
Michael Friedrich [Fri, 11 May 2018 10:58:33 +0000 (12:58 +0200)]
Execute event commands only on actively checked host/service objects in an HA zone
fixes #3431
Michael Friedrich [Wed, 9 May 2018 15:52:55 +0000 (17:52 +0200)]
Merge pull request #6295 from Icinga/feature/deprecate-compatlog
Deprecate compatlog feature
Michael Friedrich [Wed, 9 May 2018 15:37:28 +0000 (17:37 +0200)]
Deprecate compatlog feature
fixes #6032
Michael Friedrich [Wed, 9 May 2018 15:36:03 +0000 (17:36 +0200)]
Merge pull request #6294 from Icinga/feature/unique-groups-api
Ensure that group memberships on API object creation are unique
Michael Friedrich [Wed, 9 May 2018 15:18:22 +0000 (17:18 +0200)]
Ensure that user input for groups is unique on API object creation
refs #4732
Michael Friedrich [Wed, 9 May 2018 15:15:44 +0000 (17:15 +0200)]
Ensure that added group members are unique
refs #4732
Michael Friedrich [Wed, 9 May 2018 14:55:14 +0000 (16:55 +0200)]
Implement Array::Unique() and add unit tests
refs #4732
Michael Friedrich [Wed, 9 May 2018 07:54:48 +0000 (09:54 +0200)]
Fix problem with reminder notifications if the checkable is flapping
Michael Friedrich [Tue, 8 May 2018 15:16:35 +0000 (17:16 +0200)]
Merge pull request #5426 from mcktr/mcktr/feature/node-setup-disable-confd-dir-4508
Add the ability to disable the conf.d inclusion through the node wizard
Michael Friedrich [Tue, 8 May 2018 14:31:06 +0000 (16:31 +0200)]
Add documentation for CLI command parameters
refs #4508
Michael Friedrich [Tue, 8 May 2018 14:06:10 +0000 (16:06 +0200)]
Fix style and logging from review; enhance output
refs #4508
Jean Flach [Fri, 4 May 2018 09:38:30 +0000 (11:38 +0200)]
Small changes to node wizard/command
refs #4508