Select Supported Platforms

Select Supported Architectures

Select Tier

Github Name


v1.0.0 · public · Published about 4 years ago

README
Asset Definition
Release Notes
Release Assets

Bonsai Asset Badge TravisCI Build Status

Sensu Go Restic Plugin

TODO: Table of Contents

Overview

This plugin allows to check the age of the latest Restic snapshot.

Configuration

Example usage:

./sensu-restic -c 86400 -w 3600
./sensu-restic -c 86400 -w 3600 -f "--tag mysql --no-cache --no-lock"

Asset Registration

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.

Asset configuration

---
type: Asset
api_version: core/v2
metadata:
  name: sensu-restic
spec:
  url: https://CHANGEME
  sha512: CHANGEME

Resource check configuration

Example Sensu Go definition:

---
api_version: core/v2
type: CHANGEME
metadata:
  namespace: default
  name: CHANGEME
spec:
  "...": "..."

Functionality

This plugin requires Restic to be installed.

Installation from source and contributing

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

Are you sure you want to report this asset?

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.

×

You must be signed in to report this asset.

Sign In with Github

Download

×

Either download the source code:

Download Source

Or download the asset definition: