2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00

Properly ignore the xentop output header line.

This commit is contained in:
ward 2011-04-20 20:14:51 +02:00 committed by Steve Schnepp
parent e192d8d900
commit c6884d1689

View File

@ -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