Ad Widget

Collapse

Set variable on falling edge

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Puffer
    Junior Member
    • Jan 2023
    • 9

    #1

    Set variable on falling edge

    Hi Folks, I'm new to Zabbix.

    I'd like to set a Variable (Item/Macro) to a 1 when a dataset has a trailing edge step and reset it to 0 when it drops below a threshold.

    Click image for larger version

Name:	image.png
Views:	128
Size:	7.1 KB
ID:	457089
    Is there a simple tutorial somewhere that can be shared or can someone assist with this.

    Set : between(last(//voltage,#1),14.3,14.5) and between(last(//voltage),13.7,13.9)
    Reset : last(//voltage)<13

    ​Many thanks
    Attached Files
Working...