summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rwxr-xr-xplugins-scripts/check_disk_smb.pl2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 9458013..cf4b404 100644
--- a/NEWS
+++ b/NEWS
@@ -10,6 +10,7 @@ This file documents the major additions and syntax changes between releases.
10 check_snmp will consider it a numeric value and thus apply threshold checks and return performance data. 10 check_snmp will consider it a numeric value and thus apply threshold checks and return performance data.
11 This reverts back to 1.4.14 behaviour with strings 11 This reverts back to 1.4.14 behaviour with strings
12 Fix check_disk free space calculation if blocksizes differ within a disk group (Bekar - #2973603) 12 Fix check_disk free space calculation if blocksizes differ within a disk group (Bekar - #2973603)
13 check_disk_smb now handles NT_STATUS_ACCESS_DENIED properly (Debian #601696)
13 14
141.4.15 27th July 2010 151.4.15 27th July 2010
15 ENHANCEMENTS 16 ENHANCEMENTS
diff --git a/plugins-scripts/check_disk_smb.pl b/plugins-scripts/check_disk_smb.pl
index 4698700..6783543 100755
--- a/plugins-scripts/check_disk_smb.pl
+++ b/plugins-scripts/check_disk_smb.pl
@@ -239,7 +239,7 @@ if (/\s*(\d*) blocks of size (\d*)\. (\d*) blocks available/) {
239 $answer = "Result from smbclient not suitable\n"; 239 $answer = "Result from smbclient not suitable\n";
240 $state = "UNKNOWN"; 240 $state = "UNKNOWN";
241 foreach (@lines) { 241 foreach (@lines) {
242 if (/(Access denied|NT_STATUS_LOGON_FAILURE)/) { 242 if (/(Access denied|NT_STATUS_LOGON_FAILURE|NT_STATUS_ACCESS_DENIED)/) {
243 $answer = "Access Denied\n"; 243 $answer = "Access Denied\n";
244 $state = "CRITICAL"; 244 $state = "CRITICAL";
245 last; 245 last;