fixed a string and added beta zabbix template

This commit is contained in:
2019-01-18 14:21:54 +01:00
parent 763b4404ef
commit 882040fb01
2 changed files with 1550 additions and 1 deletions
+1 -1
View File
@@ -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']))
+1549
View File
File diff suppressed because it is too large Load Diff