Commit Graph

2114 Commits

Author SHA1 Message Date
Alexander Aleksandrovič Klimov 26588f5dfb
Merge pull request #8683 from BausPhi/feature/command-template-thola
Add ITL CheckCommands for Thola
2021-06-24 18:11:38 +02:00
BausPhi 0b27c2af70 Add ITL CheckCommand "thola check" 2021-06-24 12:58:21 +02:00
Noah Hilverling 8af66ce44c
Merge pull request #8710 from Icinga/feature/windows-event-log
Add support for Windows Event Log and write early log messages to it
2021-06-24 09:19:50 +02:00
Noah Hilverling 1fae2f3974
Merge pull request #8769 from Icinga/bugfix/new-connection-timeout
Add timeout for full Icinga connection handshake
2021-06-24 09:18:37 +02:00
Alexander Aleksandrovič Klimov 442e962972
Merge pull request #8759 from Icinga/bugfix/doc-perfdata-uom-8758
UoM doc: clarify Am, Ah, Wm and Ws for non-electricians and where normalization happens
2021-06-23 18:01:46 +02:00
Julian Brost aa423d80ac Change WindowsEventLogLogger default severity to information
As this is intended to replace the mainlog feature which logged severity
information, this should be the default for this logger.
2021-06-23 17:05:05 +02:00
Julian Brost 56060bc8d5 ApiListener: Deprecate tls_handshake_timeout in favor of connect_timeout 2021-06-23 11:21:42 +02:00
Julian Brost 84d778580f Add timeout for all new connections
This commit adds a timeout for both establishing new outgoing and incoming
connections. This timeout applies to everything until the connection is in a
state where either JsonRpcConnection or HttpServerConnection takes over.
2021-06-23 11:21:42 +02:00
Julian Brost 54a7da437d
Merge pull request #8447 from Icinga/feature/deprecated-relative-removal
Relativize future removals of deprecated features
2021-06-22 12:05:33 +02:00
Julian Brost 6de9f58810 Add WindowsEventLogLogger 2021-06-21 15:15:54 +02:00
Baptiste Beauplat 905a1dd474
Fix match function signature to match its description 2021-06-17 14:37:51 +02:00
Julian Brost 46743f9b13
Merge pull request #8625 from XnS/feature/itl-ssl_cert-ignore-stc
Added new option ignore-sct for ssl_cert to ITL
2021-06-15 12:31:03 +02:00
Julian Brost e6993da809
Merge pull request #8814 from Napsty/esxi-hardware-sslproto
Add new -S parameter for esxi_hardware ITL
2021-06-15 12:30:27 +02:00
Julian Brost 0a362937b3
Merge pull request #8818 from pdolinic/fix/doc-api_process-check-results
Docs: Change to reflect actual hoststate
2021-06-07 16:12:15 +02:00
Alexander Aleksandrovič Klimov ee4fad54dd
Merge pull request #8391 from Icinga/feature/gha-windows
GitHub actions: build Windows
2021-06-02 14:32:04 +02:00
Patrick Dolinic dc0193b4ea Docs: Change to reflect actual hoststate 2021-06-01 15:26:28 +02:00
Napsty d5672dbb3c Add new -S parameter for esxi_hardware ITL 2021-05-28 11:06:59 +02:00
Alexander A. Klimov 3bc9969acb UoM doc: clarify Am, Ah, Wm and Ws for non-electricians and where normalization happens 2021-05-10 19:16:06 +02:00
XnS e4ca82f7cd upstream fixed their typo from stc to sct 2021-03-24 10:21:29 +01:00
Julian Brost 29727e06c0 Only handle event::SetSuppressed{Notifications,NotificationTypes} within the local zone
Note that even when passing `nullptr` as target zone to `RelayMessage()`, the
cluster message will still be sent to the parent zone. These incoming messages
will now be rejected by the parent nodes. At the moment, there's no way to only
send within the local zone.
2021-03-17 15:05:12 +01:00
Julian Brost 5ec66cea46
Merge pull request #8003 from Icinga/feature/snmp-interface-a-7963
check_snmp_int: support -a
2021-03-05 16:11:02 +01:00
XnS c0e4e5d2d5 Added new option ignore-stc for ssl_cert to ITL 2021-02-08 15:29:53 +00:00
Alexander Aleksandrovič Klimov 124f98eed4
Merge pull request #8600 from Icinga/feature/flapping-ignore-unknown
Flapping: Allow to ignore states in flapping detection
2021-01-21 13:47:44 +01:00
Alexander Aleksandrovič Klimov ef23ae5f3c
Merge pull request #8267 from efuss/passive_reach
Drop passive check results for unreachable hosts/services
2021-01-20 17:07:52 +01:00
Noah Hilverling e060995fd8 Flapping: Allow to ignore states in flapping calculation 2021-01-20 11:09:03 +01:00
Edgar Fuß 3c050fcc46 Drop passive check results for unreachable hosts/services
Disregard passive check results while no active checks are being scheduled due to violated dependencies.

This copes with the fact that programs feeding passive check results into Icinga may have no notion of reachability and so drive a checkable into HARD state although dependencies have caused active check scheduling being suspended. This may prevent superflous problem notifications being emitted during recovery.

As disable_checks defaults to false, it was regarded OK (by @Al2Klimov) to make this behaviour (which resembles the active check case) unconditional and not conditionalize it on an additional attribute.

In the description of disable_checks, note that a value of true both disables scheduling of active checks and drops passive check results.
2021-01-19 20:08:38 +01:00
Alexander Aleksandrovič Klimov 126f586d88
Merge pull request #8589 from iustin/feature/check-dns-all-argument
Improve check_dns command when used with monitoring-plugins 2.3
2021-01-19 12:44:24 +01:00
Alexander Aleksandrovič Klimov 54541eccfd
Merge pull request #8596 from efuss/VERSION
Avoid name clashes on case-insensitive file systems
2021-01-19 12:04:23 +01:00
Iustin Pop 8509e55b78 Improve check_dns command when used with monitoring-plugins 2.3
Version 2.3 of monitoring plugins did two things:

- change how multiple addresses are expected; no longer a single
  argument, with comma separated values, but repeated "-a" argument;
  sadly this is incompatible change, and configs need to be changed
  manually; this is commit
  monitoring-plugins/monitoring-plugins@a03068743f;
- add a "-L" argument that requires all passed addresses to be
  matched, which allows for stronger validation (all vs. at least
  one); this is commit
  monitoring-plugins/monitoring-plugins@fd9a7d2e00;

Both of these were committed a long while ago (2018), but were only
released very recently, in the 2.3 release (December 2020).

I've tried to make the descriptions as good as I could, but not sure
they're very readable, feedback welcome.

Signed-off-by: Iustin Pop <iustin@k1024.org>
2021-01-18 18:10:33 +01:00
Alexander Aleksandrovič Klimov a55c7d4b86
Merge pull request #8568 from yayayayaka/feature/itl-check-systemd
ITL: Add systemd CheckCommand
2021-01-15 17:55:28 +01:00
Edgar Fuß 718ebe3cbd Avoid name clashes on case-insensitive file systems
On case-insensitive file systems (i.e. macOS), the VERSION file collides with the Boost-provided version file on #include <version>.

Work around by re-naming VERSION to ICINGA2_VERSION.
2021-01-15 17:46:16 +01:00
Lara bcaa7d6292 ITL: Add check_systemd
The [check_systemd.py](https://github.com/Josef-Friedrich/check_systemd)
plugin will report a degraded system to your monitoring solution. It
requires only the
[nagiosplugin](https://nagiosplugin.readthedocs.io/en/stable) library.
2021-01-15 13:27:25 +01:00
Alexander A. Klimov 28bd23824d Doc: clarify TimePeriod/ScheduledDowntime time zone handling
refs #7069
2021-01-14 16:49:08 +01:00
Alexander Aleksandrovič Klimov a6af5406f7
Merge pull request #8083 from Icinga/feature/Implement-new-API-events-7974
Implement new API event streams response
2021-01-12 12:26:05 +01:00
Yonas Habteab 756abbb2ff ApiEvents: Implement new API event streams response 2021-01-11 14:59:48 +01:00
Thomas Widhalm adb1e0ca84 Update URLs of check_logstash plugin 2020-12-28 17:16:07 +01:00
Julian Brost 976e6af49b
Merge pull request #8536 from log1-c/patch-1
Remove rhel-8-server-optional-rpms, as it is not/no longer available for RHEL 8
2020-12-23 14:25:39 +01:00
Maik Stuebner 511727b3f6 Add parameter -f to snmp-process
with var snmp_process_use_fullpath is set to true
2020-12-16 12:04:03 +01:00
Alexander Aleksandrovič Klimov 6b04ef6e5d
Merge pull request #7871 from Icinga/feature/more-uoms-for-perfdata-7225
PerfdataValue: add UoMs
2020-12-14 18:42:49 +01:00
Andreas Maus d891c3f932 Fix typos in API documentation
Correct example for "acknowledge-problem" in the API documentation
(Issue#8546)
2020-12-11 11:25:02 +01:00
Alexander Aleksandrovič Klimov 16616fd989
Merge pull request #8538 from lyknode/bugfix/typo-doc-itl-haproxy
docs: fix typo in haproxy check description
2020-12-10 18:25:41 +01:00
Julian Brost 846da031e5
Merge pull request #8301 from Icinga/bugfix/doc-syntax-highlighting-8146
Docs: enable syntax highlighting
2020-12-09 12:57:20 +01:00
Alexander A. Klimov 51b3d88d22 Docs: enable syntax highlighting
refs #8146
2020-12-09 12:32:09 +01:00
Alexander Aleksandrovič Klimov c788709593
Merge pull request #8535 from Icinga/bugfix/api-default-ipv6-8183
Configuration.ApiBindHost: default to ::
2020-12-09 11:32:30 +01:00
Julian Brost 7c76e7e5f4
Merge pull request #8534 from Icinga/bugfix/icinga2-node-setup-actual-parameter-8531
List the actual CLI parameters in the node setup docs
2020-12-08 17:48:48 +01:00
Baptiste Beauplat 2bdd4a8652
docs: fix typo in haproxy check description 2020-12-08 15:05:55 +01:00
log1-c 9567388f5d
Update 02-installation.md
Removed rhel-8-server-optional-rpms, as it is not/no longer available for RHEL 8
Source: https://access.redhat.com/discussions/4171061#comment-1531531
> BaseOS and AppStream contain all software packages, which were available in extras and optional repositories before.
2020-12-07 08:19:56 +01:00
Alexander A. Klimov b3dd9502ff List the actual CLI parameters in the node setup docs
refs #8531
2020-12-04 17:05:04 +01:00
Alexander A. Klimov b8bb8cb946 Configuration.ApiBindHost: default to ::
refs #8183
2020-12-04 16:52:58 +01:00
Julian Brost d84a903a02
Merge pull request #8294 from Icinga/bugfix/doc-sort-global-functions
Sort doc/18-library-reference.md
2020-12-04 15:19:29 +01:00