Ad Widget

Collapse

MACRO to get item last date

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tsalle
    Member
    Zabbix Certified Specialist
    • Oct 2012
    • 79

    #1

    MACRO to get item last date

    Hi,
    I would like to know if there is a macro in Zabbix to retrieve the date of the last value ?

    In the doc, we can see :
    {ITEM.LASTVALUE<1-9>} : The latest value of the Nth item in the trigger expression that caused a notification. Supported since 1.4.3. It is alias to {{HOST.HOST}:{ITEM.KEY}.last(0)}

    {ITEM.VALUE<1-9>} : Resolved to either:
    1) the latest value of the Nth item in the trigger expression, if used for displaying triggers. In this case, works the same as {ITEM.LASTVALUE}.
    2) the historical (at-the-time-of-event) value of the Nth item in the trigger expression, if used for displaying events and notifications. Will resolve to UNKNOWN if the history value has already been deleted or has never been stored. Supported since 1.4.3.

    But I can't see a {ITEM.LASTTIME<1-9>} like MACRO

    Thanks for your answer,

    Thierry.
  • tsalle
    Member
    Zabbix Certified Specialist
    • Oct 2012
    • 79

    #2
    no one know ?
    The goal is to update mail action content with a message like :
    "Last value collected at : {ITEM.LASTCLOCK}"

    Comment

    Working...