Logicmonitor is colleting a lot of metrics that can be used to have the decision if a Server is idle or not.
We will reduce the risk to execute unwanted scripts and we take advantage of already developed solution.
For example creating an event with a number of conections we can decide if the SQL is Idle
Further information will be required to understand if this feature will be feasible. It is possible that a feasibility assessment should be performed prior the feature implementation.