Áú»¢¶Ä²©

15 What's new in Áú»¢¶Ä²© 5.4.10

Sleep method for JavaScript engine

A new Áú»¢¶Ä²©.sleep() method of Áú»¢¶Ä²© 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:

Áú»¢¶Ä²©.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 Configuration ¡ú Templates in new installations;
  • If you are upgrading from previous versions, you can download new templates from Áú»¢¶Ä²© or find them in the templates directory of the downloaded latest Áú»¢¶Ä²© version. Then, while in Configuration ¡ú Templates you can import them manually into Áú»¢¶Ä²©.

Item changes

Native support for the items system.hw.chassis, system.hw.devices, vfs.dir.count, and vfs.dir.size has been added to Áú»¢¶Ä²© agent 2. These items, used with Áú»¢¶Ä²© 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