My guess is that the other computer that is accessing the database needs to trap the error of disconnection. Then it will have to send a message to your monitoring computer. I'd assume that you would build a service on the monitering computer and have the accessing computer connect to it thru sockets or ....