diff options
-rw-r--r-- | NEWS | 1 | ||||
-rwxr-xr-x | plugins-scripts/check_disk_smb.pl | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -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 | ||
14 | 1.4.15 27th July 2010 | 15 | 1.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; |