1
votes

I have created a Traffic Manager in Azure Portal and added a couple of AppService as an endpoint.

I want to monitor the status of the Traffic Manager to track below scenarios:

  1. To track when the Traffic Manager is Inactive or any other state other than Online.
  2. To generate logs when the Traffic Manager is Inactive.
  3. To monitor which AppService is Online and which is Inactive/Degraded.
  4. Also want to track how many requests have been made to the Traffic Manager, i.e hit count to traffic manager DNS.

Is there any way to enable logging for monitoring the status?enter image description here

Any help, highly appreciated..

Thank You

1

1 Answers

0
votes

Is there any way to enable logging for monitoring the status?

Azure provides the REST API that could be used to get the info of Traffic Manager profile. If possible, you could try to write a program by calling this REST API and extract the status info of Traffic Manager profile and endpoints from the response, and you could run your program on schedule to monitor the status of the Traffic Manager and generate logs.

enter image description here