See www.zabbix.com for the official Zabbix site.

Docs/specs/ZBXNEXT-2079

From Zabbix.org
Jump to: navigation, search

Support of LLD macros for item units and IPMI sensor

ZBXNEXT-2079 ZBXNEXT-1799

Status: 1.1

Owner: Alexei

Summary

Item prototypes should support LLD macros for units and IPMI sensor.

Details

Zabbix interface already accepts arbitrary strings for units and IPMI sensor. The only missing part is support of LLD macros by Zabbix Server.

Zabbix Server should be extended to expand LLD macros when creating new items based on item prototypes.

No leading and trailing spaces should be removed from IPMI sensor fields after substitution of the macros.

The LLD macros should be expanded same way as for item descriptions, i.e.:

  • If size of expanded field exceeds max length then the operation will fail with an error message:
 Cannot add item: value "<value>" is too long.
 Cannot update item: value "<value>" is too long.
  • Macros will also be accepted if used as part of a string, for example, 'abc{#MACRO}def'.

Documentation

  • What's new in 3.0
  • Zabbix Manual
  • Table that describes scope of macros

ChangeLog

  • 1.1 More details on macro expanding, no functional changes.