Révision c6884d16
Properly ignore the xentop output header line.
| plugins/other/xen-cpu | ||
|---|---|---|
| 13 | 13 |
# config (required) |
| 14 | 14 |
# autoconf (optional - used by munin-config) |
| 15 | 15 |
# |
| 16 |
# Changelog: |
|
| 17 |
# Properly ignore the xentop output header line. |
|
| 18 |
# Ward Vandewege (ward@gnu.org), 2011-04-20 |
|
| 19 |
# |
|
| 16 | 20 |
#%# family=auto |
| 17 | 21 |
#%# capabilities=autoconf |
| 18 | 22 |
|
| ... | ... | |
| 104 | 108 |
# trim the leading whitespace |
| 105 | 109 |
$domain =~ s/^\s+//; |
| 106 | 110 |
my @v_tmp = split(/\s+/, $domain); |
| 111 |
next if ($v_tmp[0] eq 'NAME'); |
|
| 107 | 112 |
|
| 108 | 113 |
# we need to change - and . to _ or things get weird with the graphs |
| 109 | 114 |
# some decent quoting would probably fix this, but this works for now |
Formats disponibles : Unified diff