Report unattended-upgrades state from the agent
The agent now sends whether unattended-upgrades is enabled (package installed, not just its leftover config, and APT::Periodic::Unattended- Upgrade set and non-zero), the age of apt.systemd.daily's upgrade-stamp (touched only when unattended-upgrade exits 0), the age of unattended-upgrade's own stamp (written whenever a run gets far enough, even if it then fails) and the packages it keeps back. Nothing reads them yet. Agent 0.8.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6cbc9665d8
commit
df097c9da3
4 files changed
+104
-3
No files matched your search
@@ -4,4 +4,4 @@ __version__ = "0.4.0"
|
||||
|
||||
# Version of agent/kernelwatch-agent shipped alongside this server; older agents
|
||||
# are noted on the dashboard. tests/test_status.py checks the two stay in sync.
|
||||
AGENT_VERSION = "0.7.0"
|
||||
AGENT_VERSION = "0.8.0"
|
||||
@@ -47,6 +47,10 @@ FIELDS: dict[str, str] = {
|
||||
"dpkg_unfinished_packages": "strlist",
|
||||
"ubuntu_pro_attached": "bool",
|
||||
"ubuntu_esm_infra": "str",
|
||||
"unattended_upgrades": "str",
|
||||
"unattended_upgrades_success_age_seconds": "int",
|
||||
"unattended_upgrades_run_age_seconds": "int",
|
||||
"unattended_upgrades_kept_back": "strlist",
|
||||
"apt_lists_age_seconds": "int",
|
||||
"uptime_seconds": "int",
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user