8333 Commits

Author SHA1 Message Date
Tobias von der Krone
85681a11fb ITL: Correct arguments for ipmi-sensor CheckCommand
Replace the wrong "set_if" attribute and assign the value correctly.

fixes #5542

refs #5543
2017-09-05 08:38:38 +02:00
Michael Friedrich
c7a5671267 Enhance client connect/sync logging and include bytes/zone in logs
refs #5513

refs #5523
2017-08-30 15:13:08 +02:00
Michael Friedrich
7f787d90ec Change FIFO::Optimize() frequency for large messages
refs #5513

refs #5524
2017-08-30 15:12:23 +02:00
Michael Friedrich
a55df4637d Fix wrong sub chapter for external checks 2017-08-18 17:13:31 +02:00
Michael Friedrich
c1e5464077 Docs: Update freshness checks; add chapter for external check results
This also adds a nice example for freshness checks with unknown runtime details.
2017-08-18 17:05:57 +02:00
Michael Friedrich
6c577d65d2 InfluxdbWriter: Log a warning about soon-to-be-removed socket_timeout attribute for 2.7.x
refs #5460
refs #5469
refs #5504
2017-08-17 18:29:41 +02:00
Simon Murray
d052e94b45 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

refs #5504
2017-08-17 18:27:31 +02:00
Michael
15df0bf99f Updates the install dependencies for Debian 9 'stretch'
This updates the dependencies for an installtion on Debian 9 'stretch'. The package libmysqlclient-dev is no longer available on Debian 9, therefore we need to install the (meta) package default-libmysqlclient-dev, which points to libmariadbclient-dev-compat and is compatibl to libmysqlclient-dev.

refs #5516
2017-08-17 18:26:36 +02:00
Michael Friedrich
1fb273ccba Docs: Fix wrong parameter for ITL CheckCommand nscp_api
refs #5239
2017-08-15 11:14:31 +02:00
Michael
f7931b2f52 Notification scripts: Fix duplicate variable in mail-{host,service}-notification
refs #5502
2017-08-14 17:36:44 +02:00
Christian Gut
7b9634ef90 Notification scripts: More readable & redundancy cleanup
refs #5468
2017-08-14 17:30:48 +02:00
Michael Friedrich
ccd10bef57 Update documentation for optional arguments and add old updated command config
See https://www.icinga.com/docs/icinga2/latest/doc/03-monitoring-basics/#notification-commands-in-27

refs #5474
2017-08-14 17:22:52 +02:00
pv2b
57a092fc2a Notification scripts: Make the -4 parameter optional
Not all hosts may have the `address` attribute set, or just use
`address6` instead.

refs #5474
2017-08-14 17:22:39 +02:00
Dirk Goetz
4080c84c1b SELinux: fixes for 2.7.0
allow Icinga2 to connect to its own API
allow execution of hostname for notification plugin

refs #5479

refs #5501
2017-08-14 16:57:28 +02:00
Michael Friedrich
2203bb233f Docs: Update examples for match/regex/cidr_match and mode for arrays (Match{All,Any})
refs #5480

refs #5496
2017-08-11 15:10:01 +02:00
Francesco Colista
30d40352de Docs: Add instructions for Alpine Linux
refs #5491

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-08-11 13:32:25 +02:00
Michael Friedrich
04221c8759 Docs: Add section for multiple template imports
refs #5494
2017-08-11 12:51:10 +02:00
Michael Friedrich
6844c50748 Docs: Enhance Troubleshooting with nscp-local, check_source, wrong thresholds
refs #5487
2017-08-09 20:55:33 +02:00
Michael Friedrich
2b3a65d928 Fix config validation for DB IDO categories 'DbCatEverything'
refs #5238

refs #5483
2017-08-09 16:59:28 +02:00
Michael Friedrich
2ed4212f00 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

refs #5477
2017-08-08 16:24:59 +02:00
Michael Friedrich
20b4a49a0a Docs: Fix ITL chapter TOC; add introduction with mini TOC
fixes #5428

refs #5476
2017-08-08 14:47:02 +02:00
Michael Friedrich
3053e8d0b8 Fix missing code block in the docs
refs #5475
2017-08-08 12:30:38 +02:00
Michael Friedrich
fdaacf2d77 Docs: Add a note on required configuration updates for new notification scripts in v2.7.0
refs #5475
2017-08-08 12:30:20 +02:00
Michael Friedrich
fafa84de73 DB IDO: Fix host's unreachable state in history tables
fixes #5405

refs #5466
2017-08-08 12:29:31 +02:00
Michael Friedrich
7217aa52ee Update RELEASE.md to use new icinga-rpm-release location
refs #5461
2017-08-08 12:28:55 +02:00
Markus Frosch
3857e6b72d Docs: Update Icinga repository release rpm location
refs #5461
2017-08-08 12:28:29 +02:00
Gunnar Beutner
19c0f0a73f 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

refs #5457
2017-08-08 12:27:23 +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
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
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
Gunnar Beutner
1c1943f58a Remove default value for 'dns_query_type' 2017-06-28 14:00:11 +02:00
mcktr
904a6421c1 Updated mkdocs.yml to the new configuration format. 2017-06-23 21:03:10 +02:00
Michael Friedrich
0e423df4a0 Merge pull request #5373 from Icinga/feature/rlimit-options
Make rlimits configurable by adding three variables: RLimitFiles, RLimitProcesses and RLimitStack

refs #5367
2017-06-23 12:56:05 +02:00
Gunnar Beutner
c8b4fee843 Make rlimits configurable by adding three variables: RLimitFiles, RLimitProcesses and RLimitStack
refs #5367
2017-06-23 12:42:12 +02:00