From 3c67c9cb60a4681a29e509fccbb333e0f6234f54 Mon Sep 17 00:00:00 2001 From: Matthias Eble Date: Sun, 28 Nov 2010 21:43:48 +0100 Subject: check_disk_smb now handles NT_STATUS_ACCESS_DENIED properly (Debian #601696) --- plugins-scripts/check_disk_smb.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins-scripts') 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/) { $answer = "Result from smbclient not suitable\n"; $state = "UNKNOWN"; foreach (@lines) { - if (/(Access denied|NT_STATUS_LOGON_FAILURE)/) { + if (/(Access denied|NT_STATUS_LOGON_FAILURE|NT_STATUS_ACCESS_DENIED)/) { $answer = "Access Denied\n"; $state = "CRITICAL"; last; -- cgit v1.2.3