Page 1 of 1
[Solved] How do I find hard drives with SNMP?
Posted: Tue Nov 13, 2012 7:59 pm
by jbruyet
Hey all, I built a Debian 6 server with a 4-disk 2TB array as a backup for an archiving device (size is per the archiving device manufacturer's recommendation). I have NRPE installed and I can see my basics -- CPU, UpTime, etc. I can also see my 160GB boot disk. Now I'm trying to find stats for the four hard drives in the array and I'm not having much luck finding anything useful using snmpwalk. I don't know that much about SNMP and Googling this has been pointless. Do I need to find a way to monitor the SATA ports on the motherboard or is there a way to see through the motherboard and touch the drives themselves? It's an Asus motherboard and their support web site had nothing for me.
Thanks,
Joe B
Re: How do I find hard drives with SNMP?
Posted: Wed Nov 14, 2012 1:50 pm
by jbruyet
Ok, I pulled the "walk," converted it to a .csv and then to an Excel file. I found entries for SDA, SDA1, SDB, SDB2, etc... up to my RAID array, md10. Actually, I should say I found the labels for my drives since their types are DisplayString. I can find reads, writes and IO entries but I can't find anything regarding a status. All I need is a way to determine Working/Not Working for my RAID drives. Any ideas?
Thanks,
Joe B
Re: How do I find hard drives with SNMP?
Posted: Wed Nov 14, 2012 5:16 pm
by jsmurphy
Hey Joe,
While I know nothing about monitoring IO statistics on a Linux server via SNMP, if you have NRPE installed on the server and SNMP is not a requirement you could use this plugin:
http://exchange.nagios.org/directory/Pl ... cs/details
check_by_ssh might also work here.
Hopefully this helps.
Re: How do I find hard drives with SNMP?
Posted: Wed Jan 30, 2013 4:15 pm
by jbruyet
Wow, sorry for the long delay. NRPE is working just fine. Thanks for the pointer.
Thanks,
Joe B
Re: How do I find hard drives with SNMP?
Posted: Wed Jan 30, 2013 4:37 pm
by abrist
Did you ever resolve your snmp issues?
Re: How do I find hard drives with SNMP?
Posted: Fri May 02, 2014 12:26 pm
by jbruyet
Wow, I just ran across this post and saw that I never replied. I found out how to monitor the free space and check the status too so I do that now.
Code: Select all
OK: c:: Total: 48.8G - Used: 15.6G (32%) - Free: 33.2G (68%)
Thanks,
Joe B
Re: [Solved] How do I find hard drives with SNMP?
Posted: Fri May 02, 2014 12:28 pm
by tmcdonald
Great, thanks for coming back for us. I'll be closing this thread now, but feel free to open another if you need anything in the future!