summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 77f2c84)
raw | patch | inline | side by side (parent: 77f2c84)
author | Matthias Eble <psychotrahe@users.sourceforge.net> | |
Sun, 28 Nov 2010 20:35:59 +0000 (21:35 +0100) | ||
committer | Matthias Eble <psychotrahe@users.sourceforge.net> | |
Sun, 28 Nov 2010 20:35:59 +0000 (21:35 +0100) |
NEWS | patch | blob | history | |
plugins-scripts/check_disk_smb.pl | patch | blob | history |
index a00febc84bb7f47957b947901a3b4511c15ebf7f..945801390813064a7a22125eb8e9e92ccb731e51 100644 (file)
--- a/NEWS
+++ b/NEWS
...
ENHANCEMENTS
check_nt UPTIME accepts warning/critical thresholds (Ryan Kelly)
+ check_disk_smb now allows spaces in share names (#990948, #1370031, Debian #601699)
FIXES
check_snmp now attempts to convert string responses into a double value. If the full string is a value,
index 7c81fc263a82f220e65cffe4b0bbf30fa88246bd..46987006647d452256b5b7e131924e4d821ed802 100755 (executable)
($host) || usage("Invalid host: $opt_H\n");
($opt_s) || ($opt_s = shift @ARGV) || usage("Share volume not specified\n");
-my $share = $1 if ($opt_s =~ /^([-_.A-Za-z0-9]+\$?)$/);
+my $share = $1 if ($opt_s =~ /^([-_.A-Za-z0-9 ]+\$?)$/);
($share) || usage("Invalid share: $opt_s\n");
defined($opt_u) || ($opt_u = shift @ARGV) || ($opt_u = "guest");