| 1 |
Index: nagios-plugins-contrib/check_v46/check_v46 |
| 2 |
=================================================================== |
| 3 |
--- nagios-plugins-contrib.orig/check_v46/check_v46 |
| 4 |
+++ nagios-plugins-contrib/check_v46/check_v46 |
| 5 |
@@ -165,7 +165,7 @@ foreach my $p (@protocols) { |
| 6 |
|
| 7 |
# Strip off performance data from the $first line of plugin |
| 8 |
# output. |
| 9 |
- $first =~ s/^([^\|]+)\|(.*)/$1/; |
| 10 |
+ $first =~ s/^([^\|]+)\|\s*(.*)/$1/; |
| 11 |
$out->{$p}->{$a}->{first} = $first; |
| 12 |
|
| 13 |
# Add lc($p) as prefix to performance data labels, e.g. |