From: Russ Allbery Date: Tue, 19 Oct 2010 16:50:47 +0000 (-0700) Subject: Ignore unauthenticated warning in check_bos X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=f48d591ee710e7a871df9ef74226c4f84c486008;p=packages%2Fa%2Fafs-monitor.git Ignore unauthenticated warning in check_bos Ignore "bos: running unauthenticated" in check_bos, since bos status is always run unauthenticated. --- diff --git a/NEWS b/NEWS index 641eab0..f5df7c4 100644 --- a/NEWS +++ b/NEWS @@ -14,3 +14,6 @@ afs-monitor 2.0 (unreleased) scripts, rather than reporting the problem only to standard error. Check that the host to check was specified and report a syntax error if it wasn't. Thanks, Tobias Wolter. + + Ignore "bos: running unauthenticated" in check_bos, since bos status + is always run unauthenticated. diff --git a/check_bos b/check_bos index 67a06eb..f7d9c5c 100755 --- a/check_bos +++ b/check_bos @@ -44,6 +44,7 @@ our $TIMEOUT = 10; # error. our @OKAY = ( qr/^\s*$/, + qr/^bos: running unauthenticated$/, qr/^Instance\ \S+,\ \(type\ is\ \S+\)(\ has\ core\ file,)? \ currently\ running\ normally\.$/x, qr/^\s*Auxiliary status is: file server running\.$/,