Current Value in JS Preprocessing

XMLWordPrintable

    • Type: Change Request
    • Resolution: Unresolved
    • Priority: Trivial
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      The new value is available as value

      It'd be amazing if the current (previous?) value was also available, potentially as currentValue

      Alternatively, user macros are supported, so being able to access '{ITEM.VALUE}' would work just as well.

      I think this has a lot of applications, but just for context, what I'm trying to do is be able to send an incrementor and a reset. We have a process looking for errors, when we find one we want to increment the zabbix value by 1. When we've resolved those issues, we want to be able set the value to 0 and start again.

            Assignee:
            Unassigned
            Reporter:
            Steve Baylis
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: