Coder Social home page Coder Social logo

esaudet / zabbix-hdd-smart Goto Github PK

View Code? Open in Web Editor NEW

This project forked from andrey-ivanov/zabbix-hdd-smart

0.0 0.0 0.0 7 KB

Zabbix SMART (S.M.A.R.T.) monitor for SATA and NVMe disks using smartctl (smartmontools) or nvme (nvme-cli)

Shell 100.00%

zabbix-hdd-smart's Introduction

Zabbix SMART (S.M.A.R.T.) monitor for SATA and NVMe disks using smartctl

(smartmontools) or nvme (nvme-cli)

Features:

  • Auto discovery of drive by smartctl (smartmontools) or nvme (nvme-cli)
  • Will trigger an alert on monitored disk failure and temperature attributes
  • Drives are probed every 1 hour
  • Active Zabbix agent discovery and items

Install:

  1. Make sure smartctl (smartmontools) is installed if you plan to monitor SATA drives
  2. Make sure smartmontools version 6.6+ is installed to monitor NVMe. nvme (nvme-cli) may be installed if such version is not avaialble (e.g. for Ubuntu 16.04 LTS)
  3. Download repository files and run to install files
cd zabbix-hdd-smart-master
sudo bash install.sh
  1. Import hdd-smart.xml on Zabbix Monitoring Server
  2. Create /etc/zabbix/hdd-smart.conf and add any RAID devices or ignore device (see example hdd-smart.conf in repository)

Common Problems:

  • If all of the SMART values show as not supported you most likely need to install smartmontools on the monitored machine.
  • If a drive is missing from the listing, make sure it is listed by
smartctl --scan
  • Some drives only give Temperature_Celsius, some only give Airflow_Temperature_Cel, and some give both. So in hdd-smart.xml look for Temperature_Cel (which will catch both) and in only take the first output. On drives that provide both temperatures there is no guarantee which one will show up first. This should only be a minor problem and is the result of S.M.A.R.T not being an official set of standards.

Known issue

  • nvme cli does not provide a health status of disk (self test result)

Special Thanks:

Mostly based on zab-smartmon project by Ronald Farrer (@rfarrer)

zabbix-hdd-smart's People

Contributors

andrey-ivanov 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.