*New 11.3 series Release:
2019-10-19: XigmaNAS 11.3.0.4.7014 - released

*New 12.0 series Release:
2019-10-05: XigmaNAS 12.0.0.4.6928 - released!

*New 11.2 series Release:
2019-09-23: XigmaNAS 11.2.0.4.6881 - released!

We really need "Your" help on XigmaNAS https://translations.launchpad.net/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
mark0x01
NewUser
NewUser
Posts: 6
Joined: 26 Feb 2013 04:48
Status: Offline

Monitoring Megaraid volume status via snmp

#1

Post by mark0x01 » 23 Apr 2013 00:35

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"

enable UCD-SNMP-MIB

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 .1.3.6.1.4.1.2021.8.1.101.2 and if all is ok it will return a string of OPTIMAL

Post Reply

Return to “SNMP”