Monitor RAID status on QNAP NAS

Hi,
I monitor my QNAP NAS with the QNAP plugin. But I wonder, if it’s also possible to monitor the RAID status of my device. When I do a service discovery, Filesystems, disks and disk temperature is automatically discovered. Unfortunately, I don’t see anything related to RAID status. Is this specific SNMP OID currently not implemented in the original QNAP plugin?

─➤ snmpwalk -v2c -c .1.3.6.1.4.1.24681.1.2.17.1
iso.3.6.1.4.1.24681.1.2.17.1.1.1 = INTEGER: 1
iso.3.6.1.4.1.24681.1.2.17.1.2.1 = STRING: “[Mirror Disk Volume: Drive 1 2]”
iso.3.6.1.4.1.24681.1.2.17.1.3.1 = STRING: “EXT4”
iso.3.6.1.4.1.24681.1.2.17.1.4.1 = STRING: “1.79 TB”
iso.3.6.1.4.1.24681.1.2.17.1.5.1 = STRING: “325.99 GB”
iso.3.6.1.4.1.24681.1.2.17.1.6.1 = STRING: “Rebuilding…”

Does anyone has an hint for me how to archive my goal?
Regards,
Alex

For some oids not supported in a plugin, as a workaround I used Setup > Services > Other services > Integrate Nagios plugins rules on the folder of our printers to add some snmp oid checks.

This specific OID .1.3.6.1.4.1.24681.1.2.17.1 is currently not monitored by Checkmk.

You could build your own SNMP check plugin or ask a partner or the Checkmk developers to do it for you.

We have an extension that implements a ruleset for check_snmp:

https://exchange.checkmk.com/p/check-snmp

1 Like

What is the advantage for using your extension over the way that I implemented my workaround?

You do not have to enter the whole command line.
There are some operations available like rate calculation.
You can regex match on strings.

1 Like

Where I applied my workarounds are all showing static info like device, model, serial and such. So no real urge to change that now, but it might become useful someday.

Perhaps good to update the exchange description(s) to reflect those advantages?

I used the classic Nagios SNMP check as proposed by Yggi, but I think I’ll try to write my own RAID check.
@r.sander: I installed and activated the mkp SNMP extension, but I couldn’t find out how to use resp. how to configure it. Can you please explain in a few words?

Regards,
Alex

It creates a new ruleset in “Other services”.

Ah okay, I see. Thanks.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.