Added "web vgcapacity" probe for disk utilization.
[invirt/packages/invirt-remote.git] / server / usr / sbin / invirt-remote-availability
1 #!/usr/bin/python
2
3 """
4 Retrieve and print out the availability value for all Invirt hosts
5 """
6
7 from invirt import remote
8 import yaml
9 import sys
10
11 def main(argv):
12     print yaml.dump(dict(remote.bcast('availability')), default_flow_style=False)
13
14 if __name__ == '__main__':
15     sys.exit(main(sys.argv))