Ad Widget

Collapse

Is there a version of {ITEM.LASTVALUE}that returns the value of the original problem?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • artschooldropout
    Junior Member
    • Aug 2023
    • 6

    #1

    Is there a version of {ITEM.LASTVALUE}that returns the value of the original problem?

    Let's say you have a trigger with {ITEM.LASTVALUE<1-9>} or {ITEM.VALUE<1-9>} in its name. The item value happens to be null when the trigger is not fired. When the trigger is in the problem state, the notification contains the description of the problem. However, when the problem is resolved, {ITEM.VALUE<1-9>} is null, so the resolved notification has no description. The administrator doesn't know which problem is in the resolved state. Wouldn't it be nice if there was a version of {ITEM.VALUE<1-9>}​ that provides the item value from when it was in the problem state? I'm just checking here before I make a feature request.
  • tim.mooney
    Senior Member
    • Dec 2012
    • 1427

    #2
    Have you looked at the {EVENT.*} macros? https://www.zabbix.com/documentation...ed_by_location

    Comment

    • artschooldropout
      Junior Member
      • Aug 2023
      • 6

      #3
      Per the documentation, the relevant macros would be {EVENT.NAME} or {EVENT.OPDATA}, but these are not supported in trigger names. I tried just in case, but the notification spits out "{EVENT.NAME}" instead of the value of the macro.

      Comment

      Working...