Munin plugin for monitoring various Areca RAID cards via the official cli64 utility
Tested on an ARC-1220ML and an ARC-1882ix-24 (firmware V1.56). The two report
their sensors quite differently - the 1220ML prints Power +12V : 11.916 and
lists the drive temperatures in hw info, the 1882 prints 12V : 12.160 V
and only exposes drive temperatures through disk info drv=<n> - and both are
handled.
| Symlink | Contents |
|---|---|
areca_temp |
Controller temperature sensors (plus drive temperatures on cards that report them in hw info) |
areca_volt |
Voltage rails |
areca_fan |
Fan speeds |
areca_drivetemp |
Temperature of every populated drive |
areca_error |
Media error and timeout counters of every populated drive |
areca_status |
State of every raid set and volume set, 0 while normal and 1 otherwise |
Run sudo /usr/share/munin/plugins/areca_ suggest to see which of these your
controller can actually feed.
arcmsr modules must be loaded in the kernel
Install Areca cli64 utility (https://www.areca.com.tw/support/downloads.html) and add it to your $PATH
Verify cli64 works with the command cli64 hw info
Place in /usr/share/munin/plugins, then create symlinks from /etc/munin/plugins for the graphs you want, e.g. areca_temp, areca_volt, areca_fan, areca_drivetemp, areca_error and areca_status.
Edit /etc/munin/plugin-conf.d/munin-node and add:
[areca*]
user root
areca_drivetemp and areca_error ask the controller about each drive separately, so on a card with many drives they need longer than the munin-node default of 10 seconds:
[areca_drivetemp]
user root
timeout 60
[areca_error]
user root
timeout 60
Optionally, if you want to exclude unused ports from showing up in the graph add
env.ignore_temp2 y
Where temp2 is the name of the field you want to exclude, as printed by munin-run areca_temp. Drive fields are named after the drive number of cli64 disk info, for example env.ignore_drv9 y.
Thresholds can be set per graph, they apply to every field of it:
env.drivetemp_warning 50
env.drivetemp_critical 55
Reload munin config with sudo service munin-node restart
Verify the plugin is working by running sudo munin-run areca_temp, and the same for every other symlink you created.