Hi,

 I have an alarm with multiple values coming in, like:

    packets sent = 123
    packets lost = 1

I've mapped these in the AlertMap.
 
 Is there any way to calculate a rate in the EventDisp, to then alarm on a 
threshold exceeded?

    # more than 5% loss is bad
    R Aprisma.EventCondition, "{VARDATA 2} / {VARDATA 1} > {I 5}", "0x1", 
"default", "0x0"

 Otherwise I'm left doing a straight compare against the raw value:

    # more than 10 packets lost is bad
    R Aprisma.EventCondition, "{VARDATA 2} > {I 10}", "0x1", "default", "0x0"

-- 
yathrib

---
To unsubscribe from spectrum, send email to [email protected] with the body: 
unsubscribe spectrum [email protected]

Reply via email to