Servers logs event

Hello guys

Could you guys please assist and help. The production server for SSRS server alway goes down. I don,t know the reason. Some errors message says Withness Client failed registration request while the other ones says .net runtime. However, I want to write a script either in SQL to sent the error message whenever the server goes down instead of relying on customers to notify us.