Curl can…
How / where do I check the repos?
AFAIK in /etc/yum.repos.d…
Correct. Check the zabbix repo and the URLs it contains
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…
Bingo!
That was the solution!
It’s installing the right versions right now!
I do love NethServer - especially the people on this Forum!
And It’s back up & running…
My 2 cents
Andy
Hi all,
What a marvellous forum this is.
A pro has a problem, another pro solves it within an hour.
Michel-André
And for No-Pros too. This is actually the even greater achievement, as it demands a lot more from the Pros.
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
Does ist suffice to install from the repo for a fresh install or do I have to do these database things?
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
It’s ok to install from repo but to get the most recent version (testing) use these instructions.
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:
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
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
I deleted it from Media Types, in Templates there is none.
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