License
MIT License
v1.0.0 · public · Published about 3 years ago
TODO: Table of Contents
This plugin allows to check the age of the latest Restic snapshot.
Example usage:
./sensu-restic -c 86400 -w 3600
./sensu-restic -c 86400 -w 3600 -f "--tag mysql --no-cache --no-lock"
Assets are the best way to make use of this plugin. If you're not using an asset, please consider doing so! If you're using sensuctl 5.13 or later, you can use the following command to add the asset:
sensuctl asset add boutetnico/sensu-restic:VERSION
If you're using an earlier version of sensuctl, you can find the asset on the Bonsai Asset Index.
---
type: Asset
api_version: core/v2
metadata:
name: sensu-restic
spec:
url: https://CHANGEME
sha512: CHANGEME
Example Sensu Go definition:
---
api_version: core/v2
type: CHANGEME
metadata:
namespace: default
name: CHANGEME
spec:
"...": "..."
This plugin requires Restic to be installed.
The preferred way of installing and deploying this plugin is to use it as an [asset]. If you would like to compile and install the plugin from source or contribute to it, download the latest version of the sensu-restic from releases
or create an executable script from this source.
From the local path of the sensu-restic repository:
go build -o /usr/local/bin/sensu-restic main.go
For more information about contributing to this plugin, see https://github.com/sensu/sensu-go/blob/master/CONTRIBUTING.md
Please describe the reason for reporting this asset. Our moderators will be notified and will disable the asset if it is found to be inappropriate.
×