Data is obtained from Synology via SNMP protocol.
Note: DSM version 6.1 and older do not support capacity data.
We do not collect data for pools. The reason is:
There are two types of pools:
- "Better performance" = Single volume support
- "Higher flexibility" = Multiple volumes support
SNMP does not provide data for a single volume pool
We only have the "array_total" pool (sum all volumes).
Install Prerequisites
Skip that in case of Virtual Appliance.
- Linux RedHat / Rocky
# umask 0022
# yum install net-snmp
# yum install net-snmp-utils
# yum install net-snmp-perl
Note you might need to allow optional repositories on RHEL to yum can find it
# subscription-manager repos --list
...
# subscription-manager repos --enable rhel-7-server-optional-rpms
Use rhel-7-for-power-le-optional-rpms for Linux on Power etc ...
- Linux Debian/Ubuntu
% umask 0022
% apt-get install snmp libsnmp-perl snmp-mibs-downloader
Assure that this line is commented out in /etc/snmp/snmp.conf
#mibs :
If apt-get does not find snmp-mibs-downloader package then enable contrib and non-free repositories.
Storage SNMP configuration
Open storage UI ➡Terminal & SNMP:
XorMon NG storage configuration
-
Add storage into configuration from the UI:
XorMon NG UI ➡ Settings icon ➡ Device ➡ Storage ➡ New ➡ Vendor:device ➡ Synology
- Run "Test" for configured storage device, it must show "OK"
-
Wait about 1 hour, then reload the web browser, you should see it in XorMon NG UI