Skip to content

Simple SMART value sending to graphite

Notifications You must be signed in to change notification settings

schachr/graphite-smartctl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

graphite-smartctl

It's a simple script which parses the output of all deteced hard disks via smartctl and feed it into graphite. Only one connection is made to send all the catched metrics to graphite.

Tested on:

  • debian 9.0
  • armbian
  • enigma2 (VTi)
  • cygwin

Configuration

Please adjust the variables

  • _graphiteprefix
  • _graphitehost
  • _graphiteport

... at the beginning of the file to match your environment.

Single Disk Mode

Optionally you can provide a single disk via argument to gather statistics from: ./graphite-smartctl.sh sda

Copyright (c)2017 by schachr

This script comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. See CC BY-NC-SA 4.0 for details. https://creativecommons.org/licenses/by-nc-sa/4.0/

Releases

No releases published

Packages

No packages published

Languages