Mkae columns sortabel agian, check hbc version, provide modile html pages

This commit is contained in:
Andreas Wrede
2026-04-12 12:53:00 -04:00
parent 24b0e362fb
commit 19f7c8312e
12 changed files with 282 additions and 51 deletions
+7
View File
@@ -422,6 +422,13 @@ class Host:
ddict["managers"] = list(getattr(self, "managers", []))
ddict["monitors"] = list(getattr(self, "monitors", []))
# hbc version from latest os_info plugin data
hbc_version = None
latest_os = self.get_latest_plugin_data("os_info")
if latest_os:
hbc_version = latest_os.get("hbc_version")
ddict["hbc_version"] = hbc_version
return ddict
def jsons(self):