cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Has anyone any experience of monitoring Microsoft DirectAccess?

rogilvie
Participant
 
1 REPLY 1

brayden_neale
Dynatrace Helper
Dynatrace Helper

For Performance and Availability monitoring I would recommend you use Dynatrace DCRUM (network monitoring) as Direct Access is a remote connection service.

That said, we have just configured Direct Access Monitoring with Dynatrace Managed at my account.

By default Direct Access is detected under the 'Windows System' process when an agent is deployed to the host.
Through Custom process detection you can split out Direct Access as a separate process.

https://www.dynatrace.com/support/help/infrastruct...


  1. Add a Registry Key
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RaMgmtSvc
    New multi-string value
    Value Name: Environment
    DT_CLUSTER_ID=DirectAccess
  2. From the Dynatrace web UI add the process detection rule: Settings -> Process Groups -> Process group detection

Direct access seems to start up before the Dynatrace agent on server reboots... We have added a startup delay via group policy so that this monitoring persists

Key Path: SYSTEM\CurrentControlSet\Services\RaMgmtSvc
Value Name: AutoStartDelay
Value type: REG_DWORD
Value data: 120
Base: Decimal

You can now view basic process stats such as:

If you want metrics such as unique users and total number of connections you will need to use a custom plugin.

https://www.dynatrace.com/news/blog/extend-dynatra...

I have developed a basic plugin for this (UNOFFICIAL, INEFFICIENT and a WIP)

I have used Get-RemoteAccessConnectionStatisticsSummary command from Powershell. Currently trying to determine a way to feed in values from Get-RemoteAccessConnectionStatistics for more details

You will need to run the Powershell script as a scheduled task as the oneagent runs as a local admin and won't have the required permissions.

https://github.com/BraydenNeale/dynatrace_direct_a..

Examples from our environment:

Plugin

Host process 'Further details' View

Custom Dashboard