Commit Graph

2175 Commits

Author SHA1 Message Date
Michael Insel da394b2ab0
Implement scheduling_source attribute (#6326)
* Implement scheduling_source attribute

This implements the attribute `scheduling_source` for hosts and services to show which endpoint is running the scheduler for the check.

refs #4814
2021-07-20 11:10:26 +02:00
Henrik Triem e018d40f76 Change capitalization of the PowerTools command 2021-07-16 15:45:22 +02:00
Alexander Aleksandrovič Klimov bad8059969
Merge pull request #8761 from Icinga/feature/icingadb-perfdata
Icinga DB: introduce icinga:*:state#normalized_performance_data
2021-07-07 12:29:21 +02:00
Alexander A. Klimov 9d1a112edf Icinga DB: introduce icinga:*:state#normalized_performance_data 2021-07-05 19:05:32 +02:00
Alexander A. Klimov 7363710b1e Bump OpenSSL to 1.1.1k 2021-07-05 18:27:58 +02:00
Alexander A. Klimov 31fa4ef033 Bump Boost to v1.76 2021-07-05 18:25:42 +02:00
Eric Lippmann aa2b94cea3 Fix typo 2021-06-30 14:13:17 +02:00
Alexander Aleksandrovič Klimov 6048d0e800
Merge pull request #8373 from Icinga/feature/improve-crashlog
Improve crashlog
2021-06-29 17:52:25 +02:00
Julian Brost d1839471f4
Merge pull request #8846 from Icinga/bugfix/logger-default-severity
Set a default severity for loggers
2021-06-28 17:15:26 +02:00
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 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 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
Julian Brost 532d37624f docs: mention use of boost::stacktrace 2021-03-01 14:06:47 +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
MarcusCaepio e5c04c35b4 Added new options for ipmi-sensor to ITL
Regarding my PR at https://github.com/thomas-krenn/check_ipmi_sensor_v3/pull/42
I want to add the new options to the Icinga ITL.
2020-11-25 16:10:30 +01:00
Julian Brost 8c5e17a799
Merge pull request #8222 from Icinga/bugfix/typo
Fix typo
2020-11-25 14:55:42 +01:00
Yonas Habteab f4011eac26 Add -S and -i parameters to the api queries 2020-11-25 14:53:33 +01:00
Alexander A. Klimov 7cf01008e6 Improve /v1/actions/execute-command docs
refs #8034
2020-11-23 16:45:35 +01:00
Alexander Aleksandrovič Klimov baaa5ffc13
Merge pull request #7892 from Icinga/bugfix/check_dns-q-flag-7556
ITL: fix check_dns -q docs
2020-11-13 16:51:06 +01:00
Alexander A. Klimov 14111de7e9 GitHub actions: build Windows 2020-11-10 18:34:00 +01:00
Alexander Aleksandrovič Klimov 48e47234b8
Merge pull request #8456 from sysadt/patch-2
Unnecessary letter removed
2020-11-10 14:35:34 +01:00
Alexander Aleksandrovič Klimov a6120a2246
Merge pull request #8446 from Icinga/feature/support-ido-7957
Add info about ongoing support for IDO
2020-11-10 11:25:32 +01:00
Alexander Aleksandrovič Klimov a0c483081b
Merge pull request #8400 from Icinga/feature/doc-win-dev
Docs: provide shorter and batch-ier instructions on how to setup a Windows dev env
2020-11-09 17:20:07 +01:00
Thomas Widhalm 4df9d51b5a docs: Add section about usage of satellites 2020-11-09 16:06:53 +01:00
sysadt 084dde298e
Unnecessary letter 2020-11-09 14:19:35 +01:00
Alexander A. Klimov f451068fd0 Add info about ongoing support for IDO
Wording borrowed from @lippserd.

refs #7957
2020-11-06 12:38:22 +01:00
Alexander A. Klimov 20b7c395ba Relativize future removals of deprecated features
... as (of course) we won't remove them as long as
it's easier than not removing them.
2020-11-06 12:31:10 +01:00
sysadt 0fc4983275
typo fix 04-configuration.md 2020-11-05 13:02:47 +01:00
Alexander A. Klimov c2c8864af2 Docs: provide shorter and batch-ier instructions on how to setup a Windows dev env 2020-11-02 13:53:07 +01:00
Alexander Aleksandrovič Klimov 24bda3e945
Merge pull request #8319 from Icinga/bugfix/doc-debian-rename-mysql-to-mariadb
docs: Update MySQL package names for Debian
2020-10-29 16:55:35 +01:00
Alexander Aleksandrovič Klimov 0cb7d1cc21
Merge pull request #8315 from Icinga/bugfix/adjust-documentation-wrong-attr-type
Adjust documentation using wrong attributes type
2020-10-29 16:50:18 +01:00
Alexander Aleksandrovič Klimov 6f726af659
Merge pull request #8081 from Icinga/bugfix/doc-adjust-event-stream-syntax-error
Adjust Event-S-R API query syntax error
2020-10-29 16:45:55 +01:00
Alexander Aleksandrovič Klimov db6dd60ac0
Merge pull request #7907 from JochenFriedrich/feature/nrpe-args
Add parameters needed for PKI usage.
2020-10-29 15:52:42 +01:00
Alexander Aleksandrovič Klimov 9adc07e610
Merge pull request #8163 from RincewindsHat/bugfix/typo-in-doku
Fix a small typ with a missing apostrophe
2020-10-29 15:45:57 +01:00
Alexander Aleksandrovič Klimov 7e0b773c16
Merge pull request #8115 from mathiasaerts/hotfix/docs-timeperiod
Docs: In some places, Timeperiod is used instead of TimePeriod
2020-10-29 15:43:50 +01:00
Alexander Aleksandrovič Klimov db712124c9
Merge pull request #7991 from lyknode/bugfix/fix-distributed-docs
Docs: fix zones config example for second master
2020-10-29 15:39:12 +01:00
Alexander Aleksandrovič Klimov f1c56ce83d
Merge pull request #7980 from leeclemens/doc/cleanup-table-name
Docs: Fix table name referenced for cleanup hostchecks_age
2020-10-29 14:54:57 +01:00
Alexander Aleksandrovič Klimov f4a74f714e
Merge pull request #7960 from netson/fail2banjailsv2
Added parameter to monitor a specific jail only
2020-10-29 14:53:37 +01:00
Alexander Aleksandrovič Klimov 3fa1eab344
Merge pull request #7736 from froehl/7735
API-Event StateChange & CheckResult: Added acknowledgement and downtime_depth…
2020-10-29 13:41:52 +01:00
Alexander A. Klimov bb851b0558 Merge branch 'master' into feature/v1-actions-execute-command-8034 2020-10-28 18:37:08 +01:00
Julian Brost cb218aee20 docs: better instructions for installing wixtoolset on Windows
If you try to follow the existing instructions, you might be greeted by
a long and useless error message when installing this which boils down
to the fact that the DotNet3.5 Chocolatey package actually requires a
reboot but does not properly ask for it. Enable-WindowsOptionalFeature
basically does the same as the Chocolatey package would do, but nicely
asks for a reboot after which the Chocolatey package can be installed
(which basically is a noop then) properly.
2020-10-26 09:06:06 +01:00
Julian Brost f3b72351a4 docs: remove references to Visual Studio 2017
PR #8390 changed the default version of Visual Studio to 2019 because
PR #8373 introduces behavior that is incompatible with MSVC versions
shipped with older versions of Visual Studio.
2020-10-21 15:59:13 +02:00
Alexander A. Klimov 40ac05c182 Introduce Endpoint#capabilities
refs #8034
2020-10-19 13:04:20 +02:00
Julian Brost 2087e624ab docs: Update MySQL package names for Debian
Debian switched to MariaDB in stretch and removed the mysql-server and
mysql-client packages in buster. The new mariadb packages are available
starting in Debian jessie.
2020-10-08 17:12:49 +02:00