]> git.michaelhowe.org Git - packages/a/afs-monitor.git/log
packages/a/afs-monitor.git
15 years agoRelease 2.1
Russ Allbery [Wed, 8 Dec 2010 19:37:49 +0000 (11:37 -0800)]
Release 2.1

15 years agoAdd some customization instructions to the README
Russ Allbery [Wed, 8 Dec 2010 19:32:56 +0000 (11:32 -0800)]
Add some customization instructions to the README

15 years agoFix check_afs_space bug when run against entire server
Russ Allbery [Wed, 8 Dec 2010 19:31:01 +0000 (11:31 -0800)]
Fix check_afs_space bug when run against entire server

Fix a bug in check_afs_space introduced in the previous release with
checking all partitions on a particular server.

15 years agoAdd a TODO file
Russ Allbery [Wed, 8 Dec 2010 19:30:52 +0000 (11:30 -0800)]
Add a TODO file

15 years agoUpdate release date for 2.0
Russ Allbery [Tue, 7 Dec 2010 17:34:24 +0000 (09:34 -0800)]
Update release date for 2.0

15 years agoFix script names in the Makefile
Russ Allbery [Thu, 11 Nov 2010 00:27:32 +0000 (16:27 -0800)]
Fix script names in the Makefile

15 years agoRelease 2.0
Russ Allbery [Thu, 11 Nov 2010 00:24:23 +0000 (16:24 -0800)]
Release 2.0

15 years agoRename all scripts to start with check_afs
Russ Allbery [Thu, 11 Nov 2010 00:07:42 +0000 (16:07 -0800)]
Rename all scripts to start with check_afs

Rename check_afsspace to check_afs_space, check_bos to check_afs_bos,
check_rxdebug to check_afs_rxdebug, and check_udebug to
check_afs_udebug for more consistent naming and easier identification
of the AFS Nagios probes.

15 years agoNew check_afs_quotas script to check volume quota usage
Russ Allbery [Sun, 7 Nov 2010 20:51:44 +0000 (12:51 -0800)]
New check_afs_quotas script to check volume quota usage

Add check_afs_quotas, which monitors AFS volumes for quota usage,
either for specific volumes or for all volumes on a particular server
(and optionally partition).  Based on a script by Steve Rader.

15 years agoReport database version on ubik okay
Russ Allbery [Thu, 21 Oct 2010 20:24:23 +0000 (13:24 -0700)]
Report database version on ubik okay

Report the database version as extra information in check_udebug if
there are no errors or warnings.

15 years agoAlso look for /usr/sbin/rxdebug and /usr/local/sbin/rxdebug
Russ Allbery [Thu, 21 Oct 2010 16:22:39 +0000 (09:22 -0700)]
Also look for /usr/sbin/rxdebug and /usr/local/sbin/rxdebug

Upstream Makefiles install into sbin by default.

15 years agoSingle partition checking and formatted sizes in check_afsspace
Russ Allbery [Wed, 20 Oct 2010 17:13:45 +0000 (10:13 -0700)]
Single partition checking and formatted sizes in check_afsspace

Support checking a single partition in check_afsspace and print more
verbose information about total, used, and free space in that mode.
Format partition sizes using Number::Format if available.  Based on
work by Steve Rader.

15 years agoAdd warning support and process counts to check_bos
Russ Allbery [Wed, 20 Oct 2010 16:34:48 +0000 (09:34 -0700)]
Add warning support and process counts to check_bos

Add support for reporting warnings in check_bos and report a warning
if there is inappropriate access on server directories.  Patch from
Steve Rader.

If check_bos is successful, report the number of instances running
normally.  Patch from Steve Rader.

15 years agoIgnore unauthenticated warning in check_bos
Russ Allbery [Tue, 19 Oct 2010 16:50:47 +0000 (09:50 -0700)]
Ignore unauthenticated warning in check_bos

Ignore "bos: running unauthenticated" in check_bos, since bos status
is always run unauthenticated.

15 years agoMore correctly check and report syntax errors
Russ Allbery [Tue, 19 Oct 2010 16:48:49 +0000 (09:48 -0700)]
More correctly check and report syntax errors

Print an UNKNOWN status on standard output on syntax errors in all
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.

15 years agoReport a warning if the salvager is running
Russ Allbery [Tue, 19 Oct 2010 16:32:41 +0000 (09:32 -0700)]
Report a warning if the salvager is running

If the salvager is running (such as when started manually with bos
salvage), check_bos now reports a warning stating that, rather than a
critical error showing the auxiliary status line.  Reported by Steve
Rader.

15 years agoMake scripts executable in the distribution tarball
Russ Allbery [Sat, 16 Oct 2010 18:33:06 +0000 (11:33 -0700)]
Make scripts executable in the distribution tarball

15 years agoFix program names in version output for check_{rx,u}debug
Russ Allbery [Sat, 16 Oct 2010 18:31:53 +0000 (11:31 -0700)]
Fix program names in version output for check_{rx,u}debug

15 years agoIgnore the distribution tarball and directory
Russ Allbery [Sat, 16 Oct 2010 18:31:14 +0000 (11:31 -0700)]
Ignore the distribution tarball and directory

15 years agoInitial version of distribution Makefile
Russ Allbery [Sat, 16 Oct 2010 18:29:25 +0000 (11:29 -0700)]
Initial version of distribution Makefile

The Makefile for this package only automates make dist and isn't included
in the package, since the scripts don't require compilation or further
modification and we don't provide an install target.

15 years agoRemove unneeded parentheses around the date in version output
Russ Allbery [Sat, 16 Oct 2010 18:28:32 +0000 (11:28 -0700)]
Remove unneeded parentheses around the date in version output

The date in the $VERSION string is going to include parens, so don't
add additional parens when outputing the version string (in response
to -v, for example).

15 years agoAdd standard package documentation
Russ Allbery [Sat, 16 Oct 2010 18:27:05 +0000 (11:27 -0700)]
Add standard package documentation

Add the first version of LICENSE, NEWS, and README files.  The next
release will be 2.0.

15 years agoUpdate coding style, version method, documentation
Russ Allbery [Fri, 15 Oct 2010 20:21:05 +0000 (13:21 -0700)]
Update coding style, version method, documentation

Update the coding style in a few places where my Perl style has changed
and clean up the scripts a bit.  Switch the versioning system from the
CVS $Id$ tags to a variable that will be replaced during make dist (not
yet in place).  Proofread the documentation and update it as necessary.
Refer to the new afs-monitor distribution, which these scripts will now
be part of.

19 years agofix gloabl variable problem
Xueshan Feng [Fri, 22 Sep 2006 05:03:33 +0000 (05:03 +0000)]
fix gloabl variable problem

19 years agoUse "#" to protect $ID.
Xueshan Feng [Thu, 21 Sep 2006 22:39:03 +0000 (22:39 +0000)]
Use "#" to protect $ID.

19 years agoReplace all OK: WARNING: CRITICAL: UNKOWN: bits with:
Quanah Gibson-Mount [Fri, 17 Mar 2006 23:06:54 +0000 (23:06 +0000)]
Replace all OK: WARNING: CRITICAL: UNKOWN: bits with:
OK -
WARNING -
CRITICAL -
UNKNOWN -

as this was breaking message parsing on the Nagios side.

20 years agorxdebug -noconn tells us how many waiting connections there are; there's
Russ Allbery [Wed, 9 Nov 2005 20:43:04 +0000 (20:43 +0000)]
rxdebug -noconn tells us how many waiting connections there are; there's
no need to parse the whole output and study it.  Also, it's helpful to
look for waiting connections to the file server, rather than waiting
connections to the local cache manager (doh).  Lower the warning threshold
to two from four while we're at it.

20 years agohard code port 7001, because linux defaults to 7000 for rxdebug
Quanah Gibson-Mount [Thu, 3 Mar 2005 01:55:01 +0000 (01:55 +0000)]
hard code port 7001, because linux defaults to 7000 for rxdebug

20 years agoPrefer /usr/bin/udebug
Quanah Gibson-Mount [Wed, 2 Mar 2005 04:33:46 +0000 (04:33 +0000)]
Prefer /usr/bin/udebug

20 years agoPrefer /usr/bin/rxdebug
Quanah Gibson-Mount [Wed, 2 Mar 2005 04:33:06 +0000 (04:33 +0000)]
Prefer /usr/bin/rxdebug

20 years agoprefer /usr/bin/bos
Quanah Gibson-Mount [Wed, 2 Mar 2005 04:30:58 +0000 (04:30 +0000)]
prefer /usr/bin/bos

20 years agouse /usr/bin/vos by default
Quanah Gibson-Mount [Wed, 2 Mar 2005 04:30:35 +0000 (04:30 +0000)]
use /usr/bin/vos by default

21 years agoMake sure that we always print something to standard output, since right
Russ Allbery [Wed, 5 May 2004 22:39:36 +0000 (22:39 +0000)]
Make sure that we always print something to standard output, since right
now this check is periodically failing saying that no output was returned.

21 years agoUp the network timeout limit to five minutes, since afssvr11 is still
Russ Allbery [Fri, 2 Apr 2004 16:18:29 +0000 (16:18 +0000)]
Up the network timeout limit to five minutes, since afssvr11 is still
timing out every night.

21 years agoCheck for vos partinfo failing.
Russ Allbery [Thu, 25 Mar 2004 06:52:06 +0000 (06:52 +0000)]
Check for vos partinfo failing.

21 years agoInitial version.
Russ Allbery [Thu, 25 Mar 2004 06:19:52 +0000 (06:19 +0000)]
Initial version.

21 years agoIncreased the timeout further to 120 seconds. volserver is sometimes just
Russ Allbery [Thu, 25 Mar 2004 05:45:05 +0000 (05:45 +0000)]
Increased the timeout further to 120 seconds.  volserver is sometimes just
really slow.

21 years agoChange the default timeout for the AFS space check to a minute, since the
Russ Allbery [Thu, 25 Mar 2004 02:50:26 +0000 (02:50 +0000)]
Change the default timeout for the AFS space check to a minute, since the
volserver is single-threaded and sometimes doesn't respond quickly.

21 years agoFix the SYNOPSIS in the documentation to have the correct flag to get the
Russ Allbery [Thu, 25 Mar 2004 01:09:34 +0000 (01:09 +0000)]
Fix the SYNOPSIS in the documentation to have the correct flag to get the
version.

21 years agoCompletely rewritten to avoid keeping any state. The monitor now checks
Russ Allbery [Thu, 25 Mar 2004 00:55:18 +0000 (00:55 +0000)]
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.

21 years agoFix a few very minor issues in the documentation.
Russ Allbery [Thu, 25 Mar 2004 00:47:52 +0000 (00:47 +0000)]
Fix a few very minor issues in the documentation.

21 years agoExtensively reworked to do regular option parsing, support -h and -V
Russ Allbery [Wed, 24 Mar 2004 23:56:49 +0000 (23:56 +0000)]
Extensively reworked to do regular option parsing, support -h and -V
options, support configuration of the critical and warning levels, support
a timeout value, provide a bit of information for okay results, and add
complete documentation.

21 years agoPrint errors rather than using warn since Nagios wants things on standard
Russ Allbery [Wed, 24 Mar 2004 22:43:35 +0000 (22:43 +0000)]
Print errors rather than using warn since Nagios wants things on standard
output.  Fix the initial comment.

21 years agoReorganized extensively, simplified the code a little bit, simplified and
Russ Allbery [Wed, 24 Mar 2004 20:10:12 +0000 (20:10 +0000)]
Reorganized extensively, simplified the code a little bit, simplified and
shortened the output since Nagios will add the relevant host information
itself on errors, added full documentation, added better options parsing,
and made the output and options comply better with the Nagios plugin
standards.  Added a timeout option.

21 years agoDon't use -allconn -rxstats. We aren't paying any attention to the
Russ Allbery [Fri, 13 Feb 2004 01:08:27 +0000 (01:08 +0000)]
Don't use -allconn -rxstats.  We aren't paying any attention to the
statistics, just the mode of the connection, and -allconn just adds in the
(thousands of) idle connections.  Let's assume that an idle connection
can't also be blocked.

22 years agoDon't use the -long flag when checking afsdb servers so that we don't get
Russ Allbery [Fri, 19 Dec 2003 05:33:29 +0000 (05:33 +0000)]
Don't use the -long flag when checking afsdb servers so that we don't get
noise from the nightly kaserver restarts.

22 years agoFix bug in warning bits
Quanah Gibson-Mount [Sat, 13 Dec 2003 01:20:28 +0000 (01:20 +0000)]
Fix bug in warning bits

22 years agoRemove \n's from critical/warning arrays, so all problem partitiosn (if there
Quanah Gibson-Mount [Sat, 13 Dec 2003 01:19:04 +0000 (01:19 +0000)]
Remove \n's from critical/warning arrays, so all problem partitiosn (if there
is more than one) will print out on the nagios status page

22 years agoPrint out percentages instead
Quanah Gibson-Mount [Sat, 13 Dec 2003 00:29:08 +0000 (00:29 +0000)]
Print out percentages instead

22 years agoPrint out partition data in a nice format
Quanah Gibson-Mount [Sat, 13 Dec 2003 00:22:22 +0000 (00:22 +0000)]
Print out partition data in a nice format

22 years agoAdd -H opt, strip out for loop
Quanah Gibson-Mount [Fri, 12 Dec 2003 23:56:54 +0000 (23:56 +0000)]
Add -H opt, strip out for loop

22 years agoFully working nagios style check_afsspace check
Quanah Gibson-Mount [Fri, 12 Dec 2003 23:47:30 +0000 (23:47 +0000)]
Fully working nagios style check_afsspace check

22 years agoFirst pass at making this look like a nagios plugin:
Quanah Gibson-Mount [Fri, 12 Dec 2003 23:32:14 +0000 (23:32 +0000)]
First pass at making this look like a nagios plugin:

-w,-c,-H options all added
Print out full parition table if no errors found (like check_disk)

22 years agoAdd in timeout flag (essentially to fool nagios)
Quanah Gibson-Mount [Fri, 12 Dec 2003 00:54:01 +0000 (00:54 +0000)]
Add in timeout flag (essentially to fool nagios)

22 years agocheck_bos command for AFS servers
Quanah Gibson-Mount [Fri, 12 Dec 2003 00:07:56 +0000 (00:07 +0000)]
check_bos command for AFS servers

22 years agorxdebug check for AFS
Quanah Gibson-Mount [Thu, 11 Dec 2003 23:59:47 +0000 (23:59 +0000)]
rxdebug check for AFS

22 years agoRemove reliance on pubsw perl for both
Quanah Gibson-Mount [Thu, 11 Dec 2003 23:45:27 +0000 (23:45 +0000)]
Remove reliance on pubsw perl for both
use local vos for afsspace