8338 Commits

Author SHA1 Message Date
Simon Murray
abc3652b00 Fix TLS Race Connecting to InfluxDB
Rather than leaving stale connections about we tried to poll for data coming in
from InfluxDB and timeout if it didn't repond in a timely manner.  This introduced
a race where the timeout triggers, a context switch occurs where data is actually
available and the TlsStream spins trying to asynchronously notify that data is
available, but which never gets read.  Not only does this use up 100% of a core,
but it also slowly starves the system of handler threads at which point metrics
stop being delivered.

This basically removes the poll and timeout, any TLS socket erros should be
detected by TCP keep-alives.

Fixes #5460 #5469
2017-08-14 16:20:49 +01:00
Michael Friedrich
a8c44cba35 Merge pull request #5494 from Icinga/feature/docs-multiple-templates
Docs: Add section for multiple template imports
2017-08-11 12:50:32 +02:00
Michael Friedrich
10b17d8295 Docs: Add section for multiple template imports 2017-08-11 12:49:10 +02:00
Michael Friedrich
e67d4c4ef7 Merge pull request #5488 from Icinga/feature/dbg-functions
Implement additional functions for printing values with LLDB/GDB
2017-08-10 10:27:33 +02:00
Gunnar Beutner
4d943c7f5c Implement additional functions for printing values with LLDB/GDB 2017-08-10 08:26:22 +02:00
Michael Friedrich
fa702d3772 Merge pull request #5487 from Icinga/feature/doc-troubleshooting-nscp
Docs: Enhance Troubleshooting with nscp-local, check_source, wrong thresholds
2017-08-09 20:54:50 +02:00
Michael Friedrich
9c7b3351be Docs: Enhance Troubleshooting with nscp-local, check_source, wrong thresholds 2017-08-09 20:50:32 +02:00
Michael Friedrich
e188686ed4 Merge pull request #5392 from ekohl/cache-dir
Ensure the cache directory exists
2017-08-09 18:22:07 +02:00
Michael Friedrich
2c0c62683f Merge pull request #5483 from Icinga/fix/db-ido-categories-everything
Fix config validation for DB IDO categories 'DbCatEverything'
2017-08-09 16:57:27 +02:00
Michael Friedrich
f6691b4936 Fix config validation for DB IDO categories 'DbCatEverything'
refs #5238
2017-08-09 16:31:03 +02:00
Michael Friedrich
37eb940f6e Merge pull request #5477 from Icinga/fix/systemd-sles12sp2-taskmax-infinity
Systemd: Add DefaultTasksMax=infinity to service file
2017-08-08 16:23:24 +02:00
Michael Friedrich
874e005284 Systemd: Add DefaultTasksMax=infinity to service file
This solves the problem with Systemd >= 226 and fork errors with
Icinga 2. Seen on SLES 11 SP2.

fixes #4918
2017-08-08 16:11:40 +02:00
Michael Friedrich
413521e0b0 Merge pull request #5476 from Icinga/fix/docs-itl-chapter
Docs: Fix ITL chapter TOC; add introduction with mini TOC
2017-08-08 14:46:11 +02:00
Michael Friedrich
5c1de34b0e Docs: Fix ITL chapter TOC; add introduction with mini TOC
fixes #5428
2017-08-08 14:41:27 +02:00
Michael Friedrich
e12e04e18c Fix missing code block in the docs
refs #5475
2017-08-08 12:21:09 +02:00
Michael Friedrich
8e24715b79 Merge pull request #5475 from Icinga/fix/notification-scripts-config-update
Docs: Add a note on required configuration updates for new notification scripts in v2.7.0
2017-08-08 12:19:13 +02:00
Michael Friedrich
bd7d7ef845 Docs: Add a note on required configuration updates for new notification scripts in v2.7.0 2017-08-08 12:14:52 +02:00
Jean Flach
84e211306f Merge branch 'rgevaert-patch-1' 2017-08-07 14:18:36 +02:00
Jean Flach
eeb26bd93b Merge branch 'patch-1' of https://github.com/rgevaert/icinga2 into rgevaert-patch-1 2017-08-07 14:06:47 +02:00
Jean Flach
3d0466132f Fix whitespace in documentation
fixes #5427
2017-08-07 13:44:34 +02:00
Markus Waldmueller
96777b9f13 Update negate CheckCommand definition
refs #5427

Signed-off-by: Jean Flach <jean-marcel.flach@icinga.com>
2017-08-07 13:40:05 +02:00
Jean Flach
3427aca7d2 Merge pull request #5435 from Icinga/feature/3891-service-description
Add -d option to check_service
2017-08-07 11:36:20 +02:00
Michael Friedrich
d0ff2cd3a8 Merge pull request #5466 from Icinga/fix/db-ido-host-unreachable-statehistory
DB IDO: Fix host's unreachable state in history tables
2017-08-07 11:22:12 +02:00
Michael Friedrich
3201d92fbd DB IDO: Fix host's unreachable state in history tables
fixes #5405
2017-08-07 11:10:02 +02:00
Michael Friedrich
32205c9b20 Merge pull request #5461 from Icinga/doc/release-rpm
Docs: Update Icinga repository release rpm location
2017-08-07 10:32:58 +02:00
Michael Friedrich
d18564e7f4 Update RELEASE.md to use new icinga-rpm-release location 2017-08-07 10:30:00 +02:00
Markus Frosch
804ff94044 doc: Update Icinga repository release rpm location 2017-08-04 16:38:21 +02:00
Michael Friedrich
8cf16984dc Merge pull request #5457 from Icinga/feature/changelog-script
Add Changelog generation script for GitHub API
2017-08-03 18:53:30 +02:00
Gunnar Beutner
35fc3800d5 Add Changelog generation script for GitHub API
Required details are documented inside RELEASE.md

Fixes to the original file:
- duplicate issues (pagination with links instead of page (Github doesn't like counting))
- escape markdown in issue title
- use formatting helper functions
- env support for user, token, project
- "support" category for everything which is not "bug" or "enhancement"
- ignore more labels ("feedback", "question")
- sort milestones by due date and version string
2017-08-03 18:38:08 +02:00
Gunnar Beutner
80abc3855e Release version 2.7.0 v2.7.0 2017-08-02 15:58:38 +02:00
Michael Friedrich
75aa7eeaa1 Merge pull request #5448 from Icinga/feature/update-docs
Update documentation for 2.7.0
2017-08-02 12:05:39 +02:00
Michael Friedrich
8791141de0 Update documentation for 2.7.0 2017-08-02 12:02:50 +02:00
Michael Friedrich
93a7669cfc Merge pull request #5433 from mcktr/mcktr/fix/list-feature-command-5431
Fix: update feature list help text
2017-07-27 10:28:26 +02:00
Michael Friedrich
925dc25078 Merge pull request #5440 from mcktr/mcktr/fix/doc-missing-state-filter
Add missing notification state filter to documentation
2017-07-27 10:27:05 +02:00
Michael
60a851c504 added missing notification state 2017-07-27 08:55:35 +02:00
Jean Flach
94f58f2c2e Add -d option to check_service 2017-07-26 17:02:18 +02:00
Michael I
3e54e34147 Update featurelistcommand.cpp
refs #5431
2017-07-25 13:35:20 +02:00
Jean Flach
9a418a498e Merge pull request #5421 from mcktr/mcktr/feature/add-check-disk-used-parameter
Windows Plugins: Add new parameter to check_disk to show used space
2017-07-24 10:22:39 +02:00
Jean Flach
ba35e6cace Add ITL and documentation for new parameter 2017-07-24 10:14:15 +02:00
Jean Flach
1dc93d8910 Refactor code
refs #5421
2017-07-24 09:53:25 +02:00
mcktr
17866475ff Refactored code to add feature to check used space for check_disk 2017-07-20 19:16:42 +02:00
Michael Friedrich
695f6f90d7 Merge pull request #5393 from muhazzz/patch-1
Fix typo in the documentation
2017-07-20 15:31:30 +02:00
Denis
3105f4c418 Fix typo in the documentation 2017-07-20 15:29:44 +02:00
Michael Friedrich
c1784bbb13 Merge pull request #5425 from Icinga/fix/doc-api
Fix formatting in API docs
2017-07-20 10:47:11 +02:00
Glauco Vinicius
41fe01dbc3 Fix formatting in API docs
Indent curl command to get the appropriated code highlight.
2017-07-20 10:41:17 +02:00
Jean Flach
c7d71b0e83 Merge branch 'bobapple-fix/docs'
fixes #5410
2017-07-13 13:48:54 +02:00
Blerim Sheqa
eb88217e2d Update docs for better compatibility with mkdocs
* Rename files to allow easy ordering
* Update links inside markdown according to new file names
* Move HTML links (<a>...</a>) to the end of the header lines
  * This is necessary to allow mkdocs to parse headers correctly and display them in the TOC
  * Following sed command was used: sed -i .bu 's/\(<a.*a>\) \(.*\)/\2 \1/g' $filename
2017-07-12 20:46:12 +02:00
Ewoud Kohl van Wijngaarden
e83c43435d
Ensure the cache directory exists
As suggested in https://github.com/Icinga/icinga2/issues/4414
2017-07-01 13:59:58 +02:00
Michael Friedrich
8c8cf4bfe7 Merge pull request #5378 from mcktr/fix/update-mkdocs
Fixed warnings when using mkdocs
2017-06-29 09:18:09 +02:00
Gunnar Beutner
a95ea0e756 Merge pull request #5384 from Icinga/fix/remove-dns-default-value
Remove default value for 'dns_query_type'

fixes #5383
fixes #5384
2017-06-28 14:04:44 +02:00