Monitoring plugin to check how long ago the last snapshot of a ZFS dataset was created.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.travis.yml
LICENSE
Makefile
README.md
check_zfs_snapshot
description
icingaexchange.yml

README.md

Build Status

check_zfs_snapshot

Summary / Short description

Monitoring plugin to check how long ago the last snapshot of a ZFS dataset was created.

Usage

check_zfs_snapshot v1.1
Copyright (c) 2016-2018 Josef Friedrich <josef@friedrich.rocks>

Monitoring plugin to check how long ago the last snapshot of a ZFS dataset was created.


Usage: check_zfs_snapshot <options>

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 -c

Performance 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

Testing

make test