cleaning
git-svn-id: http://svn.centreon.com/trunk/plugins@3466 6bcd3966-0018-0410-8128-fd23d134de7e
This commit is contained in:
parent
f68c22d033
commit
bde9032d15
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/perl -w
|
#!/usr/bin/perl -w
|
||||||
############################## check_snmp_process ##############
|
###################### check_snmp_process #####################
|
||||||
# Version : 1.2.1
|
# Version : 1.2.1
|
||||||
# Date : Dec 12 2004
|
# Date : Dec 12 2004
|
||||||
# Author : Patrick Proy (patrick at proy.org)
|
# Author : Patrick Proy (patrick at proy.org)
|
||||||
|
@ -10,7 +10,7 @@
|
||||||
#
|
#
|
||||||
# help : ./check_snmp_process -h
|
# help : ./check_snmp_process -h
|
||||||
|
|
||||||
############################## check_centreon_snmp_process_detailed ##############
|
########### check_centreon_snmp_process_detailed ##############
|
||||||
# Version : 1.2.2
|
# Version : 1.2.2
|
||||||
# Date : Jun 20 2007
|
# Date : Jun 20 2007
|
||||||
# Author : Sugumaran Mathavarajan - msugumaran@merethis.com
|
# Author : Sugumaran Mathavarajan - msugumaran@merethis.com
|
||||||
|
@ -32,7 +32,7 @@ use Getopt::Long;
|
||||||
|
|
||||||
# Nagios specific
|
# Nagios specific
|
||||||
|
|
||||||
use lib "@NAGIOS_PLUGIN@";
|
use lib "@NAGIOS_PLUGINS@";
|
||||||
use utils qw(%ERRORS $TIMEOUT);
|
use utils qw(%ERRORS $TIMEOUT);
|
||||||
|
|
||||||
# centreon specific
|
# centreon specific
|
||||||
|
@ -239,7 +239,7 @@ sub check_options {
|
||||||
'x:s' => \$o_passwd, 'passwd:s' => \$o_passwd,
|
'x:s' => \$o_passwd, 'passwd:s' => \$o_passwd,
|
||||||
'c:s' => \$o_crit, 'critical:s' => \$o_crit,
|
'c:s' => \$o_crit, 'critical:s' => \$o_crit,
|
||||||
'w:s' => \$o_warn, 'warn:s' => \$o_warn,
|
'w:s' => \$o_warn, 'warn:s' => \$o_warn,
|
||||||
't:i' => \$o_timeout, 'timeout:i' => \$o_timeout,
|
't:i' => \$o_timeout, 'timeout:i' => \$o_timeout,
|
||||||
'n:s' => \$o_descr, 'name:s' => \$o_descr,
|
'n:s' => \$o_descr, 'name:s' => \$o_descr,
|
||||||
'r' => \$o_noreg, 'noregexp' => \$o_noreg,
|
'r' => \$o_noreg, 'noregexp' => \$o_noreg,
|
||||||
'f' => \$o_path, 'fullpath' => \$o_path,
|
'f' => \$o_path, 'fullpath' => \$o_path,
|
||||||
|
|
Loading…
Reference in New Issue