diff options
Diffstat (limited to 'plugins-scripts/check_mssql.pl')
-rwxr-xr-x | plugins-scripts/check_mssql.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins-scripts/check_mssql.pl b/plugins-scripts/check_mssql.pl index cbf2ae7..e3e7391 100755 --- a/plugins-scripts/check_mssql.pl +++ b/plugins-scripts/check_mssql.pl | |||
@@ -21,7 +21,7 @@ | |||
21 | # along with this program; if not, write to the Free Software | 21 | # along with this program; if not, write to the Free Software |
22 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 22 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
23 | # | 23 | # |
24 | # Report bugs to: help@nagios-plugins.org | 24 | # Report bugs to: help@monitoring-plugins.org |
25 | # | 25 | # |
26 | # | 26 | # |
27 | 27 | ||
@@ -44,7 +44,7 @@ my $exitcode = $ERRORS{'OK'}; | |||
44 | 44 | ||
45 | process_arguments(); | 45 | process_arguments(); |
46 | 46 | ||
47 | # Just in case of problems, let's not hang Nagios | 47 | # Just in case of problems, let's not hang the monitoring system |
48 | $SIG{'ALRM'} = sub { | 48 | $SIG{'ALRM'} = sub { |
49 | print ("SQL UNKNOWN: ERROR connection $server (alarm timeout)\n"); | 49 | print ("SQL UNKNOWN: ERROR connection $server (alarm timeout)\n"); |
50 | exit $ERRORS{"UNKNOWN"}; | 50 | exit $ERRORS{"UNKNOWN"}; |