15 What's new in Zabbix 5.4.10

Sleep method for JavaScript engine

A new Zabbix.sleep() method of Zabbix object has been implemented into JavaScript engine. It will allow to pause JavaScript execution if required. For example, it may be useful in webhooks when working with two separate services, which have a delay between data flows. The method accepts milliseconds as argument, e. g. to delay for 15 seconds:

Zabbix.sleep(15000);

See also: Additional JavaScript objects

pfSense monitoring template

A new template pfSense SNMP is now available for out-of-the-box monitoring.

You can get this template:

  • In ConfigurationTemplates in new installations;
  • If you are upgrading from previous versions, you can download new templates from Zabbix Git repository or find them in the templates directory of the downloaded latest Zabbix version. Then, while in ConfigurationTemplates you can import them manually into Zabbix.

Item changes

Native support for the items system.hw.chassis, system.hw.devices, vfs.dir.count, and vfs.dir.size has been added to Zabbix agent 2. These items, used with Zabbix agent 2, now support concurrent check processing.

IP selection priority during VMware hypervisor discovery

To ensure predictable discovery of interface in case of an HA configuration with multiple net interfaces, the following selection priority for interface is observed for the vmware.hv.discovery item:

  • prefer the IP which shares the IP-subnet with the vCenter IP
  • prefer the IP from IP-subnet with default gateway
  • prefer the IP from interface with the lowest ID