Synology monitoring
In case of usage of
Virtual Appliance
- Use local account lpar2rrd for hosting of STOR2RRD on the virtual appliance
- Use /home/stor2rrd/stor2rrd as the product home
The product obtains all data from Synology SNMP interface.
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)
- AIX
Download Net-SNMP packages and install them.
Do not use the latest packages on AIX, it does not work, use net-snmp-5.6.2.1-1!
# umask 0022
# rpm -Uvh net-snmp-5.6.2.1-1 net-snmp-utils-5.6.2.1-1 net-snmp-perl-5.6.2.1-1
Make sure
- you use PERL=/opt/freeware/bin/perl in etc/stor2rrd.cfg
- PERL5LIB in etc/stor2rrd.cfg contains /opt/freeware/lib/perl5/vendor_perl/5.8.8/ppc-thread-multi path
- Linux
# 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.
Allow network access
-
Allow access from the STOR2RRD host to the Synology storage (EVS IP) on port 161 UDP .
Test if port is open:
$ perl /home/stor2rrd/stor2rrd/bin/conntest_udp.pl 192.168.1.1 161
Connection to "192.168.1.1" on port "161" is ok
Storage SNMP configuration
Open storage UI ➡Terminal & SNMP:
STOR2RRD storage configuration