1285 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
10b17d8295 Docs: Add section for multiple template imports 2017-08-11 12:49:10 +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
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
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
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
Markus Frosch
804ff94044 doc: Update Icinga repository release rpm location 2017-08-04 16:38:21 +02:00
Michael Friedrich
8791141de0 Update documentation for 2.7.0 2017-08-02 12:02:50 +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
Jean Flach
ba35e6cace Add ITL and documentation for new parameter 2017-07-24 10:14:15 +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
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
Rudy Gevaert
e8568ee44c Set shell prompt for commands to be #
These commands need to be run as the root user.  The documentation needs to reflect this.
2017-06-26 10:26:39 +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
Michael Friedrich
04757d19f8 Merge pull request #5366 from mcktr/fix/doc-satellite-linux-setup-wrong-node
Fixed wrong node in documentation chapter Client/Satellite Linux Setup
2017-06-21 16:32:38 +02:00
Jean Flach
9d0ee05436 Explain threshold computation for windows plugins
fixes #3560
2017-06-21 11:37:31 +02:00
mcktr
357fbaad12 Fixed wrong node in chapter Client/Satellite Linux Setup 2017-06-19 17:10:40 +02:00
Michael Friedrich
4f19bfe6ac Update package documentation for Debian Stretch 2017-06-19 17:06:20 +02:00
mcktr
e3a7857030 Add documentation for securing mysql on debian/ubuntu. 2017-06-18 12:36:07 +02:00
Michael Friedrich
f5d3428563 Notification Scripts: Ensure that mail from address works on Debian/RHEL/SUSE (mailutils vs mailx)
fixes #5299
2017-06-16 20:54:24 +02:00
Marianne M. Spiller
1eb152d863 Update documentation for enhanced notification scripts
refs #5170
2017-06-16 17:14:25 +02:00
Michael Friedrich
dda0ef3db7 Docs: Fix built-in template description and URLs 2017-06-16 10:35:52 +02:00
Michael Friedrich
b56f8e9a20 Docs: Fix broken format for notes/tips in CLI command chapter 2017-06-13 22:10:20 +02:00
Michael Friedrich
c6b375dcbd Merge pull request #5239 from Icinga/feature/check_nscp-4721
Add NSCP API check plugin for NSClient++ HTTP API
2017-06-13 21:56:58 +02:00
Jean Flach
39c24e9ec9 Add check_nscp_api plugin for NSClient++ API checks
refs #4721
2017-06-13 21:17:16 +02:00
Gunnar Beutner
f9feb41877 Implement support for handling exceptions in user scripts 2017-06-13 14:03:41 +02:00
Petr Ruzicka
1e1beb8454 Adding accept_cname to dns command definition. 2017-06-08 16:45:26 +02:00
Michael Friedrich
9371004bd0 Docs: Fix formatting issues and broken URLs 2017-06-07 14:27:28 +02:00
Michael Friedrich
26d69cfd36 Merge pull request #5324 from paddg/patch-2
Fix phrasing in Getting Started chapter
2017-06-06 18:27:15 +02:00
Lars Engels
e9cb2ddbf4 Install the images directory containing the needed PNGs for the markdown docs.
refs #5325
2017-06-06 13:03:39 +02:00
Winfried Angele
5f737dde4e Update 3-monitoring-basics.md
nit
2017-06-06 09:16:35 +02:00
Michael Friedrich
1e153f14d7 zones.conf: Add global-templates & director-global by default
This makes it easier for cluster and client setups with or
without the Icinga Director.

Note: Clients will still not receive synced configuration if
accept_config is not enabled (which is the default, and can be changed
during setup).

fixes #5106
2017-06-02 10:54:35 +02:00
mcktr
df6243f3fc Docs: Replace nagios-plugins by monitoring-plugins
Updated the Documentation to use monitoring-plugins instead of nagios-plugins for debian/ubuntu based installations.
2017-06-01 18:47:00 +02:00
Winfried Angele
8fecdce3c0 Update 6-distributed-monitoring.md
If you omit the Common name (CN) icinga2 uses the hostname instead, which can differ from FQDN.
2017-06-01 16:13:40 +02:00
Michael Friedrich
e90473b351 Docs: Replace the command pipe w/ the REST API as Icinga Web 2 requirement in 'Getting Started' chapter
fixes #5077
2017-05-31 14:57:24 +02:00
Michael Friedrich
12d8ed90c2 Remove CentOS 5 from 'Getting started' docs
RHEL5 was released in 2007 and is EOL since March 2017.

fixes #5291
2017-05-30 13:38:19 +02:00
Michael Friedrich
ad9f8a5507 Fix sysstat installation in troubleshooting docs 2017-05-24 14:04:25 +02:00
Michael Friedrich
22752e6c4f Revert "Add documentation for the LogstashWriter feature"
This reverts commit 71d5ee7d419b937fb471477fe0d725277f285bfc.

refs #4054
2017-05-23 12:02:32 +02:00
Michael Friedrich
a64ff362e6 Docs: Add API query example for acknowledgements w/o expire time 2017-05-22 17:48:31 +02:00