Hi,
Is it possible to get latest trigger time of an alert in that object in Orion.alerts?
AlertActive will have triggered date time, how to get Last triggered date time.
Tell me more about what you want - do you want to know the latest time this alert has triggered (once) for ANY device? Or if the alert has re-triggered (because the target is flapping/sawtoothing and going from good to bad)?
I want to know the latest alert time because the target is flapping from
good to bad.
I'd have to check to be sure, but in that case you are getting the last trigger time. If it went from bad to good and did an actual reset, that clears the alert out of the active alerts table. When it triggers again, it's a new alert.
Unless I'm missing a nuance of how you have things set up.
For example high transmit utilization is occurring in an interface . It's
getting cleared and reset frequently. I want to create a ticket if last
triggered time and current time has difference of 30 mins.