Author | mikadel |
---|---|
Compatibility | Xymon 4.3 |
Requirements | Linux, smartmontools |
Download | None |
Last Update | 2011-10-06 |
In conjunction with the smartmontools package this script monitors the S.M.A.R.T. status of your hard drives on Linux. This also works if your hard drives are “hidden” behind a raid controller.
Note: This currently only works for the first hard drive.
Create the following files in your xymon client directory:
monitoring script: <xymon-client-ext>/smart
monitoring config: <xymon-client-etc>/smart.conf
xymon monitor config: <xymon-client-etc>/clientlaunch.d/smart.cfg
Find your RAID crontroller at http://sourceforge.net/apps/trac/smartmontools/wiki/Supported_RAID-Controllers and change CONTROLLER@smart.conf accordingly.
Additionally you have to allow sudo for hobbit. Edit visudo and add this line:
hobbit ALL=NOPASSWD:/usr/sbin/smartctl
None.
This currently only works for the first hard drive.
Enable monitoring for all hard drives.