Commit Graph

2366 Commits

Author SHA1 Message Date
Alvar Penning f03c48c31e
Document root user usage in installation
The installation documentation currently implies that all commands are
being prompted by the root user or an user with root-like privileges.
This is now explicitly stated and, additionally, another if-guard was
added to not include the "Add Icinga Package Repository" section for
Windows, as it does not fit there.

Closes #9959.
2024-05-08 10:51:33 +02:00
Yonas Habteab a12e49cbe4 docs: Drop `last_in_downtime` attrs 2024-04-26 11:37:56 +02:00
Alexander A. Klimov d86e2556b4 ITL: check_disk: ignore more fuse* filesystems
not to run into permission denials.
Also, ignore fuse.* for the case check_disk already supports it:
https://github.com/monitoring-plugins/monitoring-plugins/pull/1904
2024-04-03 13:02:25 +02:00
Julian Brost 9e31b8b559
Merge pull request #9953 from Josef-Friedrich/patch-1
Fix typo in 12-icinga2-api.md
2024-03-11 15:10:44 +01:00
Josef Friedrich a282df1b96 Fix typo in 12-icinga2-api.md 2024-03-11 13:10:58 +01:00
Nicolas Berens 4de722a4ae remove bracket 2024-01-17 09:46:21 +01:00
Alexander A. Klimov 77313d751c Bump Boost shipped for Windows to v1.84
Note: For doc/21-development.md use:

perl -pi -e 's/(boost[-\w]*?1[-_]?)83/${1}84/g' doc/21-development.md
2024-01-16 12:35:19 +01:00
Alexander Aleksandrovič Klimov fa07cd4207
Merge pull request #9931 from Icinga/OpenSSL3012
Bump OpenSSL shipped for Windows to v3.0.12
2023-12-19 15:16:25 +01:00
Alexander Aleksandrovič Klimov 7f1ba96615
Merge pull request #9930 from Icinga/boost183
Bump Boost shipped for Windows to v1.83
2023-12-19 15:15:42 +01:00
Alexander Aleksandrovič Klimov 953eeba061
Merge pull request #9893 from Icinga/do-not-re-notify-if-filtered-states-don-t-change-4503
Discard likely duplicate problem notifications via Notification#last_notified_state_per_user
2023-12-13 16:13:28 +01:00
Alexander A. Klimov 97cd05db7a Notification#BeginExecuteNotification(): on recovery clear last_notified_state_per_user 2023-12-13 13:21:22 +01:00
Alexander A. Klimov d268acaf20 Bump OpenSSL shipped for Windows to v3.0.12 2023-12-13 12:46:47 +01:00
Alexander A. Klimov d60859c936 Bump Boost shipped for Windows to v1.83
Note: For doc/21-development.md use:

perl -pi -e 's/(boost[-\w]*?1[-_]?)82/${1}83/g' doc/21-development.md
2023-12-13 12:30:18 +01:00
Alexander A. Klimov 2cff763295 Cluster-sync Notification#last_notified_state_per_user 2023-12-12 15:29:50 +01:00
Alexander A. Klimov 87bb33dd2e Doc: Troubleshooting: remove obsolete section "Analyze Notification Result"
This feature has been reverted and won't be re-introduced anytime soon.
2023-12-12 11:04:51 +01:00
Julian Brost cbb2caf030
Merge pull request #9864 from Icinga/al2023
Docs: change "Amazon Linux 2" to "Amazon Linux" where applicable
2023-11-21 11:09:40 +01:00
Alexander A. Klimov d662ca0ada Docs: change "Amazon Linux 2" to "Amazon Linux" where applicable
We also support Amazon Linux 2023 now.
2023-11-07 11:14:55 +01:00
Julian Brost 3e8752d121
Merge pull request #9883 from Icinga/doc-09-object-types-host-name
Document host Common Runtime Attribute
2023-10-25 17:28:56 +02:00
Alvar Penning 5310063943 Document host Common Runtime Attribute 2023-10-25 14:49:10 +02:00
Alvar Penning 039dbc02fc Fix link text for Downtime* Event Stream Types
The link text for all Downtime* Event Stream Types contains "Comment"
instead of "Downtime" even when pointing to the correct object.
2023-10-13 16:08:59 +02:00
Yonas Habteab 6dfedb8e80 Fix downtime host/service name attribute descriptions 2023-10-11 10:34:51 +02:00
Alexander Aleksandrovič Klimov 08a4aef4df
Doc: ITL: correct $ifw_api_crl$ default
In contrast to cert/key/CA, no CRL means no CRL.
(The behavior of the API is the same.)
2023-08-25 12:26:32 +02:00
Julian Brost 986991ed48
Merge pull request #9802 from mathiasaerts/patch-1
Fix 'healt' typo
2023-08-14 09:38:41 +02:00
Alexander Aleksandrovič Klimov 52a3604680
Merge pull request #9759 from liip-forks/OdyX-sslcert_allow-setting-url
ssl_cert allow HTTP request URL setting
2023-07-14 10:24:23 +02:00
Alexander Aleksandrovič Klimov a81f95d6ab
Merge pull request #9746 from LordHepipud/patch-1
Adds ProgressPreference SilentlyContinue
2023-07-13 13:56:38 +02:00
Alexander Aleksandrovič Klimov cc104f8208
Icinga 2.14 (#9760) 2023-07-12 10:19:24 +02:00
Alexander Aleksandrovič Klimov 2e4af46d46
Merge pull request #9787 from Icinga/OpenSSL30
Windows: bump OpenSSL v1.1 (soon EOL) -> v3.0
2023-07-07 10:17:17 +02:00
Alexander Aleksandrovič Klimov 000a776dfb
Built-in check command: ifw-api (#9062) 2023-07-06 14:18:21 +02:00
Julian Brost fe13b96226
Merge pull request #9809 from Icinga/reevaluate-and-update-default-tls-cipher-list-9808
Copy and paste global default TLS cipher set from ssl-config.mozilla.org
2023-07-03 19:13:10 +02:00
Alexander A. Klimov 617dda61fb Re-order global default TLS cipher list to prefer AES256 over AES128 2023-07-03 15:36:11 +02:00
Alexander A. Klimov 2e053b0e06 Copy and paste global default TLS cipher set from ssl-config.mozilla.org
which got more secure by now, but still overlaps with v2.13.x' set.
2023-06-28 14:49:08 +02:00
Mathias Aerts 006ab1fe70
Fix typo 2023-06-26 09:17:26 +02:00
Alexander A. Klimov c070e95b03 Windows: bump OpenSSL v1.1 (soon EOL) -> v3.0 2023-06-14 12:03:22 +02:00
Alexander A. Klimov 1587431945 POST /v1/objects: allow array of attrs to undo modifications of 2023-06-13 16:40:33 +02:00
Alexander Aleksandrovič Klimov a3dabde28a
Doc: Troubleshooting: recommend reducing concurrency for more speed (#9777) 2023-06-05 16:30:06 +00:00
Julian Brost e2bfd21bae
Merge pull request #9767 from Icinga/doc-ifw
Doc: recommend IfW more prominently
2023-05-31 16:36:04 +02:00
Alexander A. Klimov bbcde92dc6 Doc: recommend IfW more prominently
to make it the users' preferred choice.
2023-05-31 12:44:26 +02:00
Julian Brost 68cebc6bd5
Merge pull request #9769 from Icinga/docs/parse-performance-data
Fix documentation for parse_performance_data DSL function
2023-05-25 11:01:39 +02:00
Julian Brost 07d2527c7f
Merge pull request #9703 from Icinga/NSClient++
Windows MSI: don't bundle NSClient++
2023-05-24 14:49:54 +02:00
Julian Brost 9463c937e6
Fix documentation for parse_performance_data DSL function
The function does not support parsing multiple values at once but instead
generates labels like "foo=1 bar":

  Icinga 2 (version: v2.13.0-729-g8fe957bc2)
  Type $help to view available commands.
  <1> => parse_performance_data("foo=1 bar=2")
  {
  	counter = false
  	crit = null
  	label = "foo=1 bar"
  	max = null
  	min = null
  	type = "PerfdataValue"
  	unit = ""
  	value = 2.000000
  	warn = null
  }

While a function with the documented behavior would probably be more useful,
that change can't be made in a compatible way as this would have to change the
return type from PerfdataValue to Array.
2023-05-22 16:56:43 +02:00
Alexander Aleksandrovič Klimov 23e50a1f64
Doc: don't mix up check_mysql and check_disk 2023-05-17 15:21:53 +02:00
Alexander A. Klimov d552d0779e Bump Boost shipped for Windows to v1.82 2023-05-10 16:40:46 +02:00
Didier 'OdyX' Raboud 0b8f65d562
ssl_cert allow HTTP request URL setting
This is available in check_ssl_cert since 2021-02-18 Version 1.137.0
2023-05-08 17:00:45 +02:00
Didier 'OdyX' Raboud 610ba8d27a
ssl_cert: drop now-unsupported --altnames
Fixes https://github.com/Icinga/icinga2/issues/9661
2023-05-08 16:38:01 +02:00
Didier 'OdyX' Raboud 47d65a191c
ssl_cert: replace deprecated -n with --match
Fixes https://github.com/Icinga/icinga2/issues/9661
2023-05-08 16:37:37 +02:00
Alexander A. Klimov 5638b3b234 Docs: Monitoring Basics: make Event Commands not a subsection of Dependencies 2023-04-17 13:43:19 +02:00
Lord Hepipud e798f64fe3
Adds ProgressPreference SilentlyContinue
We should use `$Global:ProgressPreference = 'SilentlyContinue';` to disable the progress bar during download.
By doing so, information are directly written to the disk instead of written inside the memory and dumped to the disk afterwards
2023-04-17 12:56:33 +02:00
Julian Brost 50018c1d2b
Merge pull request #8218 from efuss/redundancy_group
Introduce redundancy groups for Dependency Objects
2023-04-05 18:49:58 +02:00
Alexander A. Klimov bcd16cbfb0 Rewrite Dependency redundancy groups docs 2023-04-05 14:46:35 +02:00
Alexander A. Klimov 6c810ddd96 Windows agent wizard: remove checkbox "Install/Update bundled NSClient++" 2023-04-03 14:36:30 +02:00
Alexander A. Klimov 973b701400 Docs: conceal that NSClient++ is bundled on Windows 2023-04-03 14:36:20 +02:00
Alexander A. Klimov cc872dac1f Remove CheckResultReader which has been deprecated for 5 major versions 2023-04-03 11:39:21 +02:00
Julian Brost 41065e30c8
Merge pull request #9485 from Icinga/cxx17
Require GCC 7+ for C++17
2023-03-31 14:06:55 +02:00
Julian Brost 7a7902cea7
Merge pull request #9715 from Icinga/StatusDataWriter
Remove StatusDataWriter which has been deprecated for 5 major versions
2023-03-31 12:32:43 +02:00
Alexander A. Klimov bbf2e80002 Remove StatusDataWriter which has been deprecated for 5 major versions 2023-03-01 17:16:28 +01:00
Alexander A. Klimov 260eb5c475 CMakeLists.txt: provide sane defaults for which subsystems to build
not to have to explicitly disable particular ones in multiple locations.
2023-02-23 14:54:57 +01:00
Edgar Fuß cfef9fdadc Introduce redundancy groups for Dependency Objects
Traditional behaviour was to regard all dependecies as cumulative (e.g., the parent considered unreachable if any one dependency is violated), commit ed58922389 made all dependencies regarded redundant (e.g., the parent considered unreachable only if all dependency are violated). This may lead to unrelated services (or even hosts vs. services) inadvertantly regarded to be redundant to each other.

Most importantly, applying the explicit "disable-host-service-checks" dependency described in the "Monitoring Basics" chapter will defeat all other dependencies.

This commit introduces a new "redundancy_group" attribute for dependencies.
Specifying a redundancy_group causes a dependency to be regarded as redundant only inside that redundancy group.
Dependencies lacking a redundancy_group attribute are regarded as essential for the parent.

This allows for both cumulative and redundant dependencies and even a combination (cumulation of redundancies, like SSH depeding on both LDAP and DNS to function, while operating redundant LDAP servers as well as redundant DNS resolvers).

This commit lacks changes to the tests.
2023-02-21 16:23:36 +01:00
Alexander A. Klimov 616ccc45fc Require C++17 2023-02-20 15:35:37 +01:00
Alexander A. Klimov 9e90b17eb4 Require GCC 7+ 2023-02-20 15:35:37 +01:00
Julian Brost a84a0a3cee
Merge pull request #8302 from Icinga/bugfix/windows-systemroot-aliases-6259
Macros: support $env.ENV_VAR_NAME$
2023-02-20 13:09:15 +01:00
Alexander Aleksandrovič Klimov b4381c0bd3
Merge pull request #9677 from Icinga/docs-for-fedora
Docs: Fix instructions for Fedora
2023-02-15 19:47:32 +01:00
Eric Lippmann 2e3b569f2c docs: Fix how to set up our Fedora repository
We do not provide `icinga-rpm-release` RPMs since ages.
2023-02-15 15:33:54 +01:00
Eric Lippmann ad27397f06
docs: Add missing "Install Icinga 2 on Fedora" heading 2023-02-15 10:14:01 +01:00
Alexander A. Klimov 6347d7a008 Bump Boost to v1.81 2023-02-14 14:36:16 +01:00
Alexander A. Klimov 2ec62d0dd9 Windows: bump OpenSSL to v1.1.1t 2023-02-14 11:40:44 +01:00
Alexander A. Klimov b2b49caf61 Macros: support $env.ENV_VAR_NAME$
refs #6259
2023-02-10 17:21:29 +01:00
Julian Brost 14d7ee2777
Merge pull request #9585 from Icinga/apply-doc
Doc: Troubleshooting: Optimise apply rules and group assign conditions
2023-02-03 09:46:35 +01:00
Julian Brost 0bd972ff0c
Merge pull request #9647 from Icinga/Al2Klimov-patch-3
Docs: Windows Dev Environment: TL;DR: disable unity build
2023-02-01 17:02:51 +01:00
Julian Brost 6fc9038e4d
Merge pull request #9620 from Icinga/9526
Document Notification#times being not aware of downtimes
2023-02-01 14:31:27 +01:00
Alexander Aleksandrovič Klimov 4c2afb9279
Docs: Windows Dev Environment: TL;DR: disable unity build
This enables the individual C++ files, not just unity ones, in VS project tree.
2023-02-01 13:02:45 +01:00
Julian Brost a24375bc91
Merge pull request #9264 from Icinga/Al2Klimov-patch-7
Doc: SUSE: install monitoring-plugins-all
2023-01-31 17:44:44 +01:00
Julian Brost 2ea866248b
Merge pull request #9642 from Icinga/9486a
ITL: let check_disk choose sane default units by itself
2023-01-27 22:22:24 +01:00
Markus Weber 0bdcd08e02
Add the Option to disable RetryWrites to CheckCommand of mongodb (#9539)
* Add the Option to disable RetryWrites to CheckCommand for newer check_mongodb.py

* Add documentation foor the Option to disable RetryWrites in the MongoDB-Check
2023-01-27 15:59:40 +00:00
Alexander A. Klimov 3a1b080338 ITL: let check_disk choose sane default units by itself
so it is responsible for output readability, prefdata precision
and SI vs. IEC on its own.
2023-01-27 16:21:40 +01:00
Alexander Aleksandrovič Klimov 0ebec699ee
Doc: SUSE: install monitoring-plugins-all w/ --recommends
so it does something useful.
2023-01-27 11:25:18 +01:00
Julian Brost b10c288146
Merge pull request #8005 from Icinga/feature/http-verify-host-7969
check_http: support --verify-host
2023-01-24 13:02:08 +01:00
Julian Brost 3c2a8c98b6
Merge pull request #9045 from Icinga/feature/check_linux_netdev
ITL: add check_linux_netdev
2023-01-18 14:19:25 +01:00
Julian Brost ce5e6e7d13
Merge pull request #9041 from Icinga/Al2Klimov-patch-1
check_icmp: double packet loss thresholds
2023-01-17 15:15:46 +01:00
Julian Brost 06d0e7fbb9
Merge pull request #9611 from Icinga/8992
ITL: vmware: support --open_vm_tools_ok, --no_vm_tools_ok
2023-01-17 14:44:59 +01:00
Alexander Aleksandrovič Klimov e628c73fb1 check_icmp: double packet loss thresholds
... to get not instantly critical after 1 packet lost (20%), but after 2.
2023-01-16 12:58:35 +01:00
Alexander A. Klimov c6dd6a092c ITL: add check_linux_netdev 2023-01-16 11:33:23 +01:00
Alexander A. Klimov ecca01f4c3 Document Notification#times being not aware of downtimes
i.e. that times.* count from HARD state change, not downtime end.
2023-01-02 12:23:07 +01:00
Alexander A. Klimov 726db57c6c ITL: vmware: support --no_vm_tools_ok 2022-12-13 18:08:01 +01:00
Alexander A. Klimov 324b002c33 ITL: mongodb: support --ssl-ca-cert-file 2022-12-13 17:47:30 +01:00
Julian Brost ae32b3cbbd
Merge pull request #9586 from Icinga/9363
icinga2 daemon: write icinga2.debug only if --dump-objects given
2022-11-24 16:03:42 +01:00
Alexander A. Klimov 0767c6ef87 icinga2 daemon -C: write icinga2.debug only if --dump-objects given
to save config (re)load time.
2022-11-23 12:54:33 +01:00
Feu Mourek 76edd00ec2
Change apt-get to apt 2022-11-23 11:09:36 +01:00
Alexander A. Klimov d6ad137aac Doc: Troubleshooting: Optimise apply rules and group assign conditions 2022-11-17 11:53:28 +01:00
Alexander A. Klimov 0230883a51 Recommend to try libjemalloc to speed up reload 2022-11-16 12:36:31 +01:00
Julian Brost c501229f84 Windows: update bundled OpenSSL to version 1.1.1s 2022-11-04 13:35:38 +01:00
Julian Brost 08324f8f20
Merge pull request #9549 from Icinga/boost180
Bump Boost v1.79 -> v1.80
2022-10-26 16:44:37 +02:00
Alexander A. Klimov 24b24da8e9 Bump Boost v1.79 -> v1.80 2022-10-26 11:43:32 +02:00
Alexander Aleksandrovič Klimov 247e41309a
Fix wrong operator precedence in documentation
<1> => (1 || 0) && 0
0.000000
<2> => 1 || (0 && 0)
1.000000
<3> => 1 || 0 && 0
1.000000
<4> =>
2022-10-25 12:01:01 +02:00
Fabian Werner e615b297f9
[ITL] Added some ignore options for check_ssl_cert (#9512) 2022-10-07 11:31:28 +00:00
Lorenz 67b025f69b
Add check_disk option to add inode numbers into perfdata (#9494) 2022-08-25 17:33:11 +02:00
Alexander Aleksandrovič Klimov 7d64fbf8f6
Merge pull request #9433 from Icinga/bugfix/schedule-downtime-docs-duration
Docs: remove duration from schedule-downtime example
2022-08-16 16:05:53 +02:00
Julian Brost ad58106226
Merge pull request #9133 from Icinga/feature/gcc63
Require C++14 and GCC 6.3+
2022-08-12 14:17:12 +02:00
Henrik Triem de7e571c09 Docs: Add RHEL 9 installation instructions 2022-08-11 09:59:49 +02:00
Daniel Bodky f91d3c8532
Updated RHEL8 installation documentation 2022-08-05 12:18:47 +02:00
Jaap Marcus 03f60bbd1c
Replace apt-key add with gpg --dearmor (#9462)
* Replace apt-key add with gpg --dearmor

And follow the instructions as 

https://packages.icinga.com/ubuntu / debian / rasbian

* Remove extra space
2022-08-01 16:05:27 +00:00