Zabbix 5.0 LTS has been released

Curl can…

@dnutan

How / where do I check the repos?
AFAIK in /etc/yum.repos.d…

Correct. Check the zabbix repo and the URLs it contains

Looks actually good:

Just install most recent zabbix release:

yum -y install https://repo.zabbix.com/zabbix/5.0/rhel/7/x86_64/zabbix-release-5.0-1.el7.noarch.rpm

That is installed now…

However:

running the next step:

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

gives me this:

The error seems to appear right after checking the deps…

And after a full repo cache cleanup?

yum clean all --enablerepo=*
2 Likes

@dnutan

Bingo!

That was the solution!
It’s installing the right versions right now!

:slight_smile:

I do love NethServer - especially the people on this Forum!

And It’s back up & running…

My 2 cents
Andy

3 Likes

Hi all,

What a marvellous forum this is.
A pro has a problem, another pro solves it within an hour.

Michel-André

7 Likes

And for No-Pros too. This is actually the even greater achievement, as it demands a lot more from the Pros.

3 Likes

Hi @mrmarkuz, I have the same problem Andy was faced with. I’m trying to find that script but have no luck. Could you please point me in the right direction?

Thanks

Nevermind, I found it

#!/bin/bash
systemctl stop zabbix-server
sudo -i -u postgres pg_dump zabbix > /tmp/pre-encoding-fix-backup.sql
sudo -i -u postgres psql -c "alter database zabbix rename to zabbix_pre_encoding_fix_backup"
sudo -i -u postgres psql -c "create database zabbix with encoding 'UNICODE' template=template0"
sudo -i -u postgres PGCLIENTENCODING=SQL_ASCII psql zabbix -f /tmp/pre-encoding-fix-backup.sql
systemctl start zabbix-server

And it works perfectly! Thanks

1 Like

Does ist suffice to install from the repo for a fresh install or do I have to do these database things?

@carsten

Hi Carsten

It’s sufficient to install from repo…
The database stuff was needed due to an older / migrated system above…

My 2 cents
Andy

1 Like

It’s ok to install from repo but to get the most recent version (testing) use these instructions.

1 Like

Greetings,

Does anyone use Telegram alerts in Zabbix?
In the previous version if I managed to configure the urgent notifications, but with this update they no longer work.
When I download the yaml template from Telegram’s Zabbix webhook and when I import it, it tells me:
Unsupported import file extension “yaml”.

I even tried to write it (I don’t think well) it gives me errors when testing:
image

Someone who has this working, who can provide (export) their template would appreciate it.

Thanks in advance.

I use the builtin template of zabbix 5.0 no need to add a new one. I just followed

https://www.zabbix.com/integrations/telegram

Thank you @stephdl

I used that same guide last year and it worked for me, but today trying to make it work I forgot to export it and deleted it.

Now when I try to recreate it, I get more errors than before; I have checked and I don’t see any apparent typing errors.

Could you (at some point) export your template (1) (without your token) and provide it?

(1) From Media Type

no telegram template :-?

I deleted it from Media Types, in Templates there is none.
image

@MrE

Saludos Enrique!

I’ve uploaded the file “zbx_mediatypes_telegram.xml” to my nextcloud for you (In your folder…)

Exported from Zabbix 5.0.8 in XML…

My 2 cents
Andy

3 Likes