Commit Graph

2307 Commits

Author SHA1 Message Date
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
Alexander A. Klimov 62379c1d5c Bump OpenSSL to 1.1.1q 2022-07-26 18:29:16 +02:00
Alexander Aleksandrovič Klimov e58b2d5b52
Merge pull request #9435 from Napsty/esxi-hardware-format
New additional parameters on esxi_hardware check
2022-07-15 09:33:24 +02:00
Napsty 78ad74fea2 New additional parameters on esxi_hardware check 2022-07-08 08:45:59 +02:00
Julian Brost 3a4ddf4b4c
Docs: remove duration from schedule-downtime example
The API call does not explicitly specify `fixed` so the default of `true` is used. For a fixed downtime, `duration` is ignored so there is no reason for specifying it and it's just confusing ("why do I have to give start/end *and* a duration which should be the difference between start and end anyways?").
2022-07-05 09:10:45 +02:00
Adam James 47b1981fac ITL: Add support for "--sni" option to check_tcp
fixes #9307
2022-06-30 13:02:56 +01:00
Alexander Aleksandrovič Klimov edf672feb6
Merge pull request #9268 from Icinga/Al2Klimov-patch-8
Doc: Windows Dev Environment: correct reboot requirement
2022-06-30 13:22:50 +02:00
Eric Lippmann 783387d83e Docs: Remove instructions for CentOS 8 2022-06-29 14:48:57 +02:00
Eric Lippmann e2e974796c Docs: Remove install Icinga Web section
The Icinga DB docs will link to installing Icinga DB Web.
2022-06-29 14:48:57 +02:00
Eric Lippmann 498079bd2c Docs: Add install Icinga DB daemon section 2022-06-29 14:48:57 +02:00
Eric Lippmann 148c4878a2 Docs: Update Icinga DB oject type section 2022-06-29 14:48:57 +02:00
Eric Lippmann 9523e58bde Docs: Update Icinga DB feature section 2022-06-29 14:48:57 +02:00
Eric Lippmann 9d64b47d79 Docs: Move syntax highlighting section to addons chapter 2022-06-29 14:48:57 +02:00
Eric Lippmann c8fe060885 Docs: Remove addons section from installation chapter
There is a separate chapter, so why draw attention to installing even
more things.
2022-06-29 14:48:57 +02:00
Eric Lippmann c478f1bf03 Docs: Remove installation overview
That's useless.
2022-06-29 14:48:57 +02:00
Eric Lippmann cb04995f01 Docs: Move IDO setup to its feature section 2022-06-29 14:48:57 +02:00
Eric Lippmann f982127bfc Docs: Deprecate IDO 2022-06-29 14:48:57 +02:00
Eric Lippmann bd618c4288 Docs: Promote and update Icinga DB related install instructions 2022-06-29 14:48:57 +02:00
Eric Lippmann f369f86355 Docs: Update API install instructions 2022-06-29 14:48:57 +02:00
Eric Lippmann ebda4ffa28 Docs: Move API install instructions up
Almost every Icinga 2 node setup requires the Icinga 2 API, as Icinga
Web connects to it, Icinga DB requires it, and although it's not clearly
mentioned anywhere in the documentation at the moment, it enables the
cluster communication functionality.
2022-06-29 14:48:57 +02:00
Julian Brost 9b24056e05
Merge pull request #9346 from Icinga/icingadb-check
Introduce Icinga DB check (like the IDO one)
2022-06-28 18:24:29 +02:00
Julian Brost d0382f71ab Icinga DB Check: rename variables from takes to duration
Sounds more natural in my opinion and I doubt that many users would get that
due to the difference between takes/took, this refers to ongoing dumps.
2022-06-28 13:33:00 +02:00
Yonas Habteab 59b92777bf Windows: Update openssl to the latest version 1_1_1p 2022-06-23 13:09:14 +02:00
Alexander A. Klimov e4a36bc217 Introduce Icinga DB check (like the IDO one) 2022-06-23 11:14:31 +02:00
Christopher Peterson 286e84bb56
Add new option `-a` to the `mem` CheckCommand (#9385)
* To the `mem` CheckCommand, add support for `check_mem.pl`'s new argument `-a`

`-a           Check AVAILABLE memory (only Linux)`

* Update documentation for the CheckCommand `mem` to include the new `mem_available` option
2022-06-22 12:52:11 +02:00
Alexander Aleksandrovič Klimov ff6cdc2c71
Merge pull request #9296 from Napsty/nrpe-v3
Add nrpe v3 parameter in ITL
2022-06-22 12:40:24 +02:00
Yonas Habteab 8a02eab411 Doc: Enhance Zones in Zones troubleshooting 2022-06-21 09:33:23 +02:00
Alexander A. Klimov 1d67a3dcf3 Require C++14 2022-06-13 18:54:39 +02:00
Alexander A. Klimov 9284e67aa2 Require GCC 6.3+ 2022-06-13 18:54:39 +02:00
Julian Brost 3220fecd4c
Merge pull request #7919 from Icinga/feature/parameter-delimiters-check-execution-6277
Introduce Command#arguments[].separator
2022-05-23 13:23:36 +02:00
Alexander A. Klimov 069c3968d9 Introduce Command#arguments[].sep
... for letting check commands produce argv like --key=value,
not just --key value.

refs #6277
2022-05-11 17:50:12 +02:00
Julian Brost 4de986de73 Windows: update boost to version 1.79.0 2022-04-27 12:36:32 +02:00
Alexander A. Klimov 52ca277dd8 Bump OpenSSL to 1.1.1n 2022-04-07 11:06:39 +02:00
Alexander A. Klimov b0cce512c2 Bump Boost to 1.78 2022-04-07 11:03:44 +02:00
Claudio Kuenzler 193aff93cf Adjust description 2022-04-04 13:02:30 +02:00
log1-c 44a34cf070
Merge pull request #9103 from log1-c/patch-2
ITL: add all businessprocess module check parameters
2022-04-04 12:56:42 +02:00
Napsty 896590e740 Adjust descriptions 2022-03-30 16:04:48 +02:00
Claudio Kuenzler 8c98de898c Add nrpe_version_3 in documentation 2022-03-28 16:09:42 +02:00
Dominik Riva 34b8fe84d5
Update 03-monitoring-basics.md
Fix misleading statement:

```
  types = [ Acknowledgement, Recovery ]
```
right after a Notification config block will not help as this will only work on a `User` object.
2022-03-21 17:52:19 +01:00
Julian Brost cbc0b21b86 Checkable: sync state_before_suppression in cluster
This ensures that in case of a failover in an HA zone, the other can take over
properly and has the required state to send the proper notifications.
2022-03-03 14:25:23 +01:00
Alexander Aleksandrovič Klimov e626cce1e7
Doc: Windows Dev Environment: correct reboot requirement
Building icinga2.sln via Visual Studio doesn't require compilation via MSBuild.exe.
2022-03-02 16:00:00 +01:00
Alexander Aleksandrovič Klimov de99e4e7b8
Doc: SUSE: install monitoring-plugins-all
not just monitoring-plugins, as in the other distros.
2022-02-28 10:54:13 +01:00
Alexander Aleksandrovič Klimov db321b9fcb
Merge pull request #9230 from Icinga/feature/installation-instructions
Update installation instructions for easier navigation on icinga.com
2022-02-21 16:38:42 +01:00
Alexander Aleksandrovič Klimov cf8923d628
Merge pull request #9016 from Napsty/nrpe-disable-logging
Add new check_nrpe parameter -D to disable logging to syslog
2022-02-21 12:19:56 +01:00
Blerim Sheqa a759c1e451 Update installation instructions for easier navigation on icinga.com 2022-02-18 15:09:09 +01:00
Alexander Aleksandrovič Klimov d0c7dc86e1
Merge pull request #9197 from maggu/feature/db-extra-opts
ITL: Add --extra-opts parameter to the mysql and pgsql CheckCommand d…
2022-02-03 11:29:03 +01:00
Alexander Aleksandrovič Klimov ff686792dd
Doc: technical concepts: allow to change severity formula across Icinga 2 releases
so nobody is surprised in that case.
2022-01-31 12:05:52 +01:00
C C Magnus Gustavsson a9b6b1dba0 ITL: Add --extra-opts parameter to the mysql and pgsql CheckCommand definitions 2022-01-31 11:40:04 +01:00
Alexander Aleksandrovič Klimov 30e1e8d3f4
Merge pull request #9152 from lrupp/patch-2
Additional GRANT options for MySQL
2022-01-19 10:39:16 +01:00
Julian Brost 8e766a6a47 GitHub Actions: Use preinstalled dependencies on Windows
The Windows image provided by GitHub already includes most of our dependencies,
so the installation of all Chocolatey packages except winflexbison3 was
redundant. Visual Studio is provided in the Enterprise version instead of
Community, so that has to be added to the search path as well.
2022-01-11 13:20:07 +01:00
Julian Brost e518dc2436
Merge pull request #9112 from Icinga/bugfix/sync-missing-history-information
Icinga DB: ensure consistent history streams in HA setup
2022-01-07 15:14:06 +01:00
Julian Brost 3e73a262cc Sync comment and downtime removal info for Icinga DB history
When a comment or downtime is removed manually, the name of the requestor and
timestamp have to be synced to other nodes in the cluster to allow all of them
to generate a consistent Icinga DB history stream.

refs #9101
2022-01-05 10:27:13 +01:00
Alexander Aleksandrovič Klimov fb60e20ec8
Typos 2022-01-04 18:17:54 +01:00
Lars Vogdt 416a1458c9
Additional GRANT options for MySQL
We are using a central DB-Cluster, therefor Icinga2 got a database on this remote cluster.
We used the icinga DB user, created during the step before, to import the DB schema. 

For this, the additional GRANT options `ALTER` and `CREATE` where needed to install the schema successfully via:
```bash
mysql -u icinga -p icinga < /usr/share/icinga2-ido-mysql/schema/mysql.sql
```

Someone may find this a security problem. But I see two benefits:
* these GRANT options are only set for the icinga.* database
* this setup allows to execute also all later UPGRADE commands as the database user `icinga` - and not as the DB Administrator.

Two additional notes:
* I also included a small warning about the used default DB password
* sadly, I have no way to change this also in the provided mariadb-centos7.png image, so this is left unchanged at the moment
2022-01-03 15:22:48 +01:00
Alexander Aleksandrovič Klimov 31c564182a
Merge pull request #8990 from Icinga/bugfix/downtime-all-services-on-child-hosts
Fix scheduling of downtimes for all services on child hosts
2021-12-07 12:48:01 +01:00
Julian Brost da08d970cc Document which other downtimes are deleted by /v1/actions/remove-downtime 2021-11-19 14:47:07 +01:00
Julian Brost 16d1ddb87f
Merge pull request #9052 from Icinga/bugfix/github-actions-windows-builds-don-t-abort-if-installing-dependencies-fails-8935
doc/win-dev.ps1: actually utilize ThrowOnNativeFailure
2021-11-19 13:47:29 +01:00
Feu Mourek e1c6c9eb19
Add documentation about Icinga 2 use cases (#9065)
Added examples about different kind of use cases that will help users get a better picture of Icinga.
2021-11-15 17:51:37 +01:00
Christian Gut b5132a59ef
check_ssl_cert: support --ignore-tls-renegotiation (#9042)
* check_tls_cert: support  --ignore-tls-renegotiation

Extend template, so we can support --ignore-tls-renegotiation

* Update docs
2021-11-02 12:05:30 +01:00