Skip to main content

Helpers for AFS monitoring in Python

Project description

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 all available information for the server, partitions and volumes.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page