User-Visible afs-monitor Changes
+afs-monitor 2.2 (unreleased)
+
+ 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.
+
afs-monitor 2.1 (2010-12-08)
Fix a bug in check_afs_space introduced in the previous release with
# The full path to bos. Make sure that this is on local disk so that
# monitoring doesn't have an AFS dependency.
our ($BOS) = grep { -x $_ } qw(/usr/bin/bos /usr/local/bin/bos);
-$BOS ||= '/usr/bin/bos';
+$BOS ||= 'bos';
# The default timeout in seconds (implemented by alarm) for rxdebug.
our $TIMEOUT = 10;
# The full path to vos. Make sure that this is on local disk so that
# monitoring doesn't have an AFS dependency.
-our ($VOS) = grep { -x $_ } qw(/usr/bin/vos /usr/local/bin/vos /usr/sbin/vos);
-$VOS ||= '/usr/bin/vos';
+our ($VOS) = grep { -x $_ }
+ qw(/usr/bin/vos /usr/sbin/vos /usr/local/bin/vos /usr/local/sbin/vos);
+$VOS ||= 'vos';
##############################################################################
# AFS operations
our ($RXDEBUG) = grep { -x $_ }
qw(/usr/bin/rxdebug /usr/sbin/rxdebug /usr/local/bin/rxdebug
/usr/local/sbin/rxdebug);
-$RXDEBUG ||= '/usr/bin/rxdebug';
+$RXDEBUG ||= 'rxdebug';
##############################################################################
# Implementation
# The full path to vos. Make sure that this is on local disk so that
# monitoring doesn't have an AFS dependency.
-our ($VOS) = grep { -x $_ } qw(/usr/bin/vos /usr/local/bin/vos /usr/sbin/vos);
-$VOS ||= '/usr/bin/vos';
+our ($VOS) = grep { -x $_ }
+ qw(/usr/bin/vos /usr/sbin/vos /usr/local/bin/vos /usr/local/sbin/vos);
+$VOS ||= 'vos';
##############################################################################
# Implementation
# The full path to udebug. Make sure that this is on local disk so that
# monitoring doesn't have an AFS dependency.
our ($UDEBUG) = grep { -x $_ } qw(/usr/bin/udebug /usr/local/bin/udebug);
-$UDEBUG ||= '/usr/bin/udebug';
+$UDEBUG ||= 'udebug';
##############################################################################
# Implementation