diff options
Diffstat (limited to 'plugins-scripts')
-rwxr-xr-x | plugins-scripts/check_disk_smb.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins-scripts/check_disk_smb.pl b/plugins-scripts/check_disk_smb.pl index 46987006..6783543b 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; |