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

Note: This monitoring plugin is written in Python from version 3 onwards. Earlier versions of this plugin were written in shell script. The latest version of the shell script can be retrieved via the git history.

Command line interface

usage: check_zpool_scrub [-h] [-V] [-v] [-w WARNING] [-c CRITICAL] [-p POOL]
                         [-d]

version 3.0.0a2
Licensed under the MIT.
Repository: https://github.com/Josef-Friedrich/check_zpool_scrub.
Copyright (c) 2016-2026 Josef Friedrich <josef@friedrich.rocks>

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

options:
  -h, --help            show this help message and exit
  -V, --version         show program's version number and exit
  -v, --verbose         Increase output verbosity (use up to 3 times).
  -w, --warning WARNING
                        Interval in seconds for warning state. Must be lower
                        than -c.
  -c, --critical CRITICAL
                        Interval in seconds for critical state.
  -p, --pool POOL       Name of the pool. If this option is omitted all pools
                        are checked.
  -d, --debug           Increase debug verbosity (use up to 3 times): -D: info
                        -DD: debug. -DDD verbose

Performance data:

POOL is the name of the pool

 - POOL_last_scrub
    Time interval in seconds for last scrub.
 - POOL_progress
    Percent 0 - 100
 - POOL_speed
    MB per second.
 - POOL_time_to_go
    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.0a2.tar.gz (6.3 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.0a2-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: check_zpool_scrub-3.0.0a2.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.5 {"installer":{"name":"uv","version":"0.10.5","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":true}

File hashes

Hashes for check_zpool_scrub-3.0.0a2.tar.gz
Algorithm Hash digest
SHA256 0f40954f8dc3987cbefd37b49d2c33d8daaa09e39c6e3ffc9145569238545acd
MD5 33ba68f66fbc8479d3c4bc88a7924973
BLAKE2b-256 5cef04bff8cb032cc811f18e9f5b26ae374f1fbcdd8f8697f4916e8f1555b41f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: check_zpool_scrub-3.0.0a2-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.5 {"installer":{"name":"uv","version":"0.10.5","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":true}

File hashes

Hashes for check_zpool_scrub-3.0.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 09cbe5483bfa1e789eaba9cd28f8291a771bd390f266355e35f686c5dc507190
MD5 14c97dcbf039da0081566e741158b596
BLAKE2b-256 c8865771a1ba7b6350b1525cb669182e1a29dcc505e72965834a68984e6d87d9

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