
Backup volumes appear in the "vol listvol" with a "BK" status, which broke our existing match which only handles RO/RW volumes. Add matching for this, and a basic unit test for parsing of this output. Change-Id: I1b3e985f79977981b2f0d3e3d3823d99f7cf3626
afsmon
Python library and utilities for monitoring AFS file-systems using OpenAFS tools.
Many of the details are inspired by https://github.com/openafs-contrib/afs-tools
Command-line
The afsmon
tool provides
show
: produce tabular output of key statistics for a cell, such as threads on file-servers, partition usage, volume usage and quotas.statsd
: report similar results to a statsd host.
Configuration is minimal, see the sample.cfg
.
Library
The core of afsmon
should suitable for use in other
contexts.
The fs
object now contains a
FileServerStats
with all available information for the
server, partitions and volumes.
Description
Languages
Python
100%