Commit Graph

1727 Commits

Author SHA1 Message Date
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
Jean Flach e1a963f0ac
Update workaround for custom vars
This updates #6572 which did not work
2018-09-04 13:33:48 +02:00
Alan Jenkins a21166dcf8 Fix logging under systemd
icinga2.service used `-e ${ICINGA2_ERROR_LOG}`, but this is documented
as having no effect without `-d`.  Furthermore, icinga2 under systemd
unconditionally logged everything to the system log (but without setting
the log level etc), which contradicted the documentation.  (Issue #6339)

Stop icinga2 on systemd from logging to stdout - and hence the system log -
once it has finished starting up.  Just like when you start icinga2 from a
terminal using `-d`.  And just like -d, we stop logging fatal errors to
stderr, and instead write to the log file passed with `-e`.

As per docs, mainlog (icinga2.log) is already enabled by default.  And
pre-startup messages including config errors will still appear in the
system log.

This uses a new option --close-stdio, which has the same effect on logging as
--daemonize, but does not fork or call setsid().

For this purpose, I moved setsid() up and into Daemonize().

Consequence of that last point: if anyone is weird enough to specify a TTY
device file as the fatal error log (-e option), that will become icinga's
controlling terminal, which you generally don't want as a daemon.  This
makes it consistent with the existing behaviour for icinga mainlog.  For
this reason you're supposed to use O_NOCTTY in Linux daemons.  But I wasn't
sure where icinga would want to put the ugly `#ifdef _WIN32 ... #else ...`.
2018-08-25 10:21:06 +01:00
Michael Friedrich e4e28421e8
Merge pull request #6532 from Icinga/feature/allow-down-times-to-apply-on-child-hosts-3935
Add child_options to ScheduledDowntime
2018-08-24 15:14:58 +02:00
Michael Friedrich 2372abb49a Add upgrading docs for API schedule-downtime 'child_options' 2018-08-24 14:56:04 +02:00
Jean Flach dec50bcf93
Merge pull request #6502 from jenslink/patch-2
Update 17-language-reference.md
2018-08-24 14:37:00 +02:00
Jean Flach 5792086f10
Merge pull request #6501 from jenslink/patch-1
Update 03-monitoring-basics.md
2018-08-24 14:36:45 +02:00
Noah Hilverling 01fea22c77 Add child_options to ScheduledDowntime
refs #3935
2018-08-24 14:29:39 +02:00
Michael Friedrich 237fd520db
Merge pull request #6509 from gunnarbeutner/feature/real-constants
Implement support for namespaces
2018-08-24 12:10:10 +02:00
Michael Friedrich 91b0b25b36 Update upgrading docs for v2.10 and namespaces 2018-08-24 11:54:20 +02:00
Jean Flach 130a74d91c Add note about workaround for broken custom vars 2018-08-24 11:03:29 +02:00
Michael Friedrich 8a172d39fe
Merge pull request #6561 from miso231/feature_itl_ceph
[Feature] Ceph health CheckCommand
2018-08-22 12:51:50 +02:00
Michal Petko 4b5b5bdf5d Add cloudera plugin to itl 2018-08-21 21:03:55 +02:00
Michal Petko a4ad3c364f Fix table format for ceph check doc 2018-08-21 15:51:20 +02:00