fixed a string and added beta zabbix template
This commit is contained in:
parent
763b4404ef
commit
882040fb01
|
|
@ -57,7 +57,7 @@ def exec_storage(**kwargs):
|
|||
stor = next(v for v in stors if (v.name == kwargs['name'] and v.node == NODE.name))
|
||||
print stor.get_storageinfo(kwargs['param'])
|
||||
except StopIteration:
|
||||
print "No such VM found. Possible VMs: " + str(VM.get_vmnames(NODE))
|
||||
print "No such storage found. Possible VMs: " + str(Storage.get_storagenames(NODE))
|
||||
else:
|
||||
print listofdicts_to_zabbix_json(
|
||||
Storage.get_storagenames(NODE, name=kwargs['name'], listing=kwargs['listing']))
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue