diff options
Diffstat (limited to 'plugins-scripts')
-rwxr-xr-x | plugins-scripts/check_ifoperstatus.pl | 2 | ||||
-rwxr-xr-x | plugins-scripts/check_ifstatus.pl | 2 | ||||
-rwxr-xr-x | plugins-scripts/check_mssql.pl | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/plugins-scripts/check_ifoperstatus.pl b/plugins-scripts/check_ifoperstatus.pl index 3eed4bcb..9ede1633 100755 --- a/plugins-scripts/check_ifoperstatus.pl +++ b/plugins-scripts/check_ifoperstatus.pl | |||
@@ -325,7 +325,7 @@ sub print_help() { | |||
325 | printf " (Implies the use of -I)\n"; | 325 | printf " (Implies the use of -I)\n"; |
326 | printf " -w (--warn =i|w|c) ignore|warn|crit if the interface is dormant (default critical)\n"; | 326 | printf " -w (--warn =i|w|c) ignore|warn|crit if the interface is dormant (default critical)\n"; |
327 | printf " -D (--admin-down =i|w|c) same for administratively down interfaces (default warning)\n"; | 327 | printf " -D (--admin-down =i|w|c) same for administratively down interfaces (default warning)\n"; |
328 | printf " -M (--maxmsgsize) Max message size - usefull only for v1 or v2c\n"; | 328 | printf " -M (--maxmsgsize) Max message size - useful only for v1 or v2c\n"; |
329 | printf " -t (--timeout) seconds before the plugin times out (default=$TIMEOUT)\n"; | 329 | printf " -t (--timeout) seconds before the plugin times out (default=$TIMEOUT)\n"; |
330 | printf " -V (--version) Plugin version\n"; | 330 | printf " -V (--version) Plugin version\n"; |
331 | printf " -h (--help) usage help \n\n"; | 331 | printf " -h (--help) usage help \n\n"; |
diff --git a/plugins-scripts/check_ifstatus.pl b/plugins-scripts/check_ifstatus.pl index 9f2f7c31..32984e53 100755 --- a/plugins-scripts/check_ifstatus.pl +++ b/plugins-scripts/check_ifstatus.pl | |||
@@ -280,7 +280,7 @@ sub print_help() { | |||
280 | printf " in hex with 0x prefix generated by using \"snmpkey\" utility\n"; | 280 | printf " in hex with 0x prefix generated by using \"snmpkey\" utility\n"; |
281 | printf " privacy password and authEngineID\n"; | 281 | printf " privacy password and authEngineID\n"; |
282 | printf " -P (--privproto) privacy protocol (DES or AES; default: DES)\n"; | 282 | printf " -P (--privproto) privacy protocol (DES or AES; default: DES)\n"; |
283 | printf " -M (--maxmsgsize) Max message size - usefull only for v1 or v2c\n"; | 283 | printf " -M (--maxmsgsize) Max message size - useful only for v1 or v2c\n"; |
284 | printf " -t (--timeout) seconds before the plugin times out (default=$TIMEOUT)\n"; | 284 | printf " -t (--timeout) seconds before the plugin times out (default=$TIMEOUT)\n"; |
285 | printf " -V (--version) Plugin version\n"; | 285 | printf " -V (--version) Plugin version\n"; |
286 | printf " -h (--help) usage help \n\n"; | 286 | printf " -h (--help) usage help \n\n"; |
diff --git a/plugins-scripts/check_mssql.pl b/plugins-scripts/check_mssql.pl index fb3952d4..bf3a651f 100755 --- a/plugins-scripts/check_mssql.pl +++ b/plugins-scripts/check_mssql.pl | |||
@@ -54,7 +54,7 @@ $SIG{'ALRM'} = sub { | |||
54 | print ("SQL UNKNOWN: ERROR connection $server (alarm timeout)\n"); | 54 | print ("SQL UNKNOWN: ERROR connection $server (alarm timeout)\n"); |
55 | exit $ERRORS{"UNKNOWN"}; | 55 | exit $ERRORS{"UNKNOWN"}; |
56 | }; | 56 | }; |
57 | alarm($TIMEOUT); | 57 | alarm($timeout); |
58 | 58 | ||
59 | unless ($dbh = DBI->connect("dbi:Sybase:server=".uc($server), "$username", "$password")) { | 59 | unless ($dbh = DBI->connect("dbi:Sybase:server=".uc($server), "$username", "$password")) { |
60 | printf "SQL CRITICAL: Can't connect to mssql server $DBI::errstr\n"; | 60 | printf "SQL CRITICAL: Can't connect to mssql server $DBI::errstr\n"; |