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 4486149d..cf23ae82 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: nagiosplug-help@lists.sourceforge.net | 24 | # Report bugs to: help@monitoring-plugins.org |
25 | # | 25 | # |
26 | # | 26 | # |
27 | 27 | ||
@@ -48,7 +48,7 @@ my $exitcode = $ERRORS{'OK'}; | |||
48 | 48 | ||
49 | process_arguments(); | 49 | process_arguments(); |
50 | 50 | ||
51 | # Just in case of problems, let's not hang Nagios | 51 | # Just in case of problems, let's not hang the monitoring system |
52 | $SIG{'ALRM'} = sub { | 52 | $SIG{'ALRM'} = sub { |
53 | print ("SQL UNKNOWN: ERROR connection $server (alarm timeout)\n"); | 53 | print ("SQL UNKNOWN: ERROR connection $server (alarm timeout)\n"); |
54 | exit $ERRORS{"UNKNOWN"}; | 54 | exit $ERRORS{"UNKNOWN"}; |