Giter Club home page Giter Club logo

rdiff-munin-plugin's Introduction

Rdiff-Backup Munin Plugin

This Munin plugin logs the rdiff_backup statistic data. So you can easily see how many files were changed, removed, incremented or added.


Installation

Download repository via Github (recommended)

git clone https://github.com/w1nte/rdiff-munin-plugin.git /usr/local/munin/lib/plugins/rdiff-munin-plugin

Or download single file

wget https://raw.githubusercontent.com/w1nte/rdiff-munin-plugin/master/rdiff_backup_ /usr/local/munin/lib/plugins

Configuration

1. Change permission

Use chmod a+x to make the plugin executable.

chmod a+x /usr/local/munin/lib/plugins/rdiff-munin-plugin/rdiff_backup_

2. Enable plugin

Create a symbolic link rdiff_backup_<folder> in /etc/munin/plugins/ for each backup folder *.

ln -s /usr/local/munin/lib/plugins/rdiff-munin-plugin/rdiff_backup_ /etc/munin/plugins/rdiff_backup_folder1

* Please note that this is a wildcard plugin. See Wildcard-Plugins for more information.

3. Configure plugins

Create a configuration file rdiff_backup in /etc/munin/plugin-conf.d.

[rdiff_backup_*]
    user root
    group root

[rdiff_backup_folder1]
    env.dir /path/to/backupfolder

4. Install requirements

Install the dependencies if required:

  • python3
  • python3-dateutil

5. Restart Munin-node

service munin-node restart

6. Test the plugins

munin-run -d rdiff_backup_folder1

rdiff-munin-plugin's People

Contributors

w1nte avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.