cancel
Showing results for 
Search instead for 
Did you mean: 
Create Post
Level 8

Monitor Linux softraid (mdadm or /proc/mdstat) with Orion

Jump to solution

Hello,

I have a linux server with a couple of raid arrays that I would like to monitor with Orion. If one of the disks starts to fail, the array goes into degraded mode, etc, I would like to know about it via an alert from Orion.

I have already configured netsnmp on my linux server and verified that I can walk it. I have added the server to Orion without issue as well, and it is already monitoring things like CPU load, response time, etc. Now I just need to find a way to monitor the raid array, but that's where I'm stuck.

I think the best direction is to use something like this (stefansaraev/snmp-swraid · GitHub) - But even with that set up on my linux server, how do I go about telling Orion to monitor it?

Any help or insights are appreciated.

0 Kudos
1 Solution
Product Manager
Product Manager

Once the MIBs are loaded into NET-SNMP you'll want to run an SNMP Walk of the device to ensure they're working. Verify the OID's you'd like monitored. Then create a Universal Device Poller (if you own NPM) or an SNMP Monitor (if you own SAM). Another option is to write a script and use SAM's Linux/Unix Script monitor to check the status of the array. You can also use SAM's Nagios Script Monitor to leverage scripts available in the Nagios Exchange, such as this one -> Software RAID - Nagios Exchange.

View solution in original post

2 Replies
Product Manager
Product Manager

Once the MIBs are loaded into NET-SNMP you'll want to run an SNMP Walk of the device to ensure they're working. Verify the OID's you'd like monitored. Then create a Universal Device Poller (if you own NPM) or an SNMP Monitor (if you own SAM). Another option is to write a script and use SAM's Linux/Unix Script monitor to check the status of the array. You can also use SAM's Nagios Script Monitor to leverage scripts available in the Nagios Exchange, such as this one -> Software RAID - Nagios Exchange.

View solution in original post

Thank you for your help.

0 Kudos