Changeset 1783 for trunk/packages/xvm-munin-config/host
- Timestamp:
- Nov 25, 2008, 11:44:57 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/xvm-munin-config/host/usr/share/xvm-munin-host-config/plugins/xen_cpu
r1779 r1783 4 4 from xen.xend import sxp 5 5 import atexit 6 import sys 6 7 7 8 serverType, serverURI = parseServer() 9 10 if serverType != SERVER_LEGACY_XMLRPC: 11 print >>sys.stderr, "xen_cpu is untested with this Xen server type" 12 sys.exit(1) 8 13 9 14 if serverType == SERVER_XEN_API: … … 21 26 from xen.util.xmlrpcclient import ServerProxy 22 27 server = ServerProxy(serverURI) 23 24 import sys25 28 26 29 if len(sys.argv) > 1:
Note: See TracChangeset
for help on using the changeset viewer.