Zabbix Server on Nethserver based on Raspberry Pi 3?

Today I installed NS on a Raspberry Pi 3. I used the wiki: How to install Nethserver 7 on a RaspberryPI2/3 for that and everyting went well :smiley:.

Is it possible to get/install a Zabbix Server on the Nethserver Pi ?

1 Like

It worked some time ago, please test it:

There are some Dependency Errors, this is the output:

[root@raspi40 ~]# yum install --enablerepo=nethserver-testing,epel-pass1 https://mrmarkuz.goip.de/mirror/devtest/nethserver-zabbix-mysql-0.       0.1-1.ns7.noarch.rpm
Loaded plugins: changelog, fastestmirror, nethserver_events
nethserver-zabbix-mysql-0.0.1-1.ns7.noarch.rpm                                                                      | 3.6 MB  00:00:02
Examining /var/tmp/yum-root-K4moca/nethserver-zabbix-mysql-0.0.1-1.ns7.noarch.rpm: nethserver-zabbix-mysql-0.0.1-1.ns7.noarch
Marking /var/tmp/yum-root-K4moca/nethserver-zabbix-mysql-0.0.1-1.ns7.noarch.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package nethserver-zabbix-mysql.noarch 0:0.0.1-1.ns7 will be installed
--> Processing Dependency: net-snmp-utils for package: nethserver-zabbix-mysql-0.0.1-1.ns7.noarch
Loading mirror speeds from cached hostfile
 * base: mirror.init7.net
 * centos-kernel: mirror.init7.net
 * extras: mirror.init7.net
 * updates: mirror1.hs-esslingen.de
base                                                                                                                | 3.6 kB  00:00:00
centos-kernel                                                                                                       | 2.9 kB  00:00:00
epel                                                                                                                | 3.8 kB  00:00:00
extras                                                                                                              | 2.9 kB  00:00:00
nethserver-base                                                                                                     | 2.9 kB  00:00:00
nethserver-testing                                                                                                  | 2.9 kB  00:00:00
nethserver-updates                                                                                                  | 3.6 kB  00:00:00
updates                                                                                                             | 2.9 kB  00:00:00
(1/2): nethserver-testing/7/armhfp/primary_db                                                                       |  30 kB  00:00:00
(2/2): updates/7/armhfp/primary_db                                                                                  | 1.1 MB  00:00:01
--> Processing Dependency: nethserver-mysql for package: nethserver-zabbix-mysql-0.0.1-1.ns7.noarch
--> Processing Dependency: nethserver-net-snmp for package: nethserver-zabbix-mysql-0.0.1-1.ns7.noarch
--> Processing Dependency: php-mysql for package: nethserver-zabbix-mysql-0.0.1-1.ns7.noarch
--> Processing Dependency: zabbix-agent for package: nethserver-zabbix-mysql-0.0.1-1.ns7.noarch
--> Processing Dependency: zabbix-server-mysql for package: nethserver-zabbix-mysql-0.0.1-1.ns7.noarch
--> Processing Dependency: zabbix-web-mysql for package: nethserver-zabbix-mysql-0.0.1-1.ns7.noarch
--> Running transaction check
---> Package net-snmp-utils.armv7hl 1:5.7.2-37.el7 will be installed
--> Processing Dependency: net-snmp-libs = 1:5.7.2-37.el7 for package: 1:net-snmp-utils-5.7.2-37.el7.armv7hl
--> Processing Dependency: libnetsnmp.so.31 for package: 1:net-snmp-utils-5.7.2-37.el7.armv7hl
---> Package nethserver-mysql.noarch 0:1.1.1-1.ns7 will be installed
--> Processing Dependency: perl-Expect for package: nethserver-mysql-1.1.1-1.ns7.noarch
--> Processing Dependency: perl(Expect) for package: nethserver-mysql-1.1.1-1.ns7.noarch
--> Processing Dependency: mariadb-server for package: nethserver-mysql-1.1.1-1.ns7.noarch
---> Package nethserver-zabbix-mysql.noarch 0:0.0.1-1.ns7 will be installed
--> Processing Dependency: nethserver-net-snmp for package: nethserver-zabbix-mysql-0.0.1-1.ns7.noarch
--> Processing Dependency: zabbix-agent for package: nethserver-zabbix-mysql-0.0.1-1.ns7.noarch
--> Processing Dependency: zabbix-server-mysql for package: nethserver-zabbix-mysql-0.0.1-1.ns7.noarch
--> Processing Dependency: zabbix-web-mysql for package: nethserver-zabbix-mysql-0.0.1-1.ns7.noarch
---> Package php-mysql.armv7hl 0:5.4.16-46.el7 will be installed
--> Processing Dependency: php-pdo(armv7hl-32) = 5.4.16-46.el7 for package: php-mysql-5.4.16-46.el7.armv7hl
--> Running transaction check
---> Package mariadb-server.armv7hl 1:5.5.60-1.el7_5 will be installed
--> Processing Dependency: mariadb(armv7hl-32) = 1:5.5.60-1.el7_5 for package: 1:mariadb-server-5.5.60-1.el7_5.armv7hl
--> Processing Dependency: perl-DBI for package: 1:mariadb-server-5.5.60-1.el7_5.armv7hl
--> Processing Dependency: perl-DBD-MySQL for package: 1:mariadb-server-5.5.60-1.el7_5.armv7hl
--> Processing Dependency: perl(DBI) for package: 1:mariadb-server-5.5.60-1.el7_5.armv7hl
--> Processing Dependency: libaio.so.1(LIBAIO_0.4) for package: 1:mariadb-server-5.5.60-1.el7_5.armv7hl
--> Processing Dependency: libaio.so.1(LIBAIO_0.1) for package: 1:mariadb-server-5.5.60-1.el7_5.armv7hl
--> Processing Dependency: libaio.so.1 for package: 1:mariadb-server-5.5.60-1.el7_5.armv7hl
---> Package net-snmp-libs.armv7hl 1:5.7.2-37.el7 will be installed
---> Package nethserver-zabbix-mysql.noarch 0:0.0.1-1.ns7 will be installed
--> Processing Dependency: nethserver-net-snmp for package: nethserver-zabbix-mysql-0.0.1-1.ns7.noarch
--> Processing Dependency: zabbix-agent for package: nethserver-zabbix-mysql-0.0.1-1.ns7.noarch
--> Processing Dependency: zabbix-server-mysql for package: nethserver-zabbix-mysql-0.0.1-1.ns7.noarch
--> Processing Dependency: zabbix-web-mysql for package: nethserver-zabbix-mysql-0.0.1-1.ns7.noarch
---> Package perl-Expect.noarch 0:1.21-14.el7 will be installed
--> Processing Dependency: perl(IO::Pty) >= 1.03 for package: perl-Expect-1.21-14.el7.noarch
--> Processing Dependency: perl(IO::Tty) for package: perl-Expect-1.21-14.el7.noarch
---> Package php-pdo.armv7hl 0:5.4.16-46.el7 will be installed
--> Running transaction check
---> Package libaio.armv7hl 0:0.3.109-13.el7 will be installed
---> Package mariadb.armv7hl 1:5.5.60-1.el7_5 will be installed
---> Package nethserver-zabbix-mysql.noarch 0:0.0.1-1.ns7 will be installed
--> Processing Dependency: nethserver-net-snmp for package: nethserver-zabbix-mysql-0.0.1-1.ns7.noarch
--> Processing Dependency: zabbix-agent for package: nethserver-zabbix-mysql-0.0.1-1.ns7.noarch
--> Processing Dependency: zabbix-server-mysql for package: nethserver-zabbix-mysql-0.0.1-1.ns7.noarch
--> Processing Dependency: zabbix-web-mysql for package: nethserver-zabbix-mysql-0.0.1-1.ns7.noarch
---> Package perl-DBD-MySQL.armv7hl 0:4.023-6.el7 will be installed
---> Package perl-DBI.armv7hl 0:1.627-4.el7 will be installed
--> Processing Dependency: perl(RPC::PlServer) >= 0.2001 for package: perl-DBI-1.627-4.el7.armv7hl
--> Processing Dependency: perl(RPC::PlClient) >= 0.2000 for package: perl-DBI-1.627-4.el7.armv7hl
---> Package perl-IO-Tty.armv7hl 0:1.10-11.el7 will be installed
--> Running transaction check
---> Package nethserver-zabbix-mysql.noarch 0:0.0.1-1.ns7 will be installed
--> Processing Dependency: nethserver-net-snmp for package: nethserver-zabbix-mysql-0.0.1-1.ns7.noarch
--> Processing Dependency: zabbix-agent for package: nethserver-zabbix-mysql-0.0.1-1.ns7.noarch
--> Processing Dependency: zabbix-server-mysql for package: nethserver-zabbix-mysql-0.0.1-1.ns7.noarch
--> Processing Dependency: zabbix-web-mysql for package: nethserver-zabbix-mysql-0.0.1-1.ns7.noarch
---> Package perl-PlRPC.noarch 0:0.2020-14.el7 will be installed
--> Processing Dependency: perl(Net::Daemon) >= 0.13 for package: perl-PlRPC-0.2020-14.el7.noarch
--> Processing Dependency: perl(Net::Daemon::Test) for package: perl-PlRPC-0.2020-14.el7.noarch
--> Processing Dependency: perl(Net::Daemon::Log) for package: perl-PlRPC-0.2020-14.el7.noarch
--> Running transaction check
---> Package nethserver-zabbix-mysql.noarch 0:0.0.1-1.ns7 will be installed
--> Processing Dependency: nethserver-net-snmp for package: nethserver-zabbix-mysql-0.0.1-1.ns7.noarch
--> Processing Dependency: zabbix-agent for package: nethserver-zabbix-mysql-0.0.1-1.ns7.noarch
--> Processing Dependency: zabbix-server-mysql for package: nethserver-zabbix-mysql-0.0.1-1.ns7.noarch
--> Processing Dependency: zabbix-web-mysql for package: nethserver-zabbix-mysql-0.0.1-1.ns7.noarch
---> Package perl-Net-Daemon.noarch 0:0.48-5.el7 will be installed
--> Finished Dependency Resolution
Error: Package: nethserver-zabbix-mysql-0.0.1-1.ns7.noarch (/nethserver-zabbix-mysql-0.0.1-1.ns7.noarch)
           Requires: zabbix-web-mysql
Error: Package: nethserver-zabbix-mysql-0.0.1-1.ns7.noarch (/nethserver-zabbix-mysql-0.0.1-1.ns7.noarch)
           Requires: zabbix-agent
Error: Package: nethserver-zabbix-mysql-0.0.1-1.ns7.noarch (/nethserver-zabbix-mysql-0.0.1-1.ns7.noarch)
           Requires: zabbix-server-mysql
Error: Package: nethserver-zabbix-mysql-0.0.1-1.ns7.noarch (/nethserver-zabbix-mysql-0.0.1-1.ns7.noarch)
           Requires: nethserver-net-snmp
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Thanks for testing, I’ll try it later today, seems like the zabbix packages are missing.

EDIT:

The missing packages are located here:

https://mrmarkuz.goip.de/mirror/nethserver-arm/7.5.1804/testing/armhfp/Packages/zabbix/zabbix-4.0.1-1/

These packages are old testing packages but may still work. To install use

yum install https://mrmarkuz.goip.de/mirror/nethserver-arm/7.5.1804/testing/armhfp/Packages/zabbix/zabbix-4.0.1-1/zabbix-web-mysql-4.0.1-1.ns7.noarch.rpm https://mrmarkuz.goip.de/mirror/nethserver-arm/7.5.1804/testing/armhfp/Packages/zabbix/zabbix-4.0.1-1/zabbix-agent-4.0.1-1.ns7.armv7hl.rpm https://mrmarkuz.goip.de/mirror/nethserver-arm/7.5.1804/testing/armhfp/Packages/zabbix/zabbix-4.0.1-1/zabbix-server-mysql-4.0.1-1.ns7.armv7hl.rpm https://mrmarkuz.goip.de/mirror/nethserver-arm/7.5.1804/base/armhfp/Packages/nethserver-net-snmp-1.1.0-1.ns7.noarch.rpm

My raspberry doesn’t work so I couldn’t test it.

1 Like
[root@raspi40 ~]# yum install https://mrmarkuz.goip.de/mirror/nethserver-arm/7.5.1804/testing/armhfp/Packages/zabbix/zabbix-4.0.1-1/zabbix-web-mysql-4.0.1-1.ns7.noarch.rpm https://mrmarkuz.goip.de/mirror/nethserver-arm/7.5.1804/testing/armhfp/Packages/zabbix/zabbix-4.0.1-1/zabbix-agent-4.0.1-1.ns7.armv7hl.rpm https://mrmarkuz.goip.de/mirror/nethserver-arm/7.5.1804/testing/armhfp/Packages/zabbix/zabbix-4.0.1-1/zabbix-server-mysql-4.0.1-1.ns7.armv7hl.rpm https://mrmarkuz.goip.de/mirror/nethserver-arm/7.5.1804/base/armhfp/Packages/nethserver-net-snmp-1.1.0-1.ns7.noarch.rpm
Loaded plugins: changelog, fastestmirror, nethserver_events
zabbix-web-mysql-4.0.1-1.ns7.noarch.rpm                                                                         | 7.2 kB  00:00:00
Examining /var/tmp/yum-root-K4moca/zabbix-web-mysql-4.0.1-1.ns7.noarch.rpm: zabbix-web-mysql-4.0.1-1.ns7.noarch
Marking /var/tmp/yum-root-K4moca/zabbix-web-mysql-4.0.1-1.ns7.noarch.rpm to be installed
zabbix-agent-4.0.1-1.ns7.armv7hl.rpm                                                                            | 364 kB  00:00:00
Examining /var/tmp/yum-root-K4moca/zabbix-agent-4.0.1-1.ns7.armv7hl.rpm: zabbix-agent-4.0.1-1.ns7.armv7hl
Marking /var/tmp/yum-root-K4moca/zabbix-agent-4.0.1-1.ns7.armv7hl.rpm to be installed
zabbix-server-mysql-4.0.1-1.ns7.armv7hl.rpm                                                                     | 2.0 MB  00:00:01
Examining /var/tmp/yum-root-K4moca/zabbix-server-mysql-4.0.1-1.ns7.armv7hl.rpm: zabbix-server-mysql-4.0.1-1.ns7.armv7hl
Marking /var/tmp/yum-root-K4moca/zabbix-server-mysql-4.0.1-1.ns7.armv7hl.rpm to be installed
nethserver-net-snmp-1.1.0-1.ns7.noarch.rpm                                                                      |  20 kB  00:00:00
Examining /var/tmp/yum-root-K4moca/nethserver-net-snmp-1.1.0-1.ns7.noarch.rpm: nethserver-net-snmp-1.1.0-1.ns7.noarch
Marking /var/tmp/yum-root-K4moca/nethserver-net-snmp-1.1.0-1.ns7.noarch.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package nethserver-net-snmp.noarch 0:1.1.0-1.ns7 will be installed
--> Processing Dependency: net-snmp for package: nethserver-net-snmp-1.1.0-1.ns7.noarch
Loading mirror speeds from cached hostfile
 * base: mirror.init7.net
 * centos-kernel: mirror.init7.net
 * extras: mirror.init7.net
 * updates: mirror1.hs-esslingen.de
base                                                                                                            | 3.6 kB  00:00:00
centos-kernel                                                                                                   | 2.9 kB  00:00:00
epel                                                                                                            | 3.8 kB  00:00:00
extras                                                                                                          | 2.9 kB  00:00:00
nethserver-base                                                                                                 | 2.9 kB  00:00:00
nethserver-updates                                                                                              | 3.6 kB  00:00:00
updates                                                                                                         | 2.9 kB  00:00:00
---> Package zabbix-agent.armv7hl 0:4.0.1-1.ns7 will be installed
---> Package zabbix-server-mysql.armv7hl 0:4.0.1-1.ns7 will be installed
--> Processing Dependency: fping for package: zabbix-server-mysql-4.0.1-1.ns7.armv7hl
--> Processing Dependency: libOpenIPMI.so.0 for package: zabbix-server-mysql-4.0.1-1.ns7.armv7hl
--> Processing Dependency: libOpenIPMIposix.so.0 for package: zabbix-server-mysql-4.0.1-1.ns7.armv7hl
--> Processing Dependency: libevent-2.0.so.5 for package: zabbix-server-mysql-4.0.1-1.ns7.armv7hl
--> Processing Dependency: libiksemel.so.3 for package: zabbix-server-mysql-4.0.1-1.ns7.armv7hl
--> Processing Dependency: libnetsnmp.so.31 for package: zabbix-server-mysql-4.0.1-1.ns7.armv7hl
--> Processing Dependency: libodbc.so.2 for package: zabbix-server-mysql-4.0.1-1.ns7.armv7hl
---> Package zabbix-web-mysql.noarch 0:4.0.1-1.ns7 will be installed
--> Processing Dependency: zabbix-web = 4.0.1-1.ns7 for package: zabbix-web-mysql-4.0.1-1.ns7.noarch
--> Processing Dependency: php-mysql for package: zabbix-web-mysql-4.0.1-1.ns7.noarch
--> Running transaction check
---> Package OpenIPMI-libs.armv7hl 0:2.0.23-2.el7 will be installed
--> Processing Dependency: OpenIPMI-modalias = 2.0.23-2.el7 for package: OpenIPMI-libs-2.0.23-2.el7.armv7hl
---> Package OpenIPMI-perl.armv7hl 0:2.0.23-2.el7 will be installed
---> Package fping.armv7hl 0:3.10-4.el7 will be installed
---> Package libevent.armv7hl 0:2.0.21-4.el7 will be installed
---> Package net-snmp.armv7hl 1:5.7.2-37.el7 will be installed
--> Processing Dependency: net-snmp-agent-libs = 1:5.7.2-37.el7 for package: 1:net-snmp-5.7.2-37.el7.armv7hl
--> Processing Dependency: libsensors.so.4 for package: 1:net-snmp-5.7.2-37.el7.armv7hl
--> Processing Dependency: libnetsnmptrapd.so.31 for package: 1:net-snmp-5.7.2-37.el7.armv7hl
--> Processing Dependency: libnetsnmpmibs.so.31 for package: 1:net-snmp-5.7.2-37.el7.armv7hl
--> Processing Dependency: libnetsnmpagent.so.31 for package: 1:net-snmp-5.7.2-37.el7.armv7hl
---> Package net-snmp-libs.armv7hl 1:5.7.2-37.el7 will be installed
---> Package php-mysql.armv7hl 0:5.4.16-46.el7 will be installed
--> Processing Dependency: php-pdo(armv7hl-32) = 5.4.16-46.el7 for package: php-mysql-5.4.16-46.el7.armv7hl
---> Package unixODBC.armv7hl 0:2.3.1-11.el7 will be installed
--> Processing Dependency: libltdl.so.7 for package: unixODBC-2.3.1-11.el7.armv7hl
---> Package zabbix-server-mysql.armv7hl 0:4.0.1-1.ns7 will be installed
--> Processing Dependency: libiksemel.so.3 for package: zabbix-server-mysql-4.0.1-1.ns7.armv7hl
---> Package zabbix-web-mysql.noarch 0:4.0.1-1.ns7 will be installed
--> Processing Dependency: zabbix-web = 4.0.1-1.ns7 for package: zabbix-web-mysql-4.0.1-1.ns7.noarch
--> Running transaction check
---> Package OpenIPMI-modalias.armv7hl 0:2.0.23-2.el7 will be installed
---> Package libtool-ltdl.armv7hl 0:2.4.2-22.el7 will be installed
---> Package lm_sensors-libs.armv7hl 0:3.4.0-6.20160601gitf9185e5.el7 will be installed
---> Package net-snmp-agent-libs.armv7hl 1:5.7.2-37.el7 will be installed
---> Package php-pdo.armv7hl 0:5.4.16-46.el7 will be installed
---> Package zabbix-server-mysql.armv7hl 0:4.0.1-1.ns7 will be installed
--> Processing Dependency: libiksemel.so.3 for package: zabbix-server-mysql-4.0.1-1.ns7.armv7hl
---> Package zabbix-web-mysql.noarch 0:4.0.1-1.ns7 will be installed
--> Processing Dependency: zabbix-web = 4.0.1-1.ns7 for package: zabbix-web-mysql-4.0.1-1.ns7.noarch
--> Finished Dependency Resolution
Error: Package: zabbix-server-mysql-4.0.1-1.ns7.armv7hl (/zabbix-server-mysql-4.0.1-1.ns7.armv7hl)
           Requires: libiksemel.so.3
Error: Package: zabbix-web-mysql-4.0.1-1.ns7.noarch (/zabbix-web-mysql-4.0.1-1.ns7.noarch)
           Requires: zabbix-web = 4.0.1-1.ns7
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Doesnt work either…, what else can we do?

Seems I forgot zabbix-web and iksemel:

yum install https://mrmarkuz.goip.de/mirror/nethserver-arm/7.5.1804/testing/armhfp/Packages/zabbix/zabbix-4.0.1-1/zabbix-web-mysql-4.0.1-1.ns7.noarch.rpm https://mrmarkuz.goip.de/mirror/nethserver-arm/7.5.1804/testing/armhfp/Packages/zabbix/zabbix-4.0.1-1/zabbix-agent-4.0.1-1.ns7.armv7hl.rpm https://mrmarkuz.goip.de/mirror/nethserver-arm/7.5.1804/testing/armhfp/Packages/zabbix/zabbix-4.0.1-1/zabbix-server-mysql-4.0.1-1.ns7.armv7hl.rpm https://mrmarkuz.goip.de/mirror/nethserver-arm/7.5.1804/base/armhfp/Packages/nethserver-net-snmp-1.1.0-1.ns7.noarch.rpm https://mrmarkuz.goip.de/mirror/nethserver-arm/7.5.1804/testing/armhfp/Packages/zabbix/zabbix-4.0.1-1/zabbix-web-4.0.1-1.ns7.noarch.rpm https://mrmarkuz.goip.de/mirror/nethserver-arm/7.5.1804/testing/armhfp/Packages/zabbix/iksemel/iksemel-1.5-0.1.git978b733.ns7.armv7hl.rpm

If more iksemel packages are needed just add them to the command, they are located here.

It looks good now, the installation went through. The raspi is running on a remote site. I would like to ssh portforward to localhost to be able to access the url. On which port/url should zabbix run?

It runs on https port:

https://Nethserver/zabbix

1 Like

Yep - Got It:

Thank you very much !!!

2 Likes