Aacraid.smart: Smart Data for Disks behind Adaptec RAID Controller

“On the internet” it is written, that smart data of disks behind an adaptec RAID Controller are shown by querying the the corresponding /dev/sgX device.

This is not true for the Adaptec RAID Controllers I have in front of me. The only method that works here is to use the arcconf utility with the following command:

arcconf getsmartstats #controller

This delivers an smart report in xml format.

So I wrote an extension for the smart agent-plugin from check_mk which transforms the data so it is as expected by the smart check. Since the arcconf utility takes some seconds to run, I recommend to run it asynchronously.

See here for the code and instructions: