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