mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-29 16:45:04 +02:00
fix #1292
git-svn-id: http://svn.centreon.com/trunk/plugins-2.x@11007 6bcd3966-0018-0410-8128-fd23d134de7e
This commit is contained in:
parent
8d1225386a
commit
4713b399a5
@ -103,7 +103,7 @@ if (!$opt_H) {
|
|||||||
my $snmp = "1";
|
my $snmp = "1";
|
||||||
$snmp = $opt_v if ($opt_v && $opt_v =~ /^[0-9]$/);
|
$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);
|
@critical = ($1,$2,$3);
|
||||||
} elsif (!defined($opt_c) && !$opt_c){
|
} elsif (!defined($opt_c) && !$opt_c){
|
||||||
@critical = ('2', '4', '6');
|
@critical = ('2', '4', '6');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user