Skip to content

kumanote/diskmon

Repository files navigation

diskmon

diskmon is a simple disk usage monitoring tool.

Features

  • alert if disk capacity is more than threshold(e.g. 0.80 i.e. 80%)
  • check multiple mounted paths
  • alert to Airbrake (or Errbit)
    • you can customize logger to change how and where to report the alerting log to.

How to install

Prerequisite

Install

# download
$ git clone git@github.com:kumanote/diskmon.git
# install
$ cd diskmon
$ cargo build --release
# then you will find an executable in the following path
$ ls -ls ./target/release/diskmon

Docker build (optional)

# download
$ git clone git@github.com:kumanote/diskmon.git
# build
$ docker build -t diskmon:latest .

Run

Please set up config files before running the tool. See config.toml.example for configuration file example.

$ diskmon -c /path/to/config.toml

About

mount disk capacity monitoring tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published