[packages/munin-plugins-muninexchange] - ignore dom0 in xen_vbd plugin
baggins
baggins at pld-linux.org
Fri Aug 23 23:49:25 CEST 2013
commit 9cf770fd058e6bc5c6092d3b27cb43d8374a095b
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Fri Aug 23 23:48:59 2013 +0200
- ignore dom0 in xen_vbd plugin
xen.patch | 8 ++++++++
1 file changed, 8 insertions(+)
---
diff --git a/xen.patch b/xen.patch
index b8c25ab..7da5e47 100644
--- a/xen.patch
+++ b/xen.patch
@@ -149,6 +149,14 @@
$XMTOP = '/usr/sbin/xentop';
# ah, parameters coming in
+@@ -48,6 +48,7 @@
+
+ @domains = `$XM list`;
+ shift(@domains); # we don't need the header line
++ shift(@domains); # we don't need the header line
+
+ foreach $domain ( @domains )
+ {
@@ -90,9 +90,9 @@
@stats = split (/\n/, pop(@chunks));
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/munin-plugins-muninexchange.git/commitdiff/9cf770fd058e6bc5c6092d3b27cb43d8374a095b
More information about the pld-cvs-commit
mailing list