I want to trigger an action a maximum of every 15 minutes if I receive a new trap from a device
So I have a trigger similar to this example:
Expression: {Template SNMP traps:snmptrap["cpqRackPowerSubsystem(NotRedundant|LineVoltagePro blem|OverloadCondition)"].str("LineVoltageProblem")}=1&{Template SNMP traps:snmptrap["cpqRackPowerSubsystem(NotRedundant|LineVoltagePro blem|OverloadCondition)"].nodata(15m)}=0
My problem is that if I were to receive a trap every 5 minutes, then the trigger would only fire once, because the nodata(15m) is never false to reset the trigger. And I want it to fire every 15 minutes, if there is a new trap.
I tried "and"ing {TRIGGER.VALUE}=0 with the expression, but it toggles from true to false every 30 seconds.
Any suggestions?
So I have a trigger similar to this example:
Expression: {Template SNMP traps:snmptrap["cpqRackPowerSubsystem(NotRedundant|LineVoltagePro blem|OverloadCondition)"].str("LineVoltageProblem")}=1&{Template SNMP traps:snmptrap["cpqRackPowerSubsystem(NotRedundant|LineVoltagePro blem|OverloadCondition)"].nodata(15m)}=0
My problem is that if I were to receive a trap every 5 minutes, then the trigger would only fire once, because the nodata(15m) is never false to reset the trigger. And I want it to fire every 15 minutes, if there is a new trap.
I tried "and"ing {TRIGGER.VALUE}=0 with the expression, but it toggles from true to false every 30 seconds.
Any suggestions?
Comment