2105 Commits

Author SHA1 Message Date
Julian Brost
963ad9dd1c Set a default severity for loggers
So far, the documentation has claimed that loggers have a default severity
(information for FileLogger and warning for SyslogLogger). However, this was
not the case and not setting the severity resulted in a configuration error.

This commit changes the default value to be information for all loggers.
2021-06-23 16:57:44 +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
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
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
Alexander Aleksandrovič Klimov
6f33c2f90c
Merge pull request #8314 from Icinga/feature/add-support-influxdb-basic-auth-7644
Add support Influxdb basic auth
2020-12-03 11:00:04 +01:00
Julian Brost
2c9233eff3
Merge pull request #8221 from Icinga/feature/doc-node-wizard-verify-command
Document command for verifying the parent node's cert
2020-12-03 09:41:17 +01:00
Yonas Habteab
2ade57bcbb Add support influxdb basic auth
fixes #7644
2020-12-02 16:48:03 +01:00
Julian Brost
f8f00139cf
Merge pull request #8458 from widhalmt/doc/satellites
docs: Add section about usage of satellites
2020-12-02 12:26:16 +01:00
Julian Brost
9cf90eee2b
Merge pull request #8498 from MarcusCaepio/master
Added new options for ipmi-sensor to ITL
2020-12-02 12:24:36 +01:00
Alexander Aleksandrovič Klimov
bee4ac7f7c
Merge pull request #8040 from Icinga/feature/v1-actions-execute-command-8034
Add API endpoint: /v1/actions/execute-command
2020-12-02 10:53:24 +01:00
Julian Brost
5224648ee0
Merge pull request #8451 from Icinga/bugfix/http
s/http/https/g
2020-12-02 10:40:58 +01:00
Alexander A. Klimov
af0f5544f7 s/http/https/g 2020-12-01 18:41:58 +01:00
Julian Brost
48ec484cc4
Merge pull request #8074 from Icinga/bugfix/doc-use-S-parameter-8065
Add -S and -i parameters to the api queries
2020-11-26 14:56:58 +01:00