From 145a0bfc4ef9deff0afeb6d5c12ba15e0144e3d7 Mon Sep 17 00:00:00 2001 From: Quentin Garnier Date: Wed, 28 Aug 2013 10:58:41 +0200 Subject: [PATCH] Fix #4702 --- centreon-plugins/src/check_centreon_snmp_loadaverage | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/centreon-plugins/src/check_centreon_snmp_loadaverage b/centreon-plugins/src/check_centreon_snmp_loadaverage index 26f77c337..4615a45d3 100644 --- a/centreon-plugins/src/check_centreon_snmp_loadaverage +++ b/centreon-plugins/src/check_centreon_snmp_loadaverage @@ -104,7 +104,7 @@ if ($opt_c && $opt_c =~ /^([0-9\.]+),([0-9\.]+),([0-9\.]+)$/) { exit $ERRORS{'OK'}; } -if ($opt_w && $opt_w =~ /^([0-9]+),([0-9]+),([0-9]+)$/) { +if ($opt_w && $opt_w =~ /^([0-9\.]+),([0-9\.]+),([0-9\.]+)$/) { @warning = ($1,$2,$3); } elsif (!defined($opt_w) && !$opt_w) { @warning = ('1', '3', '5');