30 Aug 2017
06:09 AM
- last edited on
18 Oct 2022
04:36 AM
by
MaciejNeumann
Has anyone any experience of monitoring Microsoft DirectAccess?
Solved! Go to Solution.
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...
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