Commit Graph

1840 Commits

Author SHA1 Message Date
Michael Friedrich e909302fd9 Fix headings in the docs
refs #6918
2019-04-03 11:04:07 +02:00
Michael Friedrich 0f2864f881
Merge pull request #6918 from Icinga/feature/technical-concepts-jsonrpc-messages
Add technical concept docs for our internal JSON-RPC API messages
2019-04-03 10:52:45 +02:00
Michael Friedrich 3c591a03b0 Add technical concept docs for our internal JSON-RPC message API 2019-04-03 10:51:15 +02:00
Michael Friedrich 7174dcd265 Upgrading docs: Mention CLI commands 2019-04-03 09:51:35 +02:00
Michael Friedrich 66461ee3af Upgrading docs: Add Boost dependencies 2019-04-01 16:51:50 +02:00
Michael Friedrich dc0288fef8
Merge pull request #7005 from Icinga/feature/boost-asio
ApiListener: use Boost ASIO and coroutines for net I/O
2019-04-01 16:49:44 +02:00
Alexander A. Klimov 915525dbcd Doc: adjust default of ApiListener#bind_host 2019-04-01 13:31:16 +02:00
Michael Friedrich e8e4fe7508
Merge pull request #7064 from widhalmt/feature/icingacli-elasticsearch-7063
Add command `icingacli-elasticsearch` to ITL
2019-04-01 13:27:09 +02:00
Michael Friedrich ae6e4b34a5
Merge pull request #7059 from Icinga/bugfix/docs-process-check-result
Document check_command may be a string
2019-04-01 13:24:30 +02:00
Michael Friedrich 2196027611 Technical Concepts: Add config compiler references 2019-04-01 13:22:15 +02:00
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
Thomas Widhalm 0cc129e9e5 Add command `icingacli-elasticsearch` to ITL
fixes #7063
2019-03-29 16:50:33 +01:00
Jean Flach c612cf9c04 Document check_command may be a string 2019-03-28 13:33:52 +01:00
Michael Friedrich 0611f3e009 Add docs for NotificationResult value type 2019-03-28 11:45:03 +01: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
BarbUk df33674072 Fix plugin name in documentation 2018-12-24 10:37:24 +04:00
BarbUk 63a7dc352c Add haproxy-status CheckCommand definition
Another haproxy CheckCommand. This plugin uses haproxy stat socket to
check for all or specific frontend/backend status.
2018-12-24 10:32:37 +04:00
BarbUk 1c3c01f17b Rename check_temp to check_lmsensors 2018-12-23 18:26:24 +04:00
BarbUk d658d231a2 Merge branch 'master' into feature/itl-check-temp 2018-12-23 18:24:12 +04:00
Michael Friedrich b46c3c11bb
Merge pull request #6862 from BarbUk/feature/itl-check-proxysql
Add proxysql CheckCommand definition
2018-12-23 12:19:07 +01:00
Michael Friedrich 28427065cc
Merge pull request #6863 from BarbUk/feature/itl-check-hddtemp
Add hddtemp CheckCommand definition
2018-12-23 12:17:35 +01:00
BarbUk dae69dc49b Add phpfpm-status CheckCommand definition 2018-12-22 13:51:27 +04:00
BarbUk 3e2449716b Add hddtemp CheckCommand definition 2018-12-22 11:19:18 +04:00
BarbUk 5f58414aea Add proxysql CheckCommand definition 2018-12-22 11:01:30 +04:00
BarbUk 375a034436 Add temp CheckCommand definition 2018-12-22 10:43:35 +04:00
Michael Friedrich f7393352f4
Merge pull request #6852 from BarbUk/feature/itl-check-haproxy
Add haproxy CheckCommand definition
2018-12-21 12:05:30 +01:00
BarbUk 5109f7f788 Add haproxy CheckCommand definition
Haproxy plugin check haproxy csv statistics page and reports response
time and backends sessions count
2018-12-20 14:54:53 +04:00
BarbUk c97c42bff4 Fix ITL CheckCommand disk
Add -N/--include-type option, available since release 1.5.
2018-12-20 13:22:59 +04:00
BarbUk 18250896ca Add fail2ban CheckCommand definition
The check_fail2ban plugin use the fail2ban-client binary
to monitor fail2ban jails.
2018-12-20 11:59:28 +04:00
Michael Friedrich f68a0d3167
Merge pull request #6806 from BarbUk/feature/itl-check-lsyncd
Add lsyncd CheckCommand definition
2018-12-18 14:23:51 +01:00
Michael Friedrich ba8d79f3c5 API Event Streams: Add 'command' for Notification events
fixes #6824
2018-12-07 09:37:03 +01:00
Michael Friedrich 75e06e9c0b
Merge pull request #6825 from ekeih/docs/explain-retry-interval-for-passive-checks-6795
Document that retry_interval is only used after an active check result
2018-12-06 11:25:40 +01:00
Max Rosin 00757919b3 Document that retry_interval is only used after an active check result
fixes #6795
2018-12-06 11:24:57 +01:00
Michael Friedrich 0ad27d5436
Merge pull request #6823 from transitiv/feature/itl-apt-list
ITL: Support --list argument to check_apt
2018-12-05 11:32:31 +01:00
Michael Friedrich c3ec1f9a21
Merge pull request #6801 from BarbUk/feature/itl-check-varnish
Add varnish CheckCommand definition
2018-12-05 10:52:28 +01:00
Adam James 3a4f075f72 ITL: Support --list argument to check_apt 2018-12-05 09:32:54 +00:00
Michael Friedrich 15e3aa1762
Merge pull request #6786 from Icinga/feature/dsl-getenv
DSL: Implement getenv()
2018-12-04 16:08:37 +01:00
Michael Friedrich 00673cd759 Docs: Formatting for dev requirements 2018-12-04 12:25:34 +01:00
Michael Friedrich 43c171056f Minor updates for core dumps
The main parts are discussed in #6723
2018-12-04 12:14:01 +01:00
Michael Friedrich 01d2a17683 Update TOC 2018-12-04 11:05:43 +01:00
Michael Friedrich 8cbe286e67 Fix formatting in dev docs 2018-12-04 10:51:04 +01:00
Michael Friedrich ac9ed41537 Docs: Update anchors 2018-12-03 11:15:04 +01:00
Michael Friedrich ec39a74453 Docs: More updates on dev environments, add mini TOC 2018-12-03 11:11:35 +01:00
Michael Friedrich 4382b87baa Docs: First draft for development docs 2018-12-03 11:11:35 +01:00
BarbUk fe42c091a4 Documentation: fix sudoers file name 2018-11-30 01:32:20 +04:00
BarbUk 4afbf2f987 Documentation: use icinga user instead of nagios 2018-11-30 00:40:05 +04:00
BarbUk 3b0bfd51bf Add lsyncd CheckCommand definition 2018-11-28 16:55:23 +04:00
BarbUk b6e97a9eff Add documentation for sudoers configuration 2018-11-28 13:39:51 +04:00
BarbUk 16b0042791 Add btrfs CheckCommand definition
Check a btrfs mountpoint health and disk space allocated
2018-11-28 00:04:10 +04:00
BarbUk 42cbd365bf Add more info about varnish_param 2018-11-27 19:35:58 +04:00
BarbUk 2e462d63a4 Add varnish CheckCommand definition
This definition use check_varnish to monitore a varnish instance.
This closes #5122
2018-11-27 19:22:36 +04:00
Michael Friedrich d17b403583
Merge pull request #6791 from Icinga/feature/docs-ido-cleanup
Docs: Add a section for DB IDO Cleanup
2018-11-22 09:32:00 +01:00
Michael Friedrich f1d26848ac Docs: Add a section for DB IDO Cleanup
refs #6784
2018-11-21 11:20:54 +01:00
Michael Friedrich f3cd3eb870 DSL: Implement getenv()
This patch also restores Utility::GetFromEnvironment()
and replaces the hardcoded `getenv()` calls.
2018-11-19 18:11:16 +01:00
fluxX04 114da89ef0 update apache status command to be identical according the itl 2018-11-15 09:54:58 +01:00
Michael Friedrich 9409e93bc7 Add technical docs for the check scheduler (general, initial check, offsets)
David asked me about initial check offsets, so I wrote something :)
2018-11-14 14:27:52 +01:00
Michael Friedrich 6998436db1
Merge pull request #6480 from ajaffie/feature/win-check-update-4720
Modify windows check_update command to allow specifying thresholds.
2018-11-13 16:40:26 +01:00
Michael Friedrich ec169de5c4
Merge pull request #6745 from markleary/master
Add support for -q argument to Manubulon snmp-storage commmand
2018-11-05 09:10:12 +01:00
Michael Friedrich bf990d9591
Merge pull request #6743 from leonstr/master
Doc fix: error in example path.
2018-11-05 09:07:15 +01:00
Mark Leary aa93caae62 Document snmp_storage_type attribute. 2018-11-02 10:03:19 -04:00
Alex d340f6b519
Doc fix: documentation link for apt
Fixes `check_apt` documentation link to point to the right man page.
2018-11-02 07:45:48 +01:00
Leon Stringer 39260eb50c Doc fix: error in example path. 2018-10-31 11:46:12 +00:00
Michael Friedrich a47044fa08
Merge pull request #6731 from Icinga/bugfix/doc-comment
Fix typo
2018-10-30 13:43:31 +01:00
Alexander A. Klimov 4f5d735f7f Doc: warn about not setting Comment#entry_time 2018-10-26 11:33:06 +02:00
Michael Insel a1540aebcc Update Windows agent documentation screenshots
Updates the Windows agent screenshots in the documentation with the new design.

refs #6729
2018-10-25 18:07:05 +02:00
Alexander A. Klimov 3db2031435 Fix typo 2018-10-25 12:05:45 +02:00
Michael Friedrich 3fdc9669c6 Update technical concepts docs on object authority and HA aware features
This includes are more detailed insight into how object authority calculation
works.
2018-10-24 15:47:10 +02:00
Michael Friedrich 83b5119bb6 Update docs for HA-aware features 2018-10-24 14:42:52 +02:00
Andrew Jaffie 7e9228860b Modify windows check_update command to allow specifying thresholds.
refs #4720
2018-10-23 11:28:43 +02:00
Michael Friedrich 78e98a3f0e Docs: Add package related changes to the upgrading docs 2018-10-22 16:18:21 +02:00
Michael Friedrich dcd33d6193 Docs: Alpine needs 'edge/main' repository too 2018-10-19 12:01:58 +02:00
Michael Friedrich f7be04c22f Enhance the addon chapter in the docs 2018-10-18 10:38:11 +02:00
Michael Friedrich 12ef5c053f Docs: Use the correct URLs in various places 2018-10-18 09:59:33 +02:00
Michael Friedrich 3cb2c1d143 icinga.com: Update everything else 2018-10-18 09:50:53 +02:00
Michael Friedrich dea5ec614e icinga.com: Update CMakeLists.txt 2018-10-18 09:35:18 +02:00
Michael Friedrich e6f404ec4a icinga.com: Update docs for /community/get-involved -> /community 2018-10-18 09:32:14 +02:00
Jack 99a4ee0ad9
Extend 09-object-types.md with argument array
Add a small snippet demonstrating how to define an argument array instead of a simple string.
2018-10-16 11:40:00 +02:00
Michael Friedrich bec6cc4621 Add a note to the docs on >2 endpoints in a zone
This is missing, I cannot remember how it went away.
Questions are coming frequently recently.
2018-10-12 10:49:03 +02:00
Jean-Louis Dupond e8ecc770d0 Extend upgrade docs 2018-10-12 10:05:20 +02:00
Michael Friedrich b44750f620 Add technical concepts for the config compiler and daemon CLI command
refs #6589
2018-10-11 13:04:14 +02:00
Stefan Bethke 73a7230f1b Make the two modes of check_http more obvious.
See https://github.com/monitoring-plugins/monitoring-plugins/issues/1553
2018-10-10 00:52:59 +02:00
Michael Friedrich b2957bb812
Merge pull request #6651 from Icinga/feature/check-swap-show-used
Add 'used' feature to check_swap
2018-10-09 08:36:22 +02:00
Michael Insel ad1ab42393 Update ITL for windows check_swap 'used' feature 2018-10-08 21:17:03 +02:00
teclogi 4f3ab9b1c8 Add 'used' parameter to memory-windows ITL command 2018-10-08 13:40:26 +02:00
Michael Friedrich 3038b150a9
Merge pull request #6616 from Icinga/feature/tls-handshake-timeout-config
Add ApiListener#tls_handshake_timeout option
2018-09-17 11:20:12 +02:00
Michael Friedrich 2efe719770 Add a note about tls_handshake_timeout to upgrading docs 2018-09-17 11:19:18 +02:00
Michael Friedrich 29701b4db5 Add ApiListener#tls_handshake_timeout option
This allows to specify the previously hardcoded
timeout of 10s.

refs #6517
2018-09-14 09:20:09 +02:00
Michael Friedrich acafe2fbe5 Drop older than 2.8 references in distributed monitoring docs
With 2.10, 2.8 will be the least supported version, older doc
versions can still be found on GH if needed.
2018-09-13 16:33:27 +02:00
Michael Friedrich 2d84588328 Distributed Monitoring Docs: Adopt three level scenario for CA proxy
fixes #6593
2018-09-13 16:19:38 +02:00
Michael Friedrich 2658c2506f Distributed Monitoring Docs: Add versions and upgrade
refs #6612
2018-09-13 15:29:11 +02:00
Michael Friedrich 850f0b2ac1
Merge pull request #6610 from Icinga/feature/docs-technical-concepts-tls-network-io
Add "TLS Network IO" into technical concepts docs
2018-09-13 13:10:35 +02:00
Michael Friedrich 354e3c9093 Update notification and upgrading docs for recovery/acknowledgement handling
refs #6047
2018-09-12 17:09:21 +02:00
Michael Friedrich 3661705a6e Add "TLS Network IO" into technical concepts docs
refs #6517
2018-09-12 14:45:11 +02:00
Michael Friedrich bc4cd50dde Enhance development docs with GDB backtrace and thread list 2018-09-12 12:32:00 +02:00
Michael Friedrich b06cc79ee2
Merge pull request #6573 from Icinga/bugfix/operator-docs-1
Fix operator precedence table
2018-09-11 09:12:15 +02:00
Jean Flach d09085d72f Fix operator precedence table
Fixes #5573
2018-09-10 09:58:27 +02:00
Michael Friedrich 7e0f2f07a1
Merge pull request #6595 from Icinga/feature/limit-anonymous-rpc-connections
Allow to configure anonymous clients limit inside the ApiListener object
2018-09-06 13:26:46 +02:00
Michael Friedrich 208eb1accc
Merge pull request #6598 from dominik-r-s/patch-1
doc/09-object-types: states filter ignored for Acknowledgements
2018-09-06 10:40:39 +02:00
Michael Friedrich 694a992357 Add Fedora to development docs for debuginfo packages 2018-09-06 10:31:26 +02:00
Michael Friedrich 9a75f47fc5 Allow to configure anonymous clients limit inside the ApiListener object
Previously this was hardcoded, and for security reasons users might want
to adjust this value. This affects CSR signing requests as well as
clients which have not yet been configured as endpoints on the current
node.

refs #6566
2018-09-05 17:45:35 +02:00
dominik-r-s 4afeda4758
09-object-types: notifications: states filter ignored for Acknowledgements! 2018-09-05 16:46:36 +02:00
Michael Friedrich 709caaa578
Merge pull request #6590 from Icinga/fix/custom-var-workaround
Update workaround for custom vars
2018-09-04 16:41:55 +02:00