git-svn-id: http://svn.centreon.com/trunk/plugins-2.x@11007 6bcd3966-0018-0410-8128-fd23d134de7e
This commit is contained in:
Julien Mathis 2010-11-02 12:24:32 +00:00
parent 8d1225386a
commit 4713b399a5
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ if (!$opt_H) {
my $snmp = "1";
$snmp = $opt_v if ($opt_v && $opt_v =~ /^[0-9]$/);
if ($opt_c && $opt_c =~ /^([0-9]+),([0-9]+),([0-9]+)$/) {
if ($opt_c && $opt_c =~ /^([0-9\.]+),([0-9\.]+),([0-9\.]+)$/) {
@critical = ($1,$2,$3);
} elsif (!defined($opt_c) && !$opt_c){
@critical = ('2', '4', '6');