Howto install Zabbix 3.4

@mrmarkuz

Hi
Had another Zabbix on the newest NethServer (The others haven’t senn any updates so far?)
The Graphs AND Texts are back, seems to work as expected!

Thx

Andy

2 Likes

Hi
After the latest update (Zabbix: 4.0.9), it seems that editing maps doesn’t work any more. Maps work as expected in normal “view” mode, but not in “edit” mode.
Objects like servers, switches et Al. can only be placed by using coordinates, and objects can’t be marked - say for adding connections.
This shows up on two newly installed servers. (Not on any of the others…)

Any ideas?

Andy

I couldn’t reproduce it. I tested with Zabbix 4.0.9-3 on a fresh installed Neth VM and with Firefox and Chrome on a Windows client…

Which modules are installed on the two not working servers?

rpm -qa "nethserver*" | sort
`

Hi

rpm -qa “nethserver*” | sort
nethserver-antivirus-1.2.2-1.ns7.noarch
nethserver-avahi-1.1.0-1.ns7.noarch
nethserver-awstats-0.1.12-1.ns7.sdl.noarch
nethserver-backup-config-2.3.1-1.ns7.noarch
nethserver-backup-data-1.5.3-1.ns7.noarch
nethserver-base-3.7.2-1.ns7.noarch
nethserver-cgp-2.1.3-1.ns7.noarch
nethserver-c-icap-1.1.0-1.ns7.noarch
nethserver-clamscan-0.1.2-3.ns7.sdl.noarch
nethserver-cockpit-0.8.0-1.ns7.noarch
nethserver-cockpit-lib-0.8.0-1.ns7.noarch
nethserver-collectd-3.0.8-1.ns7.noarch
nethserver-crontabmanager-0.1.1-1.ns7.sdl.noarch
nethserver-cups-1.2.1-1.ns7.noarch
nethserver-dc-1.6.6-1.ns7.x86_64
nethserver-ddclient-1.0.7-1.ns7.sdl.noarch
nethserver-diagtools-1.0.3-1.ns7.noarch
nethserver-dnsmasq-1.7.0-1.ns7.noarch
nethserver-duc-1.4.5-1.ns7.noarch
nethserver-ejabberd-1.4.0-1.ns7.noarch
nethserver-fail2ban-1.1.7-1.ns7.noarch
nethserver-firewall-base-3.6.1-1.ns7.noarch
nethserver-guacamole-0.0.0-2.ns7.noarch
nethserver-hosts-1.2.2-1.ns7.noarch
nethserver-httpd-3.2.7-1.ns7.noarch
nethserver-httpd-admin-2.3.4-1.ns7.noarch
nethserver-httpd-proxypass-3.2.7-1.ns7.noarch
nethserver-httpd-virtualhosts-3.2.7-1.ns7.noarch
nethserver-ipsec-tunnels-1.1.6-1.ns7.noarch
nethserver-lang-de-1.3.0-4.ns7.noarch
nethserver-lang-en-1.3.0-4.ns7.noarch
nethserver-lang-pt-1.3.0-4.ns7.noarch
nethserver-letsencrypt-1.1.6-1.ns7.noarch
nethserver-lib-2.2.11-1.ns7.noarch
nethserver-lightsquid-1.1.2-1.ns7.noarch
nethserver-lsm-1.2.3-1.ns7.noarch
nethserver-mail-common-2.6.5-1.ns7.noarch
nethserver-mail-disclaimer-2.6.5-1.ns7.noarch
nethserver-mail-filter-2.6.5-1.ns7.noarch
nethserver-mail-getmail-2.6.5-1.ns7.noarch
nethserver-mail-server-2.6.5-1.ns7.noarch
nethserver-mail-smarthost-2.6.5-1.ns7.noarch
nethserver-mrmarkuz-0.0.1-3.ns7.noarch
nethserver-mysql-1.1.4-1.ns7.noarch
nethserver-nethforge-release-7-3.ns7.noarch
nethserver-net-snmp-1.1.0-1.ns7.noarch
nethserver-nextcloud-1.5.1-1.ns7.noarch
nethserver-nfs-0.1.4-1.ns7.sdl.noarch
nethserver-ntp-1.1.3-1.ns7.noarch
nethserver-nut-1.4.0-1.ns7.noarch
nethserver-openssh-1.2.2-1.ns7.noarch
nethserver-phonehome-1.3.0-1.ns7.noarch
nethserver-php-1.2.0-1.ns7.noarch
nethserver-phpldapadmin-0.0.5-1.ns7.sdl.noarch
nethserver-phpmyadmin-1.2.2-1.ns7.sdl.noarch
nethserver-phppgadmin-0.0.3-2.ns7.sdl.noarch
nethserver-postgresql-1.1.0-1.ns7.noarch
nethserver-pulledpork-2.1.4-1.ns7.noarch
nethserver-release-7-13.ns7.noarch
nethserver-restore-data-1.3.0-1.ns7.noarch
nethserver-rh-mariadb101-0.0.4-1.ns7.sdl.noarch
nethserver-rh-mariadb102-0.0.5-1.ns7.sdl.noarch
nethserver-rh-php56-php-fpm-1.0.0-1.ns7.noarch
nethserver-rh-php71-php-fpm-1.0.0-1.ns7.noarch
nethserver-rh-php72-php-fpm-1.0.0-1.ns7.noarch
nethserver-roundcubemail-1.3.0-1.ns7.noarch
nethserver-samba-4.3.1-1.ns7.noarch
nethserver-samba-audit-1.1.6-1.ns7.noarch
nethserver-smartd-1.1.0-1.ns7.noarch
nethserver-squid-1.8.1-1.ns7.noarch
nethserver-squidclamav-3.0.0-1.ns7.noarch
nethserver-squidguard-1.9.0-1.ns7.noarch
nethserver-sssd-1.4.8-1.ns7.noarch
nethserver-stephdl-1.0.8-1.ns7.sdl.noarch
nethserver-subscription-3.4.1-1.ns7.noarch
nethserver-tomcat-1.1.0-1.ns7.noarch
nethserver-unbound-1.1.0-1.ns7.noarch
nethserver-vsftpd-1.1.1-1.ns7.noarch
nethserver-yum-1.4.1-1.ns7.noarch
[root@abho-nethserver ~]#

I removed Zabbix, trying to reinstall it.
2nd time:

yum remove nethserver-zabbix
Loaded plugins: changelog, fastestmirror, nethserver_events
No Match for argument: nethserver-zabbix
No Packages marked for removal

Yet after a reboot and a “yum clean all” I can’t find the package on the mirrors…
[root@abho-nethserver ~]# yum -y install nethserver-zabbix
Loaded plugins: changelog, fastestmirror, nethserver_events
Loading mirror speeds from cached hostfile

Any ideas?

Background info:
This specific server is a clean install on Proxmox to replace a dying old HW server (HP Proliant ML110 G4 (!)) - really old. It’s a friends home server. The replacement is a HP Microserver G8 with a new NAS.
Before we actually replaced the server, my friend went on vacation, and a day later a severe power outage killed the network.
The NAS barely survived (also a 8-10 year old box), and the old HP Proliant actually booted up after three tries. It seems the power supply or more is screwed on the server, on switching on it just blinks, no air rush (typical for HP Proliant servers!) or BIOS, screen stays dead.
Disks apparently survived, I put one in the Proxmox and added it in as a second disk in a newly installed Nethserver, specifically installed just to load that disk. That works, all data seems available.
I can’t boot with that disk however, I run into the By-ID problem upon booting… (Well, moving P2V unplanned…) I did try editing the files, but I can’t get it to make a viable init.rd…
No matter, I can get at trhe files…
We missed a programming project with a MySQL file and some HTML, the thing died while doing the backup so it never made it. The backup also wasn’t conclusive for that reason.
I could recover that project.

But Zabbix still has issues. Status at the moment is: It isn’t installed, and refuses to do so…

Any ideas?
Andy

I think it isn’t on official nethserver repos, and you need zabbix repo and mrmarkuz repo. Remember to enable them for the installation.

1 Like

Hi

Both Repos are installed - according to the Docu https://wiki.nethserver.org/doku.php?id=zabbix
it isn’t required to actually enable the repo?

[root@abho-nethserver ~]# yum -y install https://mrmarkuz.goip.de/mirror/mrmarkuz/7/noarch/nethserver-mrmarkuz-0.0.1-3.ns7.noarch.rpm
Loaded plugins: changelog, fastestmirror, nethserver_events
nethserver-mrmarkuz-0.0.1-3.ns7.noarch.rpm | 3.3 kB 00:00:00
Examining /var/tmp/yum-root-O5Mozp/nethserver-mrmarkuz-0.0.1-3.ns7.noarch.rpm: nethserver-mrmarkuz-0.0.1-3.ns7.noarch
/var/tmp/yum-root-O5Mozp/nethserver-mrmarkuz-0.0.1-3.ns7.noarch.rpm: does not update installed package.
Error: Nothing to do
[root@abho-nethserver ~]#

[root@abho-nethserver ~]# yum -y install https://repo.zabbix.com/zabbix/4.0/rhel/7/x86_64/zabbix-release-4.0-1.el7.noarch.rpm
Loaded plugins: changelog, fastestmirror, nethserver_events
zabbix-release-4.0-1.el7.noarch.rpm | 13 kB 00:00:00
Examining /var/tmp/yum-root-O5Mozp/zabbix-release-4.0-1.el7.noarch.rpm: zabbix-release-4.0-1.el7.noarch
/var/tmp/yum-root-O5Mozp/zabbix-release-4.0-1.el7.noarch.rpm: does not update installed package.
Error: Nothing to do
[root@abho-nethserver ~]#

But it seems to work with:
yum --enablerepo=mrmarkuz install nethserver-zabbix
???

Thx for the reply
Andy

1 Like

Check if they are enabled by default or enable the repo(s) at install time:

yum repolist enabled
yum --enablerepo=mrmarkuz install nethserver-zabbix

EDIT: wrong timing, you already did it.

1 Like

@dnutan

Maybe @mrmarkuz needs to do a small update on the docu in the wiki…

But it’s working again… Not yet solved, but (see issue above about 4.0.9 editing maps…)

:slight_smile:

My 2 cents
Andy

1 Like

@mrmarkuz

Hi
Seems like some compatibility issues have cropped up since the 7.7 upgrade…

Current installs will get to here:

Error: Package: nethserver-zabbix-0.0.1-6.ns7.noarch (mrmarkuz)
Requires: zabbix-server-pgsql
Error: Package: nethserver-zabbix-0.0.1-6.ns7.noarch (mrmarkuz)
Requires: zabbix-web-pgsql
Error: Package: nethserver-zabbix-0.0.1-6.ns7.noarch (mrmarkuz)
Requires: zabbix-agent

Could you upgrade your Repo?

Thanks!

Andy

2 Likes

I think zabbix repo needs to be enabled too, please try the following:

yum --enablerepo=mrmarkuz,zabbix install nethserver-zabbix

/cc @alpreseidente

Done.

2 Likes

Thanks for the quick reply. Will test today if possible…

Andy

1 Like

@mrmarkuz

Hi
Just only got round to testing

This works as expected!

Thx

Andy

@mrmarkuz

Hallo

Here are the latest symbols i have for Zabbix, if you’re planing to make a newer package sometime…

https://www.anwi.ch/downloads/Zabbix_ANWI-Library_2020-02-14.zip

Thanks for all the great work!

Andy

2 Likes

Hi all,

After a lot of time I consulted this topic finding out that I never shared the latest version of the backups check script. My bad, very sorry indeed :confused:

So the updated version of the script is in production since about a year (with minor editing and bugfixing more recently), and thus I think it can be considered quite mature. It fully supports now multiple backups as well as the config backup type. You don’t have anymore to configure which backups you want to monitor: by default the script will discover the backups you configured and check for their results.

What was not so thoroughly tested is the packaging: with this version, I made available an .rpm you may use to install the script directly on NethServer. You can grab it at the Releases page of the usual repository. Be sure to check the installation miniguide.

Please report any hiccups, I will try to fix them as soon as possible.

4 Likes

Great, I’m going to integrate it to the module asap.

2 Likes

@mrmarkuz

Hi Markus

When you make a new package, do increase the Zabbix processes from 300 to 500…
300 will cover a very small or test environment, but for a 10 user SME, it needs to be upped to 500…

My 2 cents
Andy

3 Likes

wow, coming at a time when am deploying servers with backups in Mind.

Works for me for most of the NS with 330 processes… but we mostly work with single purpose machines.
I do think this is one of the most modified items and the number is heavily based on the setup of the machine. 300 is a big enough number though, I have server for which I fixed 250 or less.

1 Like

@syntaxerrormmm

As I stated, for small / simpler environments 300 may be OK.

In a sample SME company network with 10 users, there’s usually a couple more devices than in a single developer environment, like notebooks, printers, and more.

Another point is that NethServer is designed as a single server for all (services / use cases). That means usually, file, mail, nextcloud and more are running, besides just Zabbix.

And not forgetting, there are users and users. I have a couple who have a very high resistance to learning… 100 Firefox Tabs, 50-80 mails open in Thunderbird and 20-40 open word documents (all using AD/CIFs connections to Samba). This one type of user will easily overrun your limits singlehandedly!

My 2 cents
Andy

Where can I set that process limit?
Maybe we could use a db prop so it could be set easily to fit to any environment.

1 Like