Commit Graph

1727 Commits

Author SHA1 Message Date
Alexander A. Klimov c262c701d9 Require Boost v1.66.0+ 2019-04-01 11:40:14 +02:00
Michael Friedrich 066e7c2740 Docs: Add failover changes to upgrading chapter 2019-04-01 09:31:55 +02:00
Michael Friedrich 149f640fd8 Improve DB IDO HA failover behaviour
- Decrease Object Authority updates to 10s (was 30s)
- Decrease failover timeout to 30s (was 60s)
- Decrease cold startup (after (re)start) with no OA updates to 30s (was 60s)
- Immediately connect on Resume()
- Fix query priority which got broken with #6970
- Add more logging when a failover is in progress

```
[2019-03-29 16:13:53 +0100] information/IdoMysqlConnection: Last update by endpoint 'master1' was 8.33246s ago (< failover timeout of 30s). Retrying.

[2019-03-29 16:14:23 +0100] information/IdoMysqlConnection: Last update by endpoint 'master1' was 38.3288s ago. Taking over 'ido-mysql' in HA zone 'master'.
```

- Add more logging for reconnect and disconnect handling
- Add 'last_failover' attribute to IDO*Connection objects

refs #6970
2019-04-01 08:50:00 +02:00
Michael Friedrich 34e03644fb Fix code block in distributed monitoring docs
refs #6998

(cherry picked from commit 12b0b9a936)
2019-03-28 10:02:59 +01:00
Michael Friedrich c2bf4cca9f Disable feature HA by default (InfluxDB, Graphite, Gelf, Elasticsearch, OpenTSDB, Perfdata) 2019-03-27 15:29:47 +01:00
Michael Friedrich 4296622f52 REST API Docs: Add Golang client code example 2019-03-26 09:46:36 +01:00
Michael Friedrich b9b171b084
Merge pull request #6998 from Icinga/bugfix/doc-code-formatting
Unify documentation code formatting
2019-03-26 09:40:17 +01:00
Michael Insel 081d88436f Unify documentation code formatting
This unifies the documentation code formatting to use only backticks.
2019-03-26 09:11:03 +01:00
Michael Friedrich 3bec99bc47
Merge pull request #7042 from dgoetz/bugfix/selinux_sudo-7039
SELinux: add a boolean to allow execution of plugins via sudo
2019-03-25 11:38:04 +01:00
Michael Friedrich 870de6a35d Document that `ca list` is not an inventory, add cleanup cycle 2019-03-25 10:59:55 +01:00
Dirk Goetz 1c30a571d4 SELinux: add a boolean to allow execution of plugins via sudo
Fixes #7039
2019-03-22 11:26:54 +01:00
Luiz Amaral ae2de7b423
Fix incorrect title in API docs
The API docs had the title "List Configuration Packages and their Stages" written twice.
2019-03-20 11:34:59 +01:00
Michael Friedrich 27a41804fc Elasticsearch: Change Content-Type header to 'application/x-ndjson' for bulk streams
fixes #6609
2019-03-20 10:13:38 +01:00
Michael Friedrich 1c546a7b51 Docs: Update supported package repos in Getting Started chapter
- Add Raspbian
- Link to support matrix
- Use generic source list generators for Debian/Ubuntu
- Reorder dependent repo chapters (EPEL, etc.)
- Drop el6 instructions for IDO
2019-03-19 12:08:19 +01:00
Michael Friedrich fb3a2966d7
Merge pull request #7028 from Icinga/bugfix/doc-heading-level
Fix heading level in development chapter
2019-03-19 09:26:30 +01:00
Michael Friedrich 6ace8001d8
Merge pull request #7019 from Icinga/feature/new-json-library
Replace YAJL with nlohmann::json
2019-03-18 17:26:57 +01:00
Michael Friedrich 04d7fd027e Upgrading docs: Mention YAJL replaced by Nlohmann::JSON 2019-03-18 17:25:15 +01:00
Michael Insel da3775b6db Fix heading level in development chapter
This fixes the wrong heading level for the Debian development
environment.
2019-03-18 17:20:28 +01:00
Alexander A. Klimov 9daca0b216 Get rid of YAJL 2019-03-18 15:07:57 +01:00
Michael Friedrich 66246bdb86
Merge pull request #6978 from Icinga/bugfix/doc-dep-boost
Doc: SLES 11 requires a newer boost version, too
2019-03-18 11:11:45 +01:00
Michael Friedrich 002f8e36f5
Merge pull request #7001 from Icinga/bugfix/doc-assignment-5430
Assignment operators doc: tell what the { } are for
2019-03-12 14:12:44 +01:00
Michael Friedrich 6d0431b0b2
Merge pull request #6979 from Icinga/bugfix/systemd-upper-case
Doc: write systemd lower-case
2019-03-11 11:44:21 +01:00
Alexander A. Klimov 5e08e033ad Assignment operators doc: tell what the { } are for
refs #5430
2019-03-08 16:39:23 +01:00
Lee Garrett 0a582905c5 Typo and link fix 2019-03-05 17:40:14 +01:00
Michael Friedrich e2df11520e
Merge pull request #6970 from Icinga/bugfix/perfdata-gaps
Improve reload handling for features (metric & queue flush, activation priority)
2019-02-26 15:38:15 +01:00
Alexander A. Klimov e7f2370ada Doc: write systemd lower-case
See spelling chapter in https://freedesktop.org/wiki/Software/systemd/
2019-02-26 14:46:22 +01:00
Alexander A. Klimov 74cb9f3a32 Doc: SLES 11 requires a newer boost version, too 2019-02-26 14:29:03 +01:00
Michael Friedrich 87ae58f13d
Merge pull request #6974 from Icinga/feature/copyright-generic
Update to generic copyright header
2019-02-26 09:07:35 +01:00
Bas Couwenberg 8d3c8fd107
Fix nested hostgroup example
In Icinga 1.x the list of members was set on the group object, in Icinga 2 the list of groups is set on the member objects.
2019-02-26 08:49:36 +01:00
Michael Friedrich 37b715baf1 Replace a few more copyright strings 2019-02-25 16:30:40 +01:00
Michael Friedrich 458f997a18 Replace Copyright header with a short version, part II 2019-02-25 15:09:36 +01:00
Michael Friedrich 710e4fa55e Fix formatting in development docs 2019-02-25 13:47:13 +01:00
Michael Friedrich ab7a799369 Implement ReloadTimeout constant and wait for enqueued checks on Stop() 2019-02-25 09:03:47 +01:00
akrus b8043c06c8 Add missing args for apache-status and fix a few typos 2019-02-22 10:57:41 +02:00
Michael Insel 0042b54298 Escape pipe symbol in api documentation
This escapes the pipe symbol in the api documentation.

refs #6955
2019-02-18 16:22:34 +01:00
Alex 71bc184de0
fixes check_rbl parameter typo 2019-02-13 07:44:20 +01:00
Michael Friedrich 53981ec86f
Merge pull request #6934 from Icinga/bugfix/boost-version-6933
Raise required Boost version to 1.53
2019-02-11 16:53:27 +01:00
Michael Friedrich 6558287da0 Troubleshooting: Add notes on ephemeral port range blocking on Windows agents 2019-02-11 14:32:02 +01:00
Alexander A. Klimov c693a07399 Raise required Boost version to 1.53
refs #6933
2019-02-08 17:33:46 +01:00
Michael Insel 52d81d0af5 Doc: Add .NET 3.5 to the windows build stack
The Windows Agent Wizard is currently build on .NET Framework 2.0, which
is not installed by default on Windows 10. This adds a note to the
development documentation to install the .NET Framework 3.5 (which
includes .NET Framework 2.0) component on Windows 10.
2019-02-01 16:46:28 +01:00
Michal Petko 6ed5d4807f Use full command name as prefix for check arguments 2019-01-31 15:58:46 +01:00
Michal Petko ab7e3a8514 Add documentation to cloudera checks 2019-01-31 08:11:31 +01:00
Peter Eckel beb39a94e0 Updated documentation for nscp-disk-local 2019-01-28 18:30:31 +01:00
Michael Friedrich ed85d2528c
Merge pull request #6803 from BarbUk/feature/itl-check-btrfs
Add btrfs CheckCommand definition
2019-01-24 11:03:48 +01:00
Michael Friedrich b8cdaf2cd2
Merge pull request #6865 from BarbUk/feature/itl-check-haproxy-status
Add haproxy-status CheckCommand definition
2019-01-24 11:02:25 +01:00
Michael Friedrich d2775427da
Merge pull request #6861 from BarbUk/feature/itl-check-temp
Add lmsensors CheckCommand definition
2019-01-24 11:01:49 +01:00
Michael Friedrich c0def089cc
Merge pull request #6848 from BarbUk/feature/itl-check-fail2ban
Add fail2ban CheckCommand definition
2019-01-24 11:00:51 +01:00
Michael Friedrich 1c772aac54
Merge pull request #6890 from T-Systems-MMS/feature/snmp-storage-exclude
Added snmp_exclude option to manubulon snmp-storage check
2019-01-11 17:03:58 +01:00
Thomas Widhalm 3633a7cd79 Add new "-us" option to `ipmi-sensor` CheckCommand due to change in monitoring plugin.
Fixes #6892
2019-01-11 14:09:30 +01:00
Martin Neubert 77d1ea63c5
Added snmp_exclude option to manubulon snmp-storage check 2019-01-11 09:54:24 +01:00