Commit Graph

1282 Commits

Author SHA1 Message Date
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 Friedrich 1fb273ccba Docs: Fix wrong parameter for ITL CheckCommand nscp_api
refs #5239
2017-08-15 11:14:31 +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
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 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
Markus Frosch 3857e6b72d Docs: Update Icinga repository release rpm location
refs #5461
2017-08-08 12:28:29 +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 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
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 71d5ee7d41.

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
Michael Friedrich 8d21a51f7d Add troubleshooting hints for cgroup fork errors
refs #4918
2017-05-19 15:24:56 +02:00
Gunnar Beutner 958d3982c5 Add 'mode' argument for match, regex and cidr_match 2017-05-16 13:22:10 +02:00
Gunnar Beutner dc9f129060 Implement the Array#any and Array#all protoype functions 2017-05-15 15:59:44 +02:00