See www.zabbix.com for the official Zabbix site.

InstallOnSynology

From Zabbix.org
Jump to: navigation, search

Howto install Zabbix on Synology

  • install the spk
  • compile from source

Install the spk

Download the spk from https://voorhuis.xs4all.nl:8443/raw/zabbix-spk.git/master/zabbix_evansport_2.4.4-1.spk and install it through the package manager of DSM. The spk is compiled for DSM5 and not DSM4 and your Synology model needs to be an evansport arch. If you need DSM4 compatibility than you'll need to proceed to method 2. See http://forum.synology.com/wiki/index.php/What_kind_of_CPU_does_my_NAS_have for more models

Install from source

This is more complicated because you'll need to install a cross-compile environment. Have a look at https://github.com/SynoCommunity/spksrc on howto setup a cross-compile environment. I have setup a debian7-x86 VM for this purpose. Tried to use my native Fedora install but as said on the site that doesn't work!

Next checkout the source from my gitblit repo: git clone https://voorhuis.xs4all.nl:8443/r/spksrc.git and follow the docs from SynoCommunity on how to compile a package. Boils down to:

  • cd spksrc/
  • make setup
  • cd spk/zabbix
  • make arch-evansport

Note: this currently only works for the following architectures: bromolow cedarview x86 qoriq evansport

Due to the amount of support packages it will take some time to finish. See the last commit to what I have updated the support packages too. It's possible that some packages will go away (mysql being one of them) when enough time goes by. There are some problems with 5.6.23 which I haven't solved, yet, but its always possible to download an older version and adapt either the Makefile of make sure its found in the correct location. The spk will be in the packages folder if all goes well. Use the DSM package manager to install it.

From here its standard zabbix configuration. You'll find an entry in DSM to configure the services and to start/stop them.

Mainmenu.png Zabbixservices1.png Zabbixservices2.png