Monitoring SMART attributes for a changing set of disks.
John Drescher <[email protected]>
| Newsgroups | gmane.network.nagios.plugins |
|---|---|
| Message-ID | <CAEhu1-4_tNznVa_3zMgf=7RUYjbE=RO+60VJ3RbVdzJCm-82Ow@mail.gmail.com> |
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 ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null