13764 Commits

Author SHA1 Message Date
Alexander A. Klimov
c21e99a15c IcingaDB#SerializeState(): limit execution_time and latency to 2^32-1
not to write higher values into Redis than the Icinga DB schema can hold.
This fixes yet another potential Go daemon crash.
2025-01-13 14:30:32 +01:00
Yonas Habteab
14b854d891
Merge pull request #10296 from Icinga/comment-loading-nullptr-deference
Address comment loading where host reference is not found gracefully
2025-01-13 13:17:40 +01:00
Yonas Habteab
7defb0c942
Merge pull request #10295 from Icinga/do-not-write-new-messages-on-shutdown
JsonRpcConnection: don't write new messages on shutdown
2025-01-13 13:11:17 +01:00
Yonas Habteab
9b3e97e067
Merge pull request #10294 from Icinga/log-slow-http-rpc-processing-214
Log slow HTTP/RPC processing stats
2025-01-13 12:44:22 +01:00
Alexander A. Klimov
9887ad79a0 AUTHORS: add Yannick Martin <yannick.martin@ovhcloud.com> 2025-01-13 11:19:42 +01:00
Yannick Martin
ec2645d33c icinga2: address comment loading where host reference is not found
address #9752: check if host reference is valid
2025-01-13 11:19:42 +01:00
Alexander Aleksandrovič Klimov
ebf905a220 JsonRpcConnection: don't write new messages on shutdown
In fact, this is already done for the outer loop (for each bulk), just not yet for the inner one (for each message of a bulk). So once the remote signals EOF, don't try to process the remaining queue until write error (which can't be associated with a particular message anyway, due to buffering), but just let the peer go. Flush already half-written messages, though, if possible.
2025-01-13 11:17:23 +01:00
Yonas Habteab
a88d6988b4 JsonRpcConnection: Log message processing time stats
Co-Authored-By: Julian Brost <julian.brost@icinga.com>
2025-01-13 10:39:23 +01:00
Yonas Habteab
7225d78047 HttpServerConnection: Log noticable CPU semaphore wait time 2025-01-13 10:39:23 +01:00
Julian Brost
c3b5dbfbc7
Merge pull request #10289 from Icinga/fix-broken-links-2.14
Fix and cleanup broken and obsolete links
2025-01-13 09:27:06 +01:00
Julian Brost
bea0d34f35
Merge pull request #10285 from Icinga/gha2144
Update GitHub Actions
2025-01-13 09:26:17 +01:00
Blerim Sheqa
54fa56c010 Fix and cleanup broken and obsolete links 2025-01-10 14:35:57 +01:00
Alexander A. Klimov
2e8258dfe7 GHA: also test SLES, not just openSUSE
They may be similar, but SLES isn't that hard to deploy.
2025-01-08 12:15:19 +01:00
Alexander A. Klimov
bba2e1a84e GHA: drop EOL SUSE 15.4 2025-01-08 12:15:18 +01:00
Alexander A. Klimov
07aec81054 GHA: drop EOL SLES 15.3 2025-01-08 12:15:18 +01:00
Alexander A. Klimov
5b90b85c81 GHA: drop EOL SLES 12.5 2025-01-08 12:15:17 +01:00
Alexander A. Klimov
4e52179136 GHA: Amazon Linux: fix broken link to Boost tarball 2025-01-08 12:15:14 +01:00
Yonas Habteab
7346b70201
Merge pull request #10081 from Icinga/doc2143
Update documentation
2025-01-08 09:56:18 +01:00
Alexander A. Klimov
e2361d014f Doc: Distributed Monitoring: add section "External CA/PKI"
The following already works:

* Custom key sizes, e.g. 2048 bits
* Custom key types, e.g. ECC
* Multiple trusted root CAs in `/var/lib/icinga2/certs/ca.crt`
* Different root CAs per cluster subtree, as long as each node trusts the
  issuers of the certificates of all nodes it's directly connected to
* Any number of intermediate CAs
2024-12-02 10:15:07 +01:00
Christian Lauf
c966f18f96 Enhance documentation regarding internal icinga config sync check (#10101)
* Update 10-icinga-template-library.md

Explicitly name the config-sync check feature of the icinga check, as before this was a little bit too undocumented making it unknown to me.
Also mention where the check has to executed in order to bring the desired results.

* Update 15-troubleshooting.md

Add 4h typical error point for configuration stored outside of /etc/icinga2/zones.d. For when a non-distributed setup was migrated to a distributed setup.
Also link to the internal icinga CheckCommand to promote its existance.

* Update 15-troubleshooting.md

Remove "-" from link

* Revert "Update 15-troubleshooting.md"

This reverts commit bb25ba3ff5d2797b95cc6c6d5d4fc64e342164f1.

* Update AUTHORS

Add myself to AUTHORS

* Update doc/15-troubleshooting.md

Co-authored-by: alvar <8402811+oxzi@users.noreply.github.com>

* Update doc/10-icinga-template-library.md

Co-authored-by: alvar <8402811+oxzi@users.noreply.github.com>

* Update doc/15-troubleshooting.md

Co-authored-by: alvar <8402811+oxzi@users.noreply.github.com>

---------

Co-authored-by: alvar <8402811+oxzi@users.noreply.github.com>
2024-12-02 10:13:54 +01:00
Alexander Aleksandrovič Klimov
840415590e openSUSE install docs: remove false info
No packages to be installed according to these instructions require the given repo.
2024-12-02 10:13:54 +01:00
Alexander A. Klimov
60a7152ef9 Document how to enable/disable Debug Output on the fly
This is a good alternative to `icinga2 feature enable debuglog`:

* Object creation/deletion via API happens immediately and requires no restart
* Hence, the debug log is enabled exactly as long as desired

Co-authored-by: alvar <8402811+oxzi@users.noreply.github.com>
2024-12-02 10:13:54 +01:00
Alexander A. Klimov
3b40ba1fe4 doc/: fix "a HA" -> "an HA" 2024-12-02 10:13:54 +01:00
Yonas Habteab
a3fcd5bbef docs: Add missing space 2024-12-02 10:13:54 +01:00
Yonas Habteab
ac220ba651 docs: Add $ to the escape sequences section
feat: Add the `$` character to the escape sequences table.
2024-12-02 10:13:54 +01:00
Alexander A. Klimov
b43e5e1620 doc/: don't mention CentOS
It's EOL.
2024-12-02 10:13:54 +01:00
Alexander Aleksandrovič Klimov
c63d679693 Linux Dev Environment: fix /usr/local/icinga2/etc ownership
We instruct the users to build as root and chown just /usr/local/icinga2/var, but at least `icinga2 api setup` also needs to modify /usr/local/icinga2/etc.
2024-12-02 10:13:54 +01:00
Josef Friedrich
90e1addd96 Fix typo in the api documentation 2024-12-02 10:13:54 +01:00
Josef Friedrich
caa22c6703 Remove trailing whitespaces in the markdown files of the documentation 2024-12-02 10:13:54 +01:00
Alexander A. Klimov
cb75435891 .deb: let user install icinga-archive-keyring package 2024-12-02 10:13:54 +01:00
Alexander A. Klimov
b498c94706 doc/02-installation.md: remove Raspbian which is not supported anymore 2024-12-02 10:13:54 +01:00
Alexander Aleksandrovič Klimov
8860f69623 doc/02-installation.md: remove outdated info
The Backports Repository is required for Debian 9, but we don't build even v10 anymore.
2024-12-02 10:13:54 +01:00
Alexander Aleksandrovič Klimov
39fbe560de doc/21-development.md: fix bad link address 2024-12-02 10:13:54 +01:00
Alexander Aleksandrovič Klimov
52f4dbecc1 doc/03-monitoring-basics.md: fix invalid link address 2024-12-02 10:13:54 +01:00
Bernd Arnold
1461fc9ea1 Docs: Add missing angle bracket 2024-12-02 10:13:54 +01:00
Yonas Habteab
e3626347bb Add missing Object{created,deleted,modified} docs 2024-12-02 10:13:54 +01:00
Alexander A. Klimov
ff4c6a6841 Don't rpm --import https://packages.icinga.com/icinga.key
just like on packages.icinga.com and for the same security reasons we don't
use apt-key add anymore for: https://blog.cloudflare.com/dont-use-apt-key

Our repos already reference https://packages.icinga.com/icinga.key
and both RPM distro families properly handle that.
2024-12-02 10:13:54 +01:00
Yonas Habteab
1d46a1e824 docs: Drop last_in_downtime attrs 2024-12-02 10:13:54 +01:00
Alvar Penning
36d892e840 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-12-02 10:13:54 +01:00
Pavel Motyrev
9101c11661 Update AUTHORS 2024-12-02 10:13:54 +01:00
Pavel Motyrev
86eeee64e7 Update 06-distributed-monitoring.md
fix typo
2024-12-02 10:13:54 +01:00
Alexander A. Klimov
ca035e6b13 AUTHORS: add Nicolas Berens <nicolas.berens@planet.com> 2024-12-02 10:13:54 +01:00
Nicolas Berens
4c9f267236 remove bracket 2024-12-02 10:13:54 +01:00
Josef Friedrich
b8107c81e9 Add Josef Friedrich <josef@friedrich.rocks> to AUTHORS 2024-12-02 10:13:54 +01:00
Josef Friedrich
5c23c198f4 Fix typo in 12-icinga2-api.md 2024-12-02 10:13:54 +01:00
Alexander Aleksandrovič Klimov
9920127683
Merge pull request #10257 from Icinga/gha2144
Update GHA
2024-11-29 14:26:57 +01:00
Alexander A. Klimov
e7710d5d7f GHA: Linux: don't track all supported distro versions
Instead just give a generic explanation per distro.
2024-11-27 17:21:13 +01:00
Alexander Aleksandrovič Klimov
e89da57dc1 GHA: update supported Fedora versions
Add v41, drop EOL v37, v38.
2024-11-27 10:39:27 +01:00
Yonas Habteab
92279c09d2 GHA: Drop ubuntu 23.{04,10} (EOL) 2024-11-27 10:39:27 +01:00
Alexander A. Klimov
7aa6fb4fed Clarify that our Debian installation docs also apply to the Raspberry Pi OS 2024-11-27 10:38:38 +01:00