14 What’s new in Zabbix 5.4.9
Items
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.