Commit Graph

13332 Commits

Author SHA1 Message Date
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
Julian Brost 73d3323b47
Merge pull request #9387 from Icinga/icingadb-docs
Update Icinga DB related docs
2022-06-29 15:43:26 +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 bd2118c4cd
Merge pull request #9420 from Icinga/IcingaDB-soft_state
Icinga DB: icinga:*:state: rename state to soft_state
2022-06-29 12:24:52 +02:00
Alexander A. Klimov ba9a5c614c Icinga DB: icinga:*:state: rename state to soft_state 2022-06-29 11:49:06 +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 0627d3cb82
Merge pull request #9413 from Icinga/adjust-some-column-names
IcingaDB: Adjust some column names according to the DB schema
2022-06-28 16:45:34 +02:00
Julian Brost 3222fab05a Icinga DB Check: don't check runtime update backlog during full sync 2022-06-28 13:33:00 +02:00
Julian Brost 4f125753bf Icinga DB Check: ignore suppressed queries in Redis backlog check
If some kind of query is not supposed to be processed at the moment, there is
little point in checking it. During a full dump, state updates are suppressed
(i.e. delayed), so when a dump takes very long, this would have resulted in a
false Redis backlog warning.
2022-06-28 13:33:00 +02:00
Julian Brost 5550fb713c Icinga DB Check: include ongoing dumps in OK message
Also use the "current" and "full dump/sync" terminology in the other messages.
2022-06-28 13:33:00 +02:00
Julian Brost 3ded7a9268 Icinga DB Check: rename dump/sync related perfdata values
Scope all values using current/last instead of takes/took.
2022-06-28 13:33:00 +02:00
Julian Brost e36bc92a2c Icinga DB Check: add unit hints to all rates 2022-06-28 13:33:00 +02:00
Julian Brost eaae7d5863 Icinga DB Check: update not connected message
The check makes no attempt to explicitly connect to Redis, it uses the
connection of the IcingaDB feature, so this message better describes the state
in this situation.
2022-06-28 13:33:00 +02:00
Julian Brost 2fafffb85f Icinga DB Check: fix race-condition with IcingaDB::Start()
IcingaDB::GetConnection() uses IcingaDB::m_Rcon which is only initialized in
IcingaDB::Start(), therefore add a nullptr check to the check command.
Additionally, as m_Rcon is potentially accessed concurrently, add a copy of the
value that is safe for concurrent use.
2022-06-28 13:33:00 +02:00
Julian Brost 953e113465 Icinga DB Check: remove markdown headings from output
icingadb-web shows multiple lines from the check output collapsed into a single
line. The lines containing just minuses make this look cluttered and making
making it a heading provides little to no benefit. Even when rendering markdown
in the check output at some point, having the lists labeled using normal
paragraphs would look just fine.
2022-06-28 13:33:00 +02:00
Julian Brost c59d44cd8b Icinga DB Check: rename perfdata values
- Add icinga2_ and icingadb_ prefixes to make clear which component is
  responsible for the value.
- Rename heartbeat_lag to heartbeat_age, describes it better in my opinion and
  sound a bit less like something that should be as close to zero as possible.
- Rename redis_dump/database_sync into full_dump/full_sync as this is how these
  operations are refered to in log messages as well.
- Rename Redis backlog into Redis query backlog, makes it a bit clearer in my
  opinion.
- Rename runtime_backlog into runtime_update_backlog, as the component in
  Icinga DB is called that way and this naming is also exposed in log messages.
- Rename dump_config/state/history into config/state/history_dump, makes it
  sound more natural.
2022-06-28 13:33:00 +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
Julian Brost 3c29b15214 Icinga DB Check: use more natural names for sync/cleanup metrics 2022-06-28 13:33:00 +02:00
Julian Brost d70a27b982 Icinga DB Check: report history and runtime update backlog separately
Probably makes little difference for an end-user, but for support and
development it's great to know which of the two is causing problems.
2022-06-28 13:33:00 +02:00
Julian Brost 2a4605f4b7 Icinga DB Check: clearly state Icinga 2 Redis backlog
Should make it easier to understand that this refers to Redis queries issued by
Icinga 2.
2022-06-28 13:33:00 +02:00
Julian Brost 5613412b81 Icinga DB Check: replace nested calls to fmax() with std::max()
Improves readability, even more so after splitting it into separate lines.
2022-06-28 13:33:00 +02:00
Julian Brost f3f1373f83 Icinga DB Check: spell out "error" in perfdata 2022-06-28 13:33:00 +02:00
Julian Brost 31c7dfee53 Icinga DB Check: fix error message on Redis query error
Not only XREAD queries are performed, so the previous error message was incorrect.
2022-06-28 13:33:00 +02:00
Julian Brost 4f1f70f843 Icinga DB Check: remove unused includes 2022-06-28 13:33:00 +02:00
Julian Brost 2b310718e3 Icinga DB Check: rename keys in heartbeat stream
In both C++ and Go, the keys are only used as constant strings, so namespacing
them just adds clutter for the `general:*` keys, therefore remove it.
2022-06-28 13:33:00 +02:00
Julian Brost d74fbbbb82 Icinga DB Check: remove *_1sec metrics
They add no additional information compared to the *_1min values as it's always
the same value divided by 60 anyways. Adding the actual value from the last
second makes little sense for realistic values of check_interval.
2022-06-28 13:33:00 +02:00
Julian Brost 44cbd04088 Icinga DB Check: read performance data string from Redis
Use the already existing format to pass performance data to Icinga 2 rather
than some new JSON structure. Has the additional benefit of doing more things
in Go than in C++.
2022-06-28 13:33:00 +02:00
Alexander Aleksandrovič Klimov 59fa48d4ed
Merge pull request #9412 from Icinga/update-windows-openssl-version
Windows: Update openssl to the latest version 1_1_1p
2022-06-24 10:53:24 +02:00
Yonas Habteab 0ffef02c1d IcingaDB: Adjust some column names according to the DB schema 2022-06-23 14:27:34 +02:00
Yonas Habteab 59b92777bf Windows: Update openssl to the latest version 1_1_1p 2022-06-23 13:09:14 +02:00
Alexander Aleksandrovič Klimov 4bc4d0dc02
Merge pull request #9410 from Icinga/probot/update-authors/master/286e84bb566fb0d11ad0d019abf89d25f39f853a
Update AUTHORS
2022-06-23 11:27:59 +02:00
Alexander A. Klimov e4a36bc217 Introduce Icinga DB check (like the IDO one) 2022-06-23 11:14:31 +02:00
Alexander A. Klimov 88c8d29ee6 Remove Icinga DB perfdata from Icinga check
as the Icinga DB check already yields it.
2022-06-22 13:25:29 +02:00
icinga-probot[bot] fd1f786fbe
Update AUTHORS 2022-06-22 10:52:23 +00: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
Julian Brost 356fe40582
Merge pull request #9257 from Icinga/bugfix/fix-doc-troubleshooting-zones-in-zones-section
Doc: Enhance Zones in Zones troubleshooting
2022-06-21 13:06:04 +02:00
Yonas Habteab 8a02eab411 Doc: Enhance Zones in Zones troubleshooting 2022-06-21 09:33:23 +02:00