You can change an event status with event_range_manage()
I was searching a way to close an event with event_range_manage through a recovery action too and found this post.... hope I'm not jumping into this one too late :)
Well I'm still trying to figure out a way to close the right event.... I mean, if in one particular server a MemoryUsage alert goes from CRITICAL to OK, I want to close that event (or the latest critical/warning NOTIFY_EVENTS related to MemoryUsage on that particular server).
I've done some tests with remote_event_query() hoping to query the right eventID's and put them inside some variables to close the events but, well... I'm kind of stuck right now.
any suggestions, hints or samples on that?
Thanks in advance!
do not see event_range_manage in psl functions manual
One way I have been able to do this is by using the set command on the agent
The agent should then create the close event etc.
Susan never mind, found it.