mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-26 15:14:16 +02:00
align data -> indompting
git-svn-id: http://svn.centreon.com/Plugins/Dev@2443 6bcd3966-0018-0410-8128-fd23d134de7e
This commit is contained in:
parent
b654b97125
commit
d8f8e1db04
@ -5,7 +5,7 @@
|
|||||||
# GPL License: http://www.gnu.org/licenses/gpl.txt
|
# GPL License: http://www.gnu.org/licenses/gpl.txt
|
||||||
#
|
#
|
||||||
# Developped by : Julien Mathis - Romain Le Merlus
|
# Developped by : Julien Mathis - Romain Le Merlus
|
||||||
# Christophe Coraboeuf
|
# Mathavarajan Sugumaran
|
||||||
#
|
#
|
||||||
###################################################################
|
###################################################################
|
||||||
# This program is free software; you can redistribute it and/or
|
# This program is free software; you can redistribute it and/or
|
||||||
@ -79,9 +79,7 @@ exit $ERRORS{'OK'};
|
|||||||
}
|
}
|
||||||
|
|
||||||
my $snmp = "1";
|
my $snmp = "1";
|
||||||
if ($opt_v && $opt_v =~ /^[0-9]$/) {
|
$snmp = $opt_v if ($opt_v && $opt_v =~ /^[0-9]$/);
|
||||||
$snmp = $opt_v;
|
|
||||||
}
|
|
||||||
|
|
||||||
@critical = ('2', '4', '6');
|
@critical = ('2', '4', '6');
|
||||||
if ($opt_c && $opt_c =~ /^([0-9]+),([0-9]+),([0-9]+)$/) {
|
if ($opt_c && $opt_c =~ /^([0-9]+),([0-9]+),([0-9]+)$/) {
|
||||||
@ -120,9 +118,7 @@ exit $ERRORS{'OK'};
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$opt_C) {
|
$opt_C = "public" if (!$opt_C);
|
||||||
$opt_C = "public";
|
|
||||||
}
|
|
||||||
|
|
||||||
my $name = $0;
|
my $name = $0;
|
||||||
$name =~ s/\.pl.*//g;
|
$name =~ s/\.pl.*//g;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user