Is there a way to share S.M.A.R.T. data over SNMP? I'd like to be able to make cacti graphs of it and hook it up to Nagios.

What I want to do is be able to get some statistics on my harddisks accessible over SNMP. This will allow me to graph the number of $SMART_MEASUREMENT_VALUE against time.

link|improve this question

79% accept rate
You need to elaborate a lot more if you want a decent answer. – chankster Jul 31 '09 at 13:30
feedback

2 Answers

up vote 4 down vote accepted

Maybe this will suit your needs: Quoted from this link:

You'll need the SmartMonTools package and use *check_smart.pl* perl script (nagios plugin) to check hard drive health by running S.M.A.R.T. self-tests using the smartctl command, add to your snmpd.conf:

exec CheckSmart /path/to/check_smart.pl -t -d /dev/hda

link|improve this answer
It is interesting to see SMART parameters changing in time. And this plugin only tests current value. – exquisitor Jul 31 '09 at 14:12
1  
@exquisitor: SNMP commonly only supplies the current value; it is usually the task of the management server collecting the data to store old data for analysis. – sleske Nov 30 '10 at 1:31
feedback

There are patches that add SNMP support to smartd (in smartmontools-devel@ list); none were integrated, as far as I remember.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.