From f48d591ee710e7a871df9ef74226c4f84c486008 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Tue, 19 Oct 2010 09:50:47 -0700 Subject: [PATCH] Ignore unauthenticated warning in check_bos Ignore "bos: running unauthenticated" in check_bos, since bos status is always run unauthenticated. --- NEWS | 3 +++ check_bos | 1 + 2 files changed, 4 insertions(+) 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\.$/, -- 2.39.5