How to know the server status ?

You can use a HTTProvider.

http://community.wowza.com/t/-/245

You will send querystring with stream name and application name, then you will have to write some code to test the stream, then you can respond with your result.

Richard