Projet

Général

Profil

Révision c6884d16

IDc6884d1689ff8368d5fb455130d719961de73fe3
Parent e192d8d9
Enfant e594a642

Ajouté par ward il y a presque 14 ans

Properly ignore the xentop output header line.

Voir les différences:

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