Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/josef-friedrich/check_zfs_snapshot
Monitoring plugin to check how long ago the last snapshot of a ZFS dataset was created.
https://github.com/josef-friedrich/check_zfs_snapshot
icinga-plugin icinga2-plugin monitoring-plugin nagios-plugin shell shell-script zfs zfs-snapshots
Last synced: about 1 month ago
JSON representation
Monitoring plugin to check how long ago the last snapshot of a ZFS dataset was created.
- Host: GitHub
- URL: https://github.com/josef-friedrich/check_zfs_snapshot
- Owner: Josef-Friedrich
- License: mit
- Created: 2017-08-15T19:08:44.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2024-08-03T09:18:41.000Z (5 months ago)
- Last Synced: 2024-08-03T10:31:59.508Z (5 months ago)
- Topics: icinga-plugin, icinga2-plugin, monitoring-plugin, nagios-plugin, shell, shell-script, zfs, zfs-snapshots
- Language: Shell
- Homepage:
- Size: 188 KB
- Stars: 6
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# check_zfs_snapshot
Note: The monitoring plugin is currently being rewritten from
Shell
([check_zfs_snapshot](https://github.com/Josef-Friedrich/check_zfs_snapshot/blob/master/check_zfs_snapshot)) to
Python
([check_zfs_snapshot.py](https://github.com/Josef-Friedrich/check_zfs_snapshot/blob/master/check_zfs_snapshot.py)). Use the Shell version until further notice.## Summary / Short description
> Monitoring plugin to check how long ago the last snapshot of a ZFS dataset was created.
## Usage
```
check_zfs_snapshot v1.2
Copyright (c) 2016-2018 Josef FriedrichMonitoring plugin to check how long ago the last snapshot of a ZFS dataset was created.
Usage: check_zfs_snapshot
Options:
-c, --critical=OPT_CRITICAL
Interval in seconds for critical state.
-d, --dataset=OPT_DATASET
The ZFS dataset to check.
-h, --help
Show this help.
-s, --short-description
Show a short description of the command.
-v, --version
Show the version number.
-w, --warning=OPT_WARNING
Interval in seconds for warning state. Must be lower than -cPerformance data:
- last_ago
Time interval in seconds for last snapshot.
- warning
Interval in seconds.
- critical
Interval in seconds.
- snapshot_count
How many snapshot exists in the given dataset and all child
datasets exists.```
## Project pages
* https://github.com/Josef-Friedrich/check_zfs_snapshot
* https://exchange.icinga.com/joseffriedrich/check_zfs_snapshot
* https://exchange.nagios.org/directory/Plugins/System-Metrics/File-System/check_zfs_snapshot/details## Testing
```
make test
```