]> git.michaelhowe.org Git - packages/a/afs-monitor.git/log
packages/a/afs-monitor.git
12 years agoAdd upstream changelog for 2.4 release debian
Russ Allbery [Sun, 13 Jan 2013 03:47:05 +0000 (19:47 -0800)]
Add upstream changelog for 2.4 release

12 years agoMerge tag 'upstream/2.4' into debian
Russ Allbery [Sun, 13 Jan 2013 03:43:21 +0000 (19:43 -0800)]
Merge tag 'upstream/2.4' into debian

Upstream version 2.4

12 years agoImported Upstream version 2.4 upstream
Russ Allbery [Sun, 13 Jan 2013 03:43:21 +0000 (19:43 -0800)]
Imported Upstream version 2.4

12 years agoRelease 2.4
Russ Allbery [Sun, 13 Jan 2013 03:42:22 +0000 (19:42 -0800)]
Release 2.4

12 years agoSpecify which command the long-running output filter applies to
Russ Allbery [Sun, 13 Jan 2013 03:39:51 +0000 (19:39 -0800)]
Specify which command the long-running output filter applies to

12 years agoCoding style and NEWS for the volume regular expression filter
Russ Allbery [Sun, 13 Jan 2013 03:39:13 +0000 (19:39 -0800)]
Coding style and NEWS for the volume regular expression filter

12 years agoSupport filtering volumes of interest with a regex
Christian Ospelkaus [Sun, 13 Jan 2013 03:28:41 +0000 (19:28 -0800)]
Support filtering volumes of interest with a regex

When using the -H <hostname> option, support filtering the volumes
being checked on <hostname> through the new -r <regex> option.

12 years agoAdd NEWS entry for additional check_afs_bos fix
Russ Allbery [Sun, 13 Jan 2013 03:26:20 +0000 (19:26 -0800)]
Add NEWS entry for additional check_afs_bos fix

12 years agoAlso ignore a command status of running
Georg Sluyterman [Sun, 13 Jan 2013 03:25:09 +0000 (19:25 -0800)]
Also ignore a command status of running

This is returned by long-running cron jobs, such as AFS backups.

12 years agoFinalize changes for 2.3-1
Russ Allbery [Thu, 10 Jan 2013 04:49:35 +0000 (20:49 -0800)]
Finalize changes for 2.3-1

12 years agoAdd ${perl:Depends} to dependencies
Russ Allbery [Thu, 10 Jan 2013 04:49:16 +0000 (20:49 -0800)]
Add ${perl:Depends} to dependencies

12 years agoUpdate debian/copyright to copyright-format 1.0
Russ Allbery [Thu, 10 Jan 2013 04:35:08 +0000 (20:35 -0800)]
Update debian/copyright to copyright-format 1.0

12 years agoUpdate standards version to 3.9.4
Russ Allbery [Thu, 10 Jan 2013 04:33:22 +0000 (20:33 -0800)]
Update standards version to 3.9.4

12 years agoAdd local-options and local-patch-header to force one Debian patch
Russ Allbery [Thu, 10 Jan 2013 04:32:43 +0000 (20:32 -0800)]
Add local-options and local-patch-header to force one Debian patch

12 years agoAdd changelog for upstream 2.3 release
Russ Allbery [Thu, 10 Jan 2013 04:31:53 +0000 (20:31 -0800)]
Add changelog for upstream 2.3 release

12 years agoUpdate debhelper compatibility level to V9
Russ Allbery [Thu, 10 Jan 2013 04:31:07 +0000 (20:31 -0800)]
Update debhelper compatibility level to V9

12 years agoMerge tag 'upstream/2.3' into debian
Russ Allbery [Thu, 10 Jan 2013 04:30:23 +0000 (20:30 -0800)]
Merge tag 'upstream/2.3' into debian

Upstream version 2.3

12 years agoImported Upstream version 2.3
Russ Allbery [Thu, 10 Jan 2013 04:30:21 +0000 (20:30 -0800)]
Imported Upstream version 2.3

12 years agoRelease 2.3
Russ Allbery [Thu, 10 Jan 2013 04:28:37 +0000 (20:28 -0800)]
Release 2.3

12 years agoPut README in my current format, remove LICENSE
Russ Allbery [Thu, 10 Jan 2013 04:26:07 +0000 (20:26 -0800)]
Put README in my current format, remove LICENSE

Include the licensing information in README and remove the
now-redundant LICENSE file.

12 years agoAdd test for syntax, strict, and warnings
Russ Allbery [Thu, 10 Jan 2013 04:20:58 +0000 (20:20 -0800)]
Add test for syntax, strict, and warnings

12 years agoAdd a test for the minimum version of Perl
Russ Allbery [Thu, 10 Jan 2013 04:19:44 +0000 (20:19 -0800)]
Add a test for the minimum version of Perl

12 years agoAdd simple test suite infrastructure and test POD
Russ Allbery [Thu, 10 Jan 2013 04:17:50 +0000 (20:17 -0800)]
Add simple test suite infrastructure and test POD

12 years agoGive credit to everyone for the check_afs_quotas fix
Russ Allbery [Thu, 10 Jan 2013 03:51:55 +0000 (19:51 -0800)]
Give credit to everyone for the check_afs_quotas fix

12 years agocheck_afs_quotas: Return to only checking quota for RW volumes
Russ Allbery [Thu, 10 Jan 2013 03:50:40 +0000 (19:50 -0800)]
check_afs_quotas: Return to only checking quota for RW volumes

After Michael Meffie's fix, we can restore the behavior of not
checking quota on RO and BK volumes, where the concept isn't
really meaningful.

12 years agofix incorrect quotas in check_afs_quotas
Michael Meffie [Wed, 9 Jan 2013 14:50:38 +0000 (09:50 -0500)]
fix incorrect quotas in check_afs_quotas

Correctly handle partitions which contain a mix of read-write, read-
only, and backup partitions. This corrects an error in the parsing of
the vos listvol when a read-only or backup volume follows a read-
write volume.

12 years agofix version string in check_afs_quotas
Michael Meffie [Wed, 9 Jan 2013 14:48:46 +0000 (09:48 -0500)]
fix version string in check_afs_quotas

Fix the program name printed with check_afs_quotas -V.

12 years agoAdd credits and NEWS entry for check_afs_bos fix
Russ Allbery [Thu, 10 Jan 2013 03:45:15 +0000 (19:45 -0800)]
Add credits and NEWS entry for check_afs_bos fix

12 years agocheck_afs_bos: Ignore bos output from cron jobs
Georg Sluyterman [Thu, 10 Jan 2013 03:44:19 +0000 (19:44 -0800)]
check_afs_bos: Ignore bos output from cron jobs

12 years agoFix leading comment in check_afs_quotas to use right script name
Russ Allbery [Thu, 10 Jan 2013 03:43:22 +0000 (19:43 -0800)]
Fix leading comment in check_afs_quotas to use right script name

12 years agoCoding style and NEWS updates for check_afs_quotas fix
Russ Allbery [Thu, 10 Jan 2013 03:42:59 +0000 (19:42 -0800)]
Coding style and NEWS updates for check_afs_quotas fix

12 years agoFix check_afs_quotas parsing when no volume was given
Georg Sluyterman [Thu, 10 Jan 2013 03:40:43 +0000 (19:40 -0800)]
Fix check_afs_quotas parsing when no volume was given

The code to parse the output from vos listvol didn't work properly
in the presence of read-only or backup volumes on the partition.

14 years agoRemove useless introductory comment in watch file
Russ Allbery [Fri, 4 Mar 2011 01:57:46 +0000 (17:57 -0800)]
Remove useless introductory comment in watch file

14 years agoUpdate copyright dates
Russ Allbery [Fri, 4 Mar 2011 01:57:40 +0000 (17:57 -0800)]
Update copyright dates

14 years agoAdd changelog entry for upstream 2.2 release
Russ Allbery [Fri, 4 Mar 2011 01:56:38 +0000 (17:56 -0800)]
Add changelog entry for upstream 2.2 release

14 years agoMerge commit 'upstream/2.2' into debian
Russ Allbery [Fri, 4 Mar 2011 01:55:16 +0000 (17:55 -0800)]
Merge commit 'upstream/2.2' into debian

14 years agoImported Upstream version 2.2
Russ Allbery [Fri, 4 Mar 2011 01:55:15 +0000 (17:55 -0800)]
Imported Upstream version 2.2

14 years agoRelease 2.2
Russ Allbery [Fri, 4 Mar 2011 01:54:43 +0000 (17:54 -0800)]
Release 2.2

14 years agoFix copyright statements to match Stanford's official form
Russ Allbery [Fri, 4 Mar 2011 01:53:52 +0000 (17:53 -0800)]
Fix copyright statements to match Stanford's official form

14 years agoFix verb number in general package license statement
Russ Allbery [Mon, 3 Jan 2011 17:56:20 +0000 (09:56 -0800)]
Fix verb number in general package license statement

14 years agoHandle partitions with no RW volumes in check_afs_quotas
Russ Allbery [Thu, 23 Dec 2010 22:40:06 +0000 (14:40 -0800)]
Handle partitions with no RW volumes in check_afs_quotas

Correctly handle partitions containing no read/write volumes in
check_afs_quotas.  Thanks, Daniel Scott.

14 years agoAdd optional performance data to check_afs_space
Russ Allbery [Thu, 23 Dec 2010 22:04:55 +0000 (14:04 -0800)]
Add optional performance data to check_afs_space

Add a -d flag to check_afs_space that prints out Nagios performance
data for the percent usage of each partition checked.  Based on a
patch by Breandan Dezendorf.

15 years agoAdd NEWS entry for check_afs_quotas fix for unlimited quota
Russ Allbery [Sun, 12 Dec 2010 20:05:47 +0000 (12:05 -0800)]
Add NEWS entry for check_afs_quotas fix for unlimited quota

15 years agoHandle unlimited quota volumes in check_afs_quotas
Erik Dalén [Sun, 12 Dec 2010 20:04:51 +0000 (12:04 -0800)]
Handle unlimited quota volumes in check_afs_quotas

Volumes with unlimited quota previously caused a division by zero
error in check_afs_quotas.  Special-case the quota value of 0.

15 years agoUpdate binary search logic to look in PATH as a fallback
Russ Allbery [Sun, 12 Dec 2010 20:03:00 +0000 (12:03 -0800)]
Update binary search logic to look in PATH as a fallback

The vos binary is installed in sbin by the Red Hat packages and the
default upstream installation rules, so check in sbin as well as bin.
Patch from Daniel Scott.  Also fall back, for all AFS binaries, to
using PATH if the binary can't be found in known locations.

Also checks for vos in /usr/local/sbin/vos.

15 years agoCheck in /usr/sbin for vos as well
Daniel Scott [Sun, 12 Dec 2010 20:00:04 +0000 (12:00 -0800)]
Check in /usr/sbin for vos as well

In Fedora, the OpenAFS 'vos' binary is stored under:

/usr/sbin

and so I have added that directory to the search path in
check_afs_quotas and check_afs_space.

15 years agoAdd changelog for 2.1-1
Russ Allbery [Wed, 8 Dec 2010 19:38:55 +0000 (11:38 -0800)]
Add changelog for 2.1-1

15 years agoMerge commit 'upstream/2.1' into debian
Russ Allbery [Wed, 8 Dec 2010 19:38:25 +0000 (11:38 -0800)]
Merge commit 'upstream/2.1' into debian

15 years agoImported Upstream version 2.1
Russ Allbery [Wed, 8 Dec 2010 19:38:24 +0000 (11:38 -0800)]
Imported Upstream version 2.1

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 initial packaging date
Russ Allbery [Tue, 7 Dec 2010 17:35:32 +0000 (09:35 -0800)]
Update initial packaging date

15 years agoImported Upstream version 2.0
Russ Allbery [Tue, 7 Dec 2010 17:35:14 +0000 (09:35 -0800)]
Imported Upstream version 2.0

15 years agoMerge commit 'upstream/2.0' into debian
Russ Allbery [Tue, 7 Dec 2010 17:35:14 +0000 (09:35 -0800)]
Merge commit 'upstream/2.0' into debian

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 agoRemove Conflicts with Stanford package
Russ Allbery [Thu, 11 Nov 2010 01:41:48 +0000 (17:41 -0800)]
Remove Conflicts with Stanford package

We renamed all the checks, so we actually don't conflict with the
Stanford stanford-server-nagios package.

15 years agoAdd ${misc:Depends} to dependencies
Russ Allbery [Thu, 11 Nov 2010 01:41:26 +0000 (17:41 -0800)]
Add ${misc:Depends} to dependencies

15 years agoUse source format 3.0 (quilt)
Russ Allbery [Thu, 11 Nov 2010 01:40:57 +0000 (17:40 -0800)]
Use source format 3.0 (quilt)

Hopefully we'll never have patches.

15 years agoInstall upstream documentation properly
Russ Allbery [Thu, 11 Nov 2010 01:40:29 +0000 (17:40 -0800)]
Install upstream documentation properly

15 years agoAdd a watch file
Russ Allbery [Thu, 11 Nov 2010 01:39:38 +0000 (17:39 -0800)]
Add a watch file

15 years agoUse my correct e-mail address
Russ Allbery [Thu, 11 Nov 2010 01:38:37 +0000 (17:38 -0800)]
Use my correct e-mail address

15 years agoImported Upstream version 2.0
Russ Allbery [Thu, 11 Nov 2010 01:36:18 +0000 (17:36 -0800)]
Imported Upstream version 2.0

15 years agoMerge commit 'upstream/2.0' into debian
Russ Allbery [Thu, 11 Nov 2010 01:36:18 +0000 (17:36 -0800)]
Merge commit 'upstream/2.0' into debian

15 years agoImported Upstream version 2.0
Russ Allbery [Thu, 11 Nov 2010 01:36:03 +0000 (17:36 -0800)]
Imported Upstream version 2.0

15 years agoAdd initial Debian packaging
Russ Allbery [Thu, 11 Nov 2010 01:33:12 +0000 (17:33 -0800)]
Add initial Debian packaging

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.