From 2c0bcd98ade0e8cb945d836490d3a4d681d99fbb Mon Sep 17 00:00:00 2001 From: Steven Valdez Date: Sat, 20 Jul 2013 17:17:51 -0400 Subject: [PATCH 1/1] Add import for xen API --- .../share/xvm-munin-host-config/plugins/xen_cpu | 2 ++ 1 file changed, 2 insertions(+) diff --git a/host/usr/share/xvm-munin-host-config/plugins/xen_cpu b/host/usr/share/xvm-munin-host-config/plugins/xen_cpu index 06850cf..788333e 100755 --- a/host/usr/share/xvm-munin-host-config/plugins/xen_cpu +++ b/host/usr/share/xvm-munin-host-config/plugins/xen_cpu @@ -1,5 +1,7 @@ #!/usr/bin/python +import sys +sys.path.append('/usr/lib/xen-default/lib/python/') from xen.xm.main import SERVER_LEGACY_XMLRPC, SERVER_XEN_API, parseServer, parseAuthentication from xen.xend import sxp import atexit -- 1.7.9.5