loong576
loong576

Reputation: 1

Macros of Item Key in Zabbix

I am new to Zabbix, I have a question how the Macros works in the Item Key

Entry in zabbix_agentd.win.conf:

UserParameter=datt[*],echo $1

The hosts items: enter image description here

The latest data: enter image description here

Why the Macros of HOST.HOST shows correct while TIME and DATE wrong.

Upvotes: 0

Views: 1700

Answers (1)

Richlv
Richlv

Reputation: 4153

As per the Zabbix manual, {HOST.HOST} is supported in many locations, including Item key parameters. Both {DATE} and {TIME} are only supported in the following locations - notice item key parameters missing there:

  • Trigger-based notifications and commands
  • Discovery notifications
  • Auto-registration notifications
  • Internal notifications

Upvotes: 1

Related Questions