[Nagiosplug-help] Monitoring SMART attributes for a changing set of disks.

John Drescher drescherjm at gmail.com
Mon Feb 25 14:29:29 CET 2013


For the last few years I have monitored 75 to 100 hard drives that are
in my linux based software raid servers using the check_smartmon.pl
plugin. I do this by having 1 service for each drive and SMART
attribute I want to monitor (currently temp and reallocated sectors).
However with drive failure and reconfiguring arrays after storage
upgrades this has been a little bit of a pain because after adding or
removing drives I need to go and manually update the nagios config on
the web server and on the raid server otherwise if I reduce or
increase the drives on the server I either get non monitored drives or
warnings in nagios. I was thinking I could make this a lot simpler by
writing a script on the client that runs at boot (or manually after I
make a change) and determines all of the drives in the system putting
the list into a text file. Then modify check_smartmon.pl to run on all
the drives listed in the script. Anyone do something like this or have
any thoughts about that?

Thanks,
John M. Drescher




More information about the Help mailing list