Sorry we lost some posts because of database errors!

*New 12.1 series Release:
2020-09-01: XigmaNAS - released

*New 11.4 series Release:
2020-08-27: XigmaNAS - released!

We really need "Your" help on XigmaNAS translations. Please help today!

Producing and hosting XigmaNAS costs money. Please consider donating for our project so that we can continue to offer you the best.
We need your support! eg: PAYPAL

Monitoring Megaraid volume status via snmp

SNMP service.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
Posts: 6
Joined: 26 Feb 2013 04:48
Status: Offline

Monitoring Megaraid volume status via snmp


Post by mark0x01 »

Easy to implement.

To monitor a single megaraid volume status using mfiutil

create a folder on a data volume and copy mfiutil from /usr/sbin on the FreeBSD dvd.

This example uses Datapool0 and a folder called tools

Add to SNMP Auxiliary parameters

extNames.2 = "MegaRaid"
extCommand.2 = "/mnt/Datapool0/tools/raidstatus"


create the script and make executeable (chmod +x raidstatus)

#/bin/sh -f
## megaraid status
/mnt/Datapool0/tools/mfiutil show volumes | grep mfid0 | awk '{print $6}'

The oid is . and if all is ok it will return a string of OPTIMAL

Post Reply

Return to “SNMP”