Asi I wrote before, there is no DB table where the current status is stored. You can achieve it through some custom app which will store these data to the specific database. For receieving the current status you can use standard tools like CCPulse, Pulse or any other StatServer client.