diff options
| author | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2014-01-21 07:59:07 -0500 |
|---|---|---|
| committer | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2014-01-21 07:59:07 -0500 |
| commit | 11cf54ca78185d820085a476cdbf7d8f9149c292 (patch) | |
| tree | f91c77af08f3bbe60be2a1a699033ad7eda27ba2 /plugins-scripts/check_mssql.pl | |
| parent | 66544851f7a4f5eeaf86d1cee8b1f54c76f98433 (diff) | |
| parent | 6141cfebf6c42873e0181105d2051143d8c11eb7 (diff) | |
| download | monitoring-plugins-11cf54ca78185d820085a476cdbf7d8f9149c292.tar.gz | |
Merge branch 'rename'
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 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 | ||
| 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"}; |
