Ad Widget

Collapse

Custom Message in Zabbix Action - Item Value and Timestamp

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Daniel4711
    Senior Member
    • Jul 2014
    • 126

    #1

    Custom Message in Zabbix Action - Item Value and Timestamp

    Hello all,

    There is a script running on a server which supplies a Zabbix trapper item.
    The item is configured with "Discard Unchanged" so it can happen that the last value is several hours old.

    The trigger is set to start if:
    Trapper Value ist not 25 (=Job Running)
    Time is after 21:45
    Time is before 23:00


    I would like to have the following values in a custom message of the action:
    Last determined value
    Timestamp of the last value

    I am unsure how to put this in the message.
    {HOST.NAME} is easy, but how should the item be written?
    It comes from a template.

    The item name is "ERP Dispo Job Status" and comes from the template:
    Template::Task:APP::Mon:ispo Job"

    What is the correct syntax when I want to put Item Value and Timestamp in the message?

    Thanks in advance!

    We´re Using Zabbix 6.2​
Working...