aboutsummaryrefslogtreecommitdiff
path: root/plugins-scripts
diff options
context:
space:
mode:
authorGravatar Matthias Eble <psychotrahe@users.sourceforge.net> 2010-11-28 21:43:48 +0100
committerGravatar Matthias Eble <psychotrahe@users.sourceforge.net> 2010-11-28 21:43:48 +0100
commit3c67c9cb60a4681a29e509fccbb333e0f6234f54 (patch)
tree4db063d1bbe09a4719eb67c0b5eee6aaec494406 /plugins-scripts
parent0892c4ac28c4c2e3b6275187f845813b4cd6d320 (diff)
downloadmonitoring-plugins-3c67c9cb60a4681a29e509fccbb333e0f6234f54.tar.gz
check_disk_smb now handles NT_STATUS_ACCESS_DENIED properly (Debian #601696)
Diffstat (limited to 'plugins-scripts')
-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 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;