Skip to content

Adding dnf update monitoring checks with DNF hook integration#14

Merged
cruelsmith merged 2 commits intomasterfrom
dev/check_dnf_update
Apr 13, 2026
Merged

Adding dnf update monitoring checks with DNF hook integration#14
cruelsmith merged 2 commits intomasterfrom
dev/check_dnf_update

Conversation

@cruelsmith
Copy link
Copy Markdown
Contributor

Uses DNF post-transaction-actions Plugin hook to document check-update changes after each dnf transaction.
The last transaction which no pending update is used as last system patch date for check_dnf_update.rb.

heuristic attemt to get the last update time base on the last installed `kernel`.
warning and critical thresholds are relative to that date by days.
Also alerts in case a restaring in needed.
@cruelsmith cruelsmith self-assigned this Mar 23, 2026
@cruelsmith cruelsmith added the enhancement New feature or request label Mar 23, 2026
@cruelsmith cruelsmith force-pushed the dev/check_dnf_update branch 3 times, most recently from 9750575 to 4c7f901 Compare March 23, 2026 22:53
Replace heuristic attemt with a post-transaction-actions hook to when all updates has been installed and use this date as last upgrade date.
@cruelsmith cruelsmith force-pushed the dev/check_dnf_update branch from 4c7f901 to 196b316 Compare March 24, 2026 09:06
@cruelsmith cruelsmith merged commit 247139b into master Apr 13, 2026
9 checks passed
@cruelsmith cruelsmith deleted the dev/check_dnf_update branch April 13, 2026 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant