mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
Update munin-libvirtpy
if config has sys.exit(1) the plugin config does not work.
This commit is contained in:
parent
98aeca5f7b
commit
9ecd634f86
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ if len(sys.argv) == 2:
|
||||||
nodeName = dom.name()
|
nodeName = dom.name()
|
||||||
print "%s.type COUNTER" %(nodeName)
|
print "%s.type COUNTER" %(nodeName)
|
||||||
print "%s.label %s" %(nodeName, nodeName)
|
print "%s.label %s" %(nodeName, nodeName)
|
||||||
sys.exit(1)
|
sys.exit(0)
|
||||||
|
|
||||||
for id in ids:
|
for id in ids:
|
||||||
dom = conn.lookupByID(id)
|
dom = conn.lookupByID(id)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue