]> git.michaelhowe.org Git - packages/a/afs-monitor.git/commit
Completely rewritten to avoid keeping any state. The monitor now checks
authorRuss Allbery <rra@stanford.edu>
Thu, 25 Mar 2004 00:55:18 +0000 (00:55 +0000)
committerRuss Allbery <rra@stanford.edu>
Thu, 25 Mar 2004 00:55:18 +0000 (00:55 +0000)
commit02cd92ad30e9af6a18243fac89c742a8ceb355a1
treeaf06b5dfeb8f9d35e0a1ed58c69cb0237cf9ebc3
parent42c3e63b2ca261819c6a5758c7b67ebe87cd4c0a
Completely rewritten to avoid keeping any state.  The monitor now checks
all of the output from bos status against a set of known-okay regexes and
throws an alert if there's any line in the bos output that isn't okay.
This means that this check will no longer catch a server restart that
successfully completed before the probe ran, but on the plus side it also
won't throw additional errors when the file server has come back up (since
the correct output is still different than the old incorrect output).

Also redid the coding style, added real option parsing, required the
standard Nagios -H option, and added full documentation.
check_bos