2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-06-12 01:38:49 +00:00

Provide unknown health for vcenter and proxmox

This commit is contained in:
Jarrod Johnson
2026-06-09 16:35:13 -04:00
parent 44385388b6
commit 5bfd44528d
2 changed files with 4 additions and 0 deletions
@@ -390,6 +390,8 @@ async def retrieve(nodes, element, configmanager, inputdata):
elif element == ['console', 'ikvm_screenshot']:
# good background for the webui, and kitty
yield msg.ConfluentNodeError(node, "vnc available, screenshot not available")
elif element == ['health', 'hardware']:
yield msg.HealthSummary('unknown', node)
async def update(nodes, element, configmanager, inputdata):
clientsbynode = prep_proxmox_clients(nodes, configmanager)
@@ -380,6 +380,8 @@ async def retrieve(nodes, element, configmanager, inputdata):
imgdata = imgdata.getvalue()
if imgdata:
yield msg.ScreenShot(imgdata, node, imgformat=imgformat)
elif element == ['health', 'hardware']:
yield msg.HealthSummary('unknown', node)