Hi guys, i need a little help with this trigger (syntax)
I want to to calculate the difference (percentual) of 2 states (actual and previous). if that difference is above 20, fire the trigger
i have this: {XP1:ifInOctets.abschange((last("XP1:ifInOctets")-prev("XP1:ifInOctets"))*100)/prev("XP1:ifInOctets")}>20
meaning: {<host>:<key>.func(formula)}>20
formula = ((a-b) *100) / b
where:
a= sample
b= previous sample
what is wrong about the trigger. please illuminate me
thx in advance!
I want to to calculate the difference (percentual) of 2 states (actual and previous). if that difference is above 20, fire the trigger
i have this: {XP1:ifInOctets.abschange((last("XP1:ifInOctets")-prev("XP1:ifInOctets"))*100)/prev("XP1:ifInOctets")}>20
meaning: {<host>:<key>.func(formula)}>20
formula = ((a-b) *100) / b
where:
a= sample
b= previous sample
what is wrong about the trigger. please illuminate me

thx in advance!
Comment