Explorar o código

check_disk_smb now handles NT_STATUS_ACCESS_DENIED properly (Debian #601696)

Matthias Eble %!s(int64=15) %!d(string=hai) anos
pai
achega
3c67c9cb60
Modificáronse 2 ficheiros con 2 adicións e 1 borrados
  1. 1 0
      NEWS
  2. 1 1
      plugins-scripts/check_disk_smb.pl

+ 1 - 0
NEWS

@@ -10,6 +10,7 @@ This file documents the major additions and syntax changes between releases.
 	  check_snmp will consider it a numeric value and thus apply threshold checks and return performance data.
 	  This reverts back to 1.4.14 behaviour with strings
 	Fix check_disk free space calculation if blocksizes differ within a disk group (Bekar - #2973603)
+	check_disk_smb now handles NT_STATUS_ACCESS_DENIED properly (Debian #601696) 
 
 1.4.15 27th July 2010
 	ENHANCEMENTS

+ 1 - 1
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;