diff --git a/plugins/other/xen-cpu b/plugins/other/xen-cpu index 14648f9c..8540d109 100755 --- a/plugins/other/xen-cpu +++ b/plugins/other/xen-cpu @@ -13,6 +13,10 @@ # config (required) # autoconf (optional - used by munin-config) # +# Changelog: +# Properly ignore the xentop output header line. +# Ward Vandewege (ward@gnu.org), 2011-04-20 +# #%# family=auto #%# capabilities=autoconf @@ -104,6 +108,7 @@ foreach my $domain (@stats) { # trim the leading whitespace $domain =~ s/^\s+//; my @v_tmp = split(/\s+/, $domain); + next if ($v_tmp[0] eq 'NAME'); # we need to change - and . to _ or things get weird with the graphs # some decent quoting would probably fix this, but this works for now