Skip to content

A simple bash script that parses the smartctl output to show predictive or imminent failures on drives

License

Notifications You must be signed in to change notification settings

jaygreig86/smartcheck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

smartcheck

A simple bash script that parses the smartctl output to show predictive or imminent failures on drives

Requires smartmontools to be installed

Usage

$ chmod +x smart-check.sh

Simple output, useful to extend snmpd

$ ./smart-check

Extended output report

$ ./smart-check -d

Notes

  • Megaraid slot count is currently hard fixed at 20 as the upper limit to avoid excessive time in searching (there's probably an easier way to retrieve the slot count somewhere without sas2ircu/sas3ircu/megacli/storcli). The range I believe is 0 to 255

About

A simple bash script that parses the smartctl output to show predictive or imminent failures on drives

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages