summaryrefslogtreecommitdiffstats
path: root/plugins-scripts/check_disk_smb.pl
diff options
context:
space:
mode:
Diffstat (limited to 'plugins-scripts/check_disk_smb.pl')
-rwxr-xr-xplugins-scripts/check_disk_smb.pl2
1 files changed, 1 insertions, 1 deletions
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;