24 What's new in Zabbix 5.0.20

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.