how to monitor intranet urls

$@chin 85 Reputation points
2024-04-09T18:06:44.4+00:00

Is there a way to monitor private or intranet URLs hosted on VMs using a custom DNS server and behind a NVA ? Can this be achieved using Azure Application Insights standard web tests or Network Watcher connection monitor?

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,812 questions
{count} votes

1 answer

Sort by: Most helpful
  1. AnuragSingh-MSFT 20,106 Reputation points
    2024-04-22T08:05:41.9+00:00

    @$@chin Thank you for sharing additional details and apologies for the delayed response.

    The scenario mentioned in the question would come under private testing. There are 2 ways to get this to work:

    1. Public availability test enablement - In this case, a public DNS record is created for the intranet site and firewalls are enabled to allow testing from ApplicationInsights endpoints.
    2. Using custom code and TrackAvailability() method of AppInsights API - In this method, the testing is done without making the Public DNS entry. Instead, a custom code is written which performs the test and uploads the result to ApplicationInsights resource. This code can be run as Azure Function or as a scheduled webjob or other mechanism. For an example code sample using this method, see TrackAvailability(): Basic Code Sample.
      The details of TrackAvailablity() method is available here - TelemetryClient.TrackAvailability Method

    Hope this helps.

    If the answer did not help, please add more context/follow-up question for it. Else, if the answer helped, please click Accept answer so that it can help others in the community looking for help on similar topics.

    0 comments No comments