Zabbix 5.0 LTS has been released

Maybe centos stream will fix their issue :smiley:

new or last software version…this is what a developer {wants,needs} all the time

1 Like

Sorry to bug… Any chance that the wiki will be updated for installing Zabbix 5 or with an howto update to Zabbix 5?

2 Likes

I’ll update the wiki entry asap.

Available to raise a little test server for upgrade check

1 Like

The wiki entry is updated.

5 Likes

Any link or info on how to use LDAP/Samba4 AD accountprovider in zabbix?

It’s not implemented in the module yet but noted for future releases.

Here’s some information about zabbix auth:

2 Likes

thnx, got it working now.
weird, when I test it, all settings are good to go. But changing to LDAP as authentication doesn’t seem to work. Checked LDAP in LDAP tab and activated it in first tab. But authentication still is on local db.

Still got it working ok.
Must create the Samba4 AD user first in zabbix without entering the Samba4AD password. It will authenticate against Samba4 AD accountprovider. Might be something to add in the documentation.

/edit: the good news: I added this info to the wiki
the bad news: I messed up formatting and can’t get it right… sorry for that. any help fixing formatting is appreciated.

2 Likes

It was the ldap host link, but I noticed formatting on other pages is broken, so maybe there was a recent update (dokuwiki or one of its plugins) that is causing formatting issues (at least with markdown like formatting that worked before).

2 Likes

My bad, i’m late. But hey, @mrmarkuz, it WORKS!
Only a little hint for update the Wiki: i ran Zabbix “old version” from my browser, i updated it and it was “half translated” in Italian.
I “solved” the issue with a simple “double language change” from italian to english and back.

Not a beer, but at least a german or austrian tonic liquor.

2 Likes

@mrmarkuz

Hi

I’d also like to confirm upgraded and new server working…
One or two minor caveats, but mostly with some used templates…

Good Work!

my 2 cents
Andy

1 Like

Thanks guys for testing.

I added the language part to the Upgrade section.

1 Like

@mrmarkuz

Hi Markus

I have some NethServers which I upgraded the last few days.
Most upgraded without any issues, all working as expected.

Two of them did the upgrade (including the remove / reinstall bit) without any issues.
However, using the zabbix page results in a white, empty page.
Using an old link in my browser results in an error message:

Minimum required PHP version is 7.2.0.

also shown on a completly white screen…

Any ideas?

Thanks - and a great New Year to you too!
My 2 cents
Andy

It seems wrong PHP is used.

Please check if php-fpm is running and if there are some lines like “pool nethserver-zabbix”.

systemctl status rh-php73-php-fpm -l

Maybe just run

signal-event nethserver-zabbix-update

once more to apply missing configuration.

Please also check httpd and php logs in /var/log/httpd and /var/opt/rh/rh-php73/log/.

Are all packages installed?

# rpm -qa "*zabbix*"
zabbix-web-5.0.7-1.el7.noarch
nethserver-zabbix-0.0.1-8.ns7.noarch
zabbix-release-5.0-1.el7.noarch
zabbix-server-pgsql-5.0.7-1.el7.x86_64
zabbix-agent-5.0.7-1.el7.x86_64

Hi

As to 1) php-fpm seems to be running correctly:

This runs through without issues:
signal-event nethserver-zabbix-update

Also all modules / deps seem correct:

Logfiles have no relevant errors…

PS:

Both Machines were top up to date…

Please check line 22 of /etc/httpd/conf.d/zabbix.conf if the following is there:

SetHandler "proxy:unix:/var/run/rh-php73-php-fpm/nethserver-zabbix-php73.sock|fcgi://localhost/"

Maybe a missing PHP module?

# rpm -qa "*rh-php73-php-*" | sort
nethserver-rh-php73-php-fpm-1.0.0-1.ns7.noarch
rh-php73-php-bcmath-7.3.20-1.el7.x86_64
rh-php73-php-cli-7.3.20-1.el7.x86_64
rh-php73-php-common-7.3.20-1.el7.x86_64
rh-php73-php-enchant-7.3.20-1.el7.x86_64
rh-php73-php-fpm-7.3.20-1.el7.x86_64
rh-php73-php-gd-7.3.20-1.el7.x86_64
rh-php73-php-gmp-7.3.20-1.el7.x86_64
rh-php73-php-intl-7.3.20-1.el7.x86_64
rh-php73-php-json-7.3.20-1.el7.x86_64
rh-php73-php-ldap-7.3.20-1.el7.x86_64
rh-php73-php-mbstring-7.3.20-1.el7.x86_64
rh-php73-php-mysqlnd-7.3.20-1.el7.x86_64
rh-php73-php-opcache-7.3.20-1.el7.x86_64
rh-php73-php-pdo-7.3.20-1.el7.x86_64
rh-php73-php-pear-1.10.9-1.el7.noarch
rh-php73-php-pecl-apcu-5.1.17-1.el7.x86_64
rh-php73-php-pgsql-7.3.20-1.el7.x86_64
rh-php73-php-process-7.3.20-1.el7.x86_64
rh-php73-php-soap-7.3.20-1.el7.x86_64
rh-php73-php-xml-7.3.20-1.el7.x86_64
rh-php73-php-xmlrpc-7.3.20-1.el7.x86_64
rh-php73-php-zip-7.3.20-1.el7.x86_64

Hi

This line is not in my /etc/httpd/conf.d/zabbix.conf file…

My /etc/httpd/conf.d/zabbix.conf file looks like this:

# ================= DO NOT MODIFY THIS FILE ================= # # Manual changes will be lost when this file is regenerated. # # Please read the developer's guide, which is available # at NethServer official site: https://www.nethserver.org # # # # Zabbix monitoring system php web frontend #

Alias /zabbix /usr/share/zabbix

<Directory “/usr/share/zabbix”>
Options FollowSymLinks
AllowOverride None

<IfModule mod_authz_core.c>
  # Apache 2.4
  Require all granted
</IfModule>

<IfModule !mod_authz_core.c>
  # Apache 2.2
  Order allow,deny
  Allow from all
</IfModule>

<IfModule mod_php5.c>
    php_value max_execution_time 300
    #php_value memory_limit 128M
    php_value post_max_size 16M
    #php_value upload_max_filesize 2M
    php_value max_input_time 300
    #php_value always_populate_raw_post_data -1
    php_value date.timezone Europe/Zurich
</IfModule>

<Directory ~ “^/usr/share/zabbix/(conf|api|include)/”>

# Apache 2.4
Require all denied

<IfModule !mod_authz_core.c>
  # Apache 2.2
  Order deny,allow
  Deny from all
</IfModule>

<files *.php>
  <IfModule mod_authz_core.c>
    # Apache 2.4
    Require all denied
  </IfModule>

  <IfModule !mod_authz_core.c>
    Order deny,allow
    Deny from all
  </IfModule>

</files>

Can I just insert in that line (as line 22)?
No templating needed?

Seems there’s an old httpd conf file.

It is templated so please try to expand the template:

expand-template /etc/httpd/conf.d/zabbix.conf

Maybe there’s an old custom template fragment overwriting the recent one?

1 Like

Bingo!

Those two servers had both a custom-template version (from 2019), overwriting the current (newer) template…

Solved!

Thanks Markus!

1 Like

will this also update to 5.2 Version. considering it hasbuiltin notification and alerting systems