14 What's new in Zabbix 5.4.9


New parameter for log*[] and logrt*[] items

The new optional parameter persistent_dir specifies a directory for storing a file with a state of log[], log.count[], logrt[] or logrt.count[] item.

The state includes the log file name, size, position how far the log file was analyzed, MD5 sums for identification of file and a few more attributes.

Its purpose is restoring of more detailed state of the log*[] item in Zabbix agent memory when the agent is started than available from Zabbix server.

It was developed for using in Unix environments with mirrored disks or filesystems supporting snapshots where Zabbix agent can be stopped and later started from a split-off disk copy or a filesystem snapshot.

If Zabbix agent is often stopped/started the new parameter can be also useful on simple filesystems for better protection against analyzing the same records twice or skipping records.

Read the persistent files notes for more information before using it.

VMware hypervisor discovery

The vmware.hv.discovery item now also returns a {#HV.NETNAME} macro.

JavaScript objects

The getHeaders() method of HttpRequest may now return an array for same-name headers, using the new asArray parameter. To return an array, specify this parameter as "true" (e.g. getHeaders(true)).

For more information, see Additional JavaScript objects.


Vulnerability to CVE-2021-42550 has been fixed. As an additional security measure it is recommended to check permissions to the /etc/zabbix/zabbix_java_gateway_logback.xml file and set it read-only, if write permissions are available for the "zabbix" user.