diff options
author | Monitoring Plugins Development Team <devel@monitoring-plugins.org> | 2014-01-18 03:40:24 -0500 |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2014-01-19 14:18:47 -0500 |
commit | 63734f52ab1b4b2c17545b26fc41016d6bbd80bd (patch) | |
tree | dcd7aa3fd9a2a6a69a47d3a7e6a18d034426087a /plugins-scripts/check_disk_smb.pl | |
parent | 9db763963f3993f923619a2147e4313b09f12134 (diff) | |
download | monitoring-plugins-63734f52ab1b4b2c17545b26fc41016d6bbd80bd.tar.gz |
Project rename initial commit.
This is an initial take at renaming the project to Monitoring Plugins.
It's not expected to be fully complete, and it is expected to break
things (The perl module for instance). More testing will be required
before this goes mainline.
Diffstat (limited to 'plugins-scripts/check_disk_smb.pl')
-rwxr-xr-x | plugins-scripts/check_disk_smb.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins-scripts/check_disk_smb.pl b/plugins-scripts/check_disk_smb.pl index 0c89db57..8b6cd2eb 100755 --- a/plugins-scripts/check_disk_smb.pl +++ b/plugins-scripts/check_disk_smb.pl | |||
@@ -3,7 +3,7 @@ | |||
3 | # | 3 | # |
4 | # check_disk.pl <host> <share> <user> <pass> [warn] [critical] [port] | 4 | # check_disk.pl <host> <share> <user> <pass> [warn] [critical] [port] |
5 | # | 5 | # |
6 | # Nagios host script to get the disk usage from a SMB share | 6 | # Monitoring host script to get the disk usage from a SMB share |
7 | # | 7 | # |
8 | # Changes and Modifications | 8 | # Changes and Modifications |
9 | # ========================= | 9 | # ========================= |
@@ -171,7 +171,7 @@ my $res = undef; | |||
171 | my $perfdata = ""; | 171 | my $perfdata = ""; |
172 | my @lines = undef; | 172 | my @lines = undef; |
173 | 173 | ||
174 | # Just in case of problems, let's not hang Nagios | 174 | # Just in case of problems, let's not hang the monitoring system |
175 | $SIG{'ALRM'} = sub { | 175 | $SIG{'ALRM'} = sub { |
176 | print "No Answer from Client\n"; | 176 | print "No Answer from Client\n"; |
177 | exit $ERRORS{"UNKNOWN"}; | 177 | exit $ERRORS{"UNKNOWN"}; |
@@ -293,7 +293,7 @@ sub print_help () { | |||
293 | print_revision($PROGNAME,'@NP_VERSION@'); | 293 | print_revision($PROGNAME,'@NP_VERSION@'); |
294 | print "Copyright (c) 2000 Michael Anthon/Karl DeBisschop | 294 | print "Copyright (c) 2000 Michael Anthon/Karl DeBisschop |
295 | 295 | ||
296 | Perl Check SMB Disk plugin for Nagios | 296 | Perl Check SMB Disk plugin for monitoring |
297 | 297 | ||
298 | "; | 298 | "; |
299 | print_usage(); | 299 | print_usage(); |