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:
@@ -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)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user