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:
parent
e192d8d900
commit
c6884d1689
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user