{"id":22064506,"url":"https://github.com/josef-friedrich/check_zpool_scrub","last_synced_at":"2025-06-14T14:33:34.164Z","repository":{"id":49258575,"uuid":"100643434","full_name":"Josef-Friedrich/check_zpool_scrub","owner":"Josef-Friedrich","description":"Monitoring plugin to check how long ago the last ZFS scrub was performed.","archived":false,"fork":false,"pushed_at":"2024-08-03T09:23:41.000Z","size":305,"stargazers_count":4,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-13T01:01:43.304Z","etag":null,"topics":["icinga-plugin","icinga2-plugin","monitoring-plugin","nagios-plugin","shell","shell-script","zfs-scrub","zpool","zpool-scrub"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Josef-Friedrich.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-08-17T20:40:05.000Z","updated_at":"2024-08-03T09:23:44.000Z","dependencies_parsed_at":"2024-08-03T10:50:05.156Z","dependency_job_id":null,"html_url":"https://github.com/Josef-Friedrich/check_zpool_scrub","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/Josef-Friedrich/check_zpool_scrub","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Josef-Friedrich%2Fcheck_zpool_scrub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Josef-Friedrich%2Fcheck_zpool_scrub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Josef-Friedrich%2Fcheck_zpool_scrub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Josef-Friedrich%2Fcheck_zpool_scrub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Josef-Friedrich","download_url":"https://codeload.github.com/Josef-Friedrich/check_zpool_scrub/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Josef-Friedrich%2Fcheck_zpool_scrub/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259831212,"owners_count":22918471,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["icinga-plugin","icinga2-plugin","monitoring-plugin","nagios-plugin","shell","shell-script","zfs-scrub","zpool","zpool-scrub"],"created_at":"2024-11-30T19:12:15.177Z","updated_at":"2025-06-14T14:33:34.115Z","avatar_url":"https://github.com/Josef-Friedrich.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Note: The monitoring plugin is currently being rewritten from\nShell\n([check_zpool_scrub](https://github.com/Josef-Friedrich/check_zpool_scrub/blob/master/check_zpool_scrub)) to\nPython\n([check_zpool_scrub.py](https://github.com/Josef-Friedrich/check_zpool_scrub/blob/master/check_zpool_scrub.py)). Use the Shell version until further notice.\n\n# check_zpool_scrub\n\n\n## Summary / Short description\n\n\u003e Monitoring plugin to check how long ago the last ZFS scrub was performed.\n\n## Usage\n\n```\ncheck_zpool_scrub v2.0\nCopyright (c) 2016-2021 Josef Friedrich \u003cjosef@friedrich.rocks\u003e\n\nMonitoring plugin to check how long ago the last ZFS scrub was performed.\n\n\nUsage: check_zpool_scrub \u003coptions\u003e\n\nOptions:\n -c, --critical=OPT_CRITICAL\n    Interval in seconds for critical state.\n -p,--pool=OPT_POOL\n    Name of the pool. If this option is omitted all pools are checked.\n -h, --help\n    Show this help.\n -s, --short-description\n    Show a short description / summary.\n -v, --version\n    Show the version number.\n -w, --warning=OPT_WARNING\n    Interval in seconds for warning state. Must be lower than -c.\n\nPerformance data:\n\nPOOL is the name of the pool\n\n - POOL_last_ago\n    Time interval in seconds for last scrub.\n - POOL_progress\n    Percent 0 - 100\n - POOL_speed\n    MB per second.\n - POOL_time\n    Time to go in seconds.\n\nDetails about the implementation of this monitoring plugin:\n\nThis monitoring plugin grabs the last scrub date from the command\n'zpool status POOL'.\n\n```\n\n## Project pages\n\n* https://github.com/Josef-Friedrich/check_zpool_scrub\n* https://exchange.icinga.com/joseffriedrich/check_zpool_scrub\n* https://exchange.nagios.org/directory/Plugins/System-Metrics/File-System/check_zpool_scrub/details\n\n## Testing\n\n```\nmake test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjosef-friedrich%2Fcheck_zpool_scrub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjosef-friedrich%2Fcheck_zpool_scrub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjosef-friedrich%2Fcheck_zpool_scrub/lists"}