Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/josef-friedrich/check_zpool_scrub
Monitoring plugin to check how long ago the last ZFS scrub was performed.
https://github.com/josef-friedrich/check_zpool_scrub
icinga-plugin icinga2-plugin monitoring-plugin nagios-plugin shell shell-script zfs-scrub zpool zpool-scrub
Last synced: 23 days ago
JSON representation
Monitoring plugin to check how long ago the last ZFS scrub was performed.
- Host: GitHub
- URL: https://github.com/josef-friedrich/check_zpool_scrub
- Owner: Josef-Friedrich
- License: mit
- Created: 2017-08-17T20:40:05.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2024-08-03T09:23:41.000Z (5 months ago)
- Last Synced: 2024-08-03T10:35:18.026Z (5 months ago)
- Topics: icinga-plugin, icinga2-plugin, monitoring-plugin, nagios-plugin, shell, shell-script, zfs-scrub, zpool, zpool-scrub
- Language: Shell
- Homepage:
- Size: 298 KB
- Stars: 4
- Watchers: 4
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Note: The monitoring plugin is currently being rewritten from
Shell
([check_zpool_scrub](https://github.com/Josef-Friedrich/check_zpool_scrub/blob/master/check_zpool_scrub)) to
Python
([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.# check_zpool_scrub
## Summary / Short description
> Monitoring plugin to check how long ago the last ZFS scrub was performed.
## Usage
```
check_zpool_scrub v2.0
Copyright (c) 2016-2021 Josef FriedrichMonitoring plugin to check how long ago the last ZFS scrub was performed.
Usage: check_zpool_scrub
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
* https://github.com/Josef-Friedrich/check_zpool_scrub
* https://exchange.icinga.com/joseffriedrich/check_zpool_scrub
* https://exchange.nagios.org/directory/Plugins/System-Metrics/File-System/check_zpool_scrub/details## Testing
```
make test
```