--- vhostmd-0.5.old/vhostmd.xml	2012-01-16 11:52:02.000000000 +0000
+++ vhostmd-0.5/vhostmd.xml	2014-05-06 13:19:25.568798876 +0100
@@ -39,8 +39,7 @@
       </metric>
       <metric type="string" context="host">
         <name>VirtualizationVendor</name>
-        <action>/bin/rpm -q --info xen | grep Vendor: | \
-                awk '{print substr($0, index($0,$5)) }'</action>
+        <action>rpm -q --queryformat "%{VENDOR}\n" xen | sort -u</action>
       </metric>
       <metric type="string" context="host">
         <name>VirtualizationProductInfo</name>
