Skip to main content

Monitoring plugin to check how long ago the last ZFS scrub was performed.

Project description

This package on the Python Package Index Tests

Command line interface

check_zpool_scrub v2.0
Copyright (c) 2016-2026 Josef Friedrich <josef@friedrich.rocks>

Monitoring plugin to check how long ago the last ZFS scrub was performed.

Usage: check_zpool_scrub <options>

Options:
 -c, --critical=OPT_CRITICAL
    Interval in seconds for critical state.
 -p,--pool=OPT_POOL
    Name of the pool. If this option is omitted all pools are checked.
 -h, --help
    Show this help.
 -s, --short-description
    Show a short description / summary.
 -v, --version
    Show the version number.
 -w, --warning=OPT_WARNING
    Interval in seconds for warning state. Must be lower than -c.

Performance data:

POOL is the name of the pool

 - POOL_last_ago
    Time interval in seconds for last scrub.
 - POOL_progress
    Percent 0 - 100
 - POOL_speed
    MB per second.
 - POOL_time
    Time to go in seconds.

Details about the implementation of this monitoring plugin:

This monitoring plugin grabs the last scrub date from the command
'zpool status POOL'.

Project pages

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

check_zpool_scrub-3.0.0a0.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

check_zpool_scrub-3.0.0a0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file check_zpool_scrub-3.0.0a0.tar.gz.

File metadata

  • Download URL: check_zpool_scrub-3.0.0a0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for check_zpool_scrub-3.0.0a0.tar.gz
Algorithm Hash digest
SHA256 7f2a643ed6fa6d4999f52f093c7acfcf4a4e013206b1938a06a765e5699daae5
MD5 263bd885da77c3f8e8072938fa0a66b9
BLAKE2b-256 df03d1a245bed1cf29114171dfba025c55f02c57e858c15886618cd9925822c5

See more details on using hashes here.

File details

Details for the file check_zpool_scrub-3.0.0a0-py3-none-any.whl.

File metadata

  • Download URL: check_zpool_scrub-3.0.0a0-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for check_zpool_scrub-3.0.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 4a78498f8f46cf276adbd7deb054521e6347f450ca82106e6e69249a32ee5d19
MD5 8c139abf3b9135c086de39241b0af4c9
BLAKE2b-256 a7e5f93e9d5c0893bca7ca9c83c6e65a1620853c8137fa1f74c0cdd7388f23bf

See more details on using hashes here.

Supported by

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