9 What's new in Zabbix 7.0.4
Requirements
libevent 2.0.10 required
The minimum required version of libevent has been raised to 2.0.10.
Macros
Macro functions
New macro functions have been added:
| Functions | Description |
|---|---|
| regrepl | Replace a character or substring in a macro value |
| tr | Transliterate characters in a macro value |
| btoa | Encode macro value to Base64 format |
| htmlencode,htmldecode | Encode/decode macro value to/from HTML-encoded format |
| urlencode,urldecode | Encode/decode macro value to/from URL-encoded format |
| uppercase,lowercase | Transform text to uppercase, lowercase |
For more information, see macro functions.
Items
Retry for SNMP bulk items
A retry has been added for SNMP bulk items to avoid failure if one of the packets is lost.
The timeout for SNMP items with get and walk is set for whole session. If the timeout is reached then a retry will occur one time, the timeout will be reset and the last request will be resent allowing to continue the session from last request if a single packet is lost or arrived too late.
Frame selection in browser items
Browser items now support a new method browser.switchFrame() for switching to a specific frame specified in the method parameters.
Web scenarios
Web scenario variables enhanced
Variables in web scenarios have been enhanced by adding:
- support of macro functions, e.g.,
{newVar}={{myVar}.btoa()} - JSONPath support, e.g.,
{url}=jsonpath:$.host_url - XML Xpath support, e.g.,
{status}=xmlxpath://host/response/status
Databases
TimescaleDB 2.16 support
The maximum supported version for TimescaleDB is now 2.16.X.
MariaDB 11.5 support
The maximum supported version for MariaDB is now 11.5.X.
Notifications
Webhook integrations
A new integration is available that allows to integrate Zabbix with the MS Teams workflow feature using the Zabbix webhook media type.
Templates
For new templates and changes to existing templates, see Template changes.
Frontend
TAB key in scripts
Pressing the TAB key in the modal JavaScript editor now inserts a tab character (equivalent to 4 spaces) instead of shifting focus to another element. This applies to the Script parameter in Browser items, Script items, Webhooks, and the JavaScript preprocessing step.
Quick access to host or template configuration
In Data collection → Hosts and Data collection → Templates subsections (such as Items or Discovery rules), you can now click on the host or template name to open their configuration form.
Additionally, the item menu now includes the Host or Template option, allowing you to quickly access and configure the host or template that the item belongs to.
Filter audit log by IP
The IP option has been added to the audit log filter. You may now filter the audit log by the IP from which activity was initiated.
Additionally, IPs in the list are now clickable. Clicking on the hyperlink will filter records by the respective IP.
Actions numbered where media type/script is used
The actions where a media type/script is used are now preceded by a number indicating the total number of such actions. See Media types/Scripts.
Encryption
TLS cipher options in Zabbix agent 2
TLS cipher options have been added to Zabbix agent 2 and Windows agent 2 configuration.
| Option | Zabbix agent 2 | Windows agent 2 |
|---|---|---|
| TLSCipherCert | yes | - |
| TLSCipherCert13 | yes | yes |
| TLSCipherPSK | yes | - |
| TLSCipherPSK13 | yes | yes |
| TLSCipherAll | yes | - |
| TLSCipherAll13 | yes | yes |