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

Add empty sensors to VM health

This commit is contained in:
Jarrod Johnson
2026-06-09 16:52:59 -04:00
parent 5bfd44528d
commit 525186ac7f
2 changed files with 3 additions and 0 deletions
@@ -392,6 +392,7 @@ async def retrieve(nodes, element, configmanager, inputdata):
yield msg.ConfluentNodeError(node, "vnc available, screenshot not available")
elif element == ['health', 'hardware']:
yield msg.HealthSummary('unknown', node)
yield msg.SensorReadings([], node)
async def update(nodes, element, configmanager, inputdata):
clientsbynode = prep_proxmox_clients(nodes, configmanager)
@@ -382,6 +382,8 @@ async def retrieve(nodes, element, configmanager, inputdata):
yield msg.ScreenShot(imgdata, node, imgformat=imgformat)
elif element == ['health', 'hardware']:
yield msg.HealthSummary('unknown', node)
yield msg.SensorReadings([], node)