summaryrefslogtreecommitdiffstats
path: root/plugins-scripts/check_mssql.pl
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@aei.ca>2014-01-21 07:59:07 -0500
committerThomas Guyot-Sionnest <dermoth@aei.ca>2014-01-21 07:59:07 -0500
commit11cf54ca78185d820085a476cdbf7d8f9149c292 (patch)
treef91c77af08f3bbe60be2a1a699033ad7eda27ba2 /plugins-scripts/check_mssql.pl
parent66544851f7a4f5eeaf86d1cee8b1f54c76f98433 (diff)
parent6141cfebf6c42873e0181105d2051143d8c11eb7 (diff)
downloadmonitoring-plugins-11cf54ca78185d820085a476cdbf7d8f9149c292.tar.gz
Merge branch 'rename'
Diffstat (limited to 'plugins-scripts/check_mssql.pl')
-rwxr-xr-xplugins-scripts/check_mssql.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins-scripts/check_mssql.pl b/plugins-scripts/check_mssql.pl
index 9a8fc511..e3e7391d 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
@@ -44,7 +44,7 @@ my $exitcode = $ERRORS{'OK'};
44 44
45process_arguments(); 45process_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"};