Skip to content

ajclark/datadog-smartmon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

datadog-smartmon

Datadog plugin to report hard drive metrics

Introduction

A simple Datadog plugin to report hard drive stats. Uses pySMART to discover all hard drives and pushes all S.M.A.R.T information for each drive to DataDog. Useful for monitoring a file server or home nas.

Alt text

Instructions

  • Install smartmon tools
apt-get install smartmontools
  • Allow smartctl to be executed by non-root users (sorry!)
chmod +s /usr/sbin/smartctl
  • Install pySMART to the custom datadog embedded python location (seriously?!)
sudo -Hu dd-agent /opt/datadog-agent/embedded/bin/pip install pysmart
  • Copy over the custom check and check config file to the DataDog agent install directory
cp smartmon.yaml /etc/datadog-agent/conf.d/
cp smartmon.py /etc/datadog-agent/checks.d/
  • Restart the Datadog agent

Releases

No releases published

Packages

No packages published

Languages