Zabbix 5.0 LTS has been released

@mrmarkuz

Hi

I still have a small issue… On one of my clients there’s still a Zabbix which displays

Incorrect default charset for Zabbix database: "SQL_ASCII" instead "UTF8".

If I recall correctly, there was a command to upgrade that in one go, but I can’t recall the command, nor have I been able to find the reference…

Any ideas?

Thanks
Andy

It’s zabbixUnicode.sh

A db backup is recommended. I’m going to add the command to the wiki.

@mrmarkuz

Thanks!
I do have regular backups, and since I migrated this box yesterday (to Zabbix 5 LTS), this one has more than one backup!

Andy

1 Like

@mrmarkuz

Hi Markus

It seems on Zabbix 5.0 LTS, installed / upgraded as per

the command signal-event nethserver-zabbix-update does not make PostgreSQL read in any images, as it used to do.

This appears on new installs as well as on upgrades…

Any ideas?

My 2 cents
Andy

PS: Yes, I have new images for the library and I’d like to test them! :slight_smile:

1 Like

Sorry, I changed it to not slow down the zabbix-update event, see the end of /etc/e-smith/events/actions/nethserver-zabbix-conf-db
You need to remove the zabbiximages dir /var/lib/pgsql/data/zabbiximages and put your images to /root/images.tar.gz before adding the images to the DB.

Thanks for your images, I’ll add them with next release.

@mrmarkuz

Hi

Thanks for the infos.

This is not quite clear to me:

Is this a folder or file? “/root/images.tar.gz”
There is a folder /root/zabbiximages… Did you mean put the images here?

Thanks
Andy

It’s a tar file, you may create a new images.tar.gz file with your images.

1 Like

Is this used at all?

No, not anymore.

@mrmarkuz

I’ve seen - on Linux - people creating folders with names like action.exe (No, a folder, not a executable file!) and also the same for .tar.gz - also where this was a folder.

So I prefer to ask, rather than assume something, which may be influenced by ages old MS-Dos leanings on extensions… :slight_smile:

My 2 cents
Andy

1 Like

therefore call them directories, dude, folder is for Windows guys :wink:
(hope this make you laugh a bit)

1 Like

@pike

Sitting in front of a (german) macbook, I think Mac also uses the term Folder (Along with Finder).
In german, the term is “Ordner”, corresponding to the english “Folder”…

Sometimes I think Windows can be more contagious than Corona… :slight_smile:

Like the Linux guy using start.exe for his start script in Linux…

My 2 cents
Andy

AFAIK Zabbix 5.0.8 has appeared as agent and server package…

1 Like

It should be enough to update via yum:

yum update --enablerepo=zabbix,zabbix-frontend

1 Like

Seems enough…

1 Like

@mrmarkuz

Hi Markus

BTW, I think I’ve found a small bug:

When removing the SNMP component in the old Server Manager, the nethserver-zabbix component also get’s removed, this should not happen!

Afterwards, Zabbix is effectively removed from NethServer… :frowning:

Just discovered that, while preparing for next weeks Zabbix Hands-On training…

I think this may have to do with “deps”, not necessarily on Zabbix, but maybe somehow in the SNMP component of Nethserver…
I did not remove Zabbix, only the SNMP component. Afterwards, Zabbix was gone.

This is here not critical, this is an “empty” demo server…
But still, it should not happen, as SNMP is NOT dependent on Zabbix and neither is Zabbix dependent on SNMP…

Zabbix itself is not removed, but nethserver-zabbix…

My 2 cents
Andy

1 Like

That’s right.

Nethserver-zabbix actually requires net-snmp-utils and nethserver-net-snmp.
I think the requirement of nethserver-net-snmp leads to the issue. I’m going to remove this dependency and test…

SNMP is optional but I’d like to keep at least the net-snmp requirement just to ease installation and use of SNMP in Zabbix…

1 Like

Packages are related to SNMP Server/trap only or also for SNMP as client?

I think to both but I only used Zabbix as SNMP client yet…

And 3 lovely (ironic) switch boxes want a trap…

1 Like