Ian Wienand cacf936df8 Add some config options
Add a fileservers option (which extends the cell list if specified).

Add debug option to config file

Better handle all config variables and better document the sample
config file.
2018-06-05 11:54:37 +10:00
2018-06-05 11:54:37 +10:00
2018-05-31 19:40:44 +10:00
2018-06-01 14:25:22 +10:00
2018-05-31 10:40:51 +10:00
2018-06-01 08:40:03 +10:00
2018-06-05 11:54:12 +10:00
2018-06-01 14:25:22 +10:00
2018-06-05 11:54:37 +10:00
2018-06-01 08:40:03 +10:00
2018-05-31 11:02:11 +10:00
2018-05-31 11:02:11 +10:00
2018-05-31 11:02:11 +10:00

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.

import afsmon
fs = afsmon.FileServerStats('hostname')
fs.get_stats()

The fs object now contains a FileServerStats with all available information for the server, partitions and volumes.

Description
Python based monitoring for AFS
Readme 145 KiB
Languages
Python 100%