Commit Graph

1810 Commits

Author SHA1 Message Date
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
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
Michal Petko 9d66f3c73c Add ceph plugin to itl 2018-08-21 12:09:43 +02:00
Gunnar Beutner 15baa8e012 Update documentation 2018-08-14 15:26:59 +02:00
Gunnar Beutner e678fa1aa5 Refactor Application::*Const() 2018-08-13 15:27:05 +02:00
Gunnar Beutner 1a8692d972 Implement support for namespaces 2018-08-13 13:44:31 +02:00
Michael Friedrich 02009525a1 Update documentation and add upgrading notes 2018-08-10 12:53:06 +02:00
Michael Friedrich b350512b11 Rename to Environment constant 2018-08-09 13:19:33 +02:00
Michael Friedrich cd94b7731e Update doc anchors 2018-08-09 13:19:33 +02:00
Markus Frosch eb02d9041d Refactor environment for API connections
* Const renamed to `ApiEnvironment`
* Handling moved to ApiListener
* Now a property of ApiListener
2018-08-09 13:19:33 +02:00
Michael Friedrich 7012ce4129 Update documentation for new constants 2018-08-09 11:55:05 +02:00
Michael Friedrich a80c825921
Merge pull request #6506 from Icinga/feature/improved-paths
Improve path handling in cmake and daemon
2018-08-08 09:48:30 +02:00
Michael Friedrich e529d5e285 Docs: Add a section to the 'upgrading' chapter 2018-08-07 17:33:42 +02:00
Michael Friedrich 542775294e Docs: Improve the global constants section
Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2018-08-07 17:15:14 +02:00
Markus Frosch 9fbc40615a Improve path handling in cmake and daemon 2018-08-07 14:10:26 +02:00
Alexander A. Klimov 8c3d9ca111 Document default of User#enable_notifications 2018-08-07 13:37:57 +02:00
Gunnar Beutner 8bfd419702 Implement references 2018-08-07 07:44:48 +02:00
Michael Friedrich 80c8f12b3a
Merge pull request #6504 from roccolord/fix/itl-exlcude-squashfs
squashfs ignored
2018-08-02 10:37:43 +02:00
Jean Flach 065bc23d9a
Merge pull request #6508 from gunnarbeutner/feature/dictionary-clear
Implement the Dictionary#clear script function
2018-08-02 10:30:08 +02:00