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

Dynatrace oneagent installation with Windows 2019

sundarv1
Organizer

After we do upgrade of oneagent update in Windows 2019 Server , Remote desktop connection to server is lost.

Oneagent is getting upgraded successfully. But it require a reboot to resolve the Remote desktop connection  issue.

This issue happens only in Windows 2019. Windows 2016 all loooks good.

 

23 REPLIES 23

jonhaugen
Helper

Hi, 

From my own experience, this seems to be only affecting a specific Windows 2019 build, and happens only when Npcap is installed or upgraded.

The problem occurs because the Npcap driver shipped with the Oneagent installation has a bug which seems to cut all incoming and outgoing connections to the server. The workaround is either to disable Npcap installation or reboot. 

 

You can try to reach out to Nmap (https://nmap.org/), and see if they have had any similar reports on your current build.

Best of luck!

 

Intility - Dynatrace Professional

Hi Jon - Have you raised ticket with Dynatrace why they are shipping Npcap driver shipped with the Oneagent installation has a bug?. 

The ticket with Dynatrace was eventually closed, however here is the feedback: 

"There is Windows 2019 server (1809) which known problem that installing npcap driver causes whole host network disruption. This problem was studied time ago by nmap company which releases npcap and the pointed out there is a bug inside windows kernel (especially 1809) then problem got redirected to Microsoft - now to my knowledge other versions of Windows are not affected. There is hotfix installed KB4571748but there may other factors that make problem is still present e.g. some WAN miport drivers are present"

Intility - Dynatrace Professional

Hi Jon

But npcap is installed as part of dynatrace oneagent installation not thru windows 2019 OS.

Npcap Oneagent is installed thru dynatrace oneagent installation

 

 

Indeed, to disable Npcap during Oneagent installation you will have to manually disable the feature from the Oneagent. Sometimes Dynatrace upgrades the Npcap version shipped with OA, which will trigger a Npcap installation and therefore the network disruption may happen to the 1809 servers. 

Intility - Dynatrace Professional

Hi Jon

Thanks. Please let us know how to disable the Npcap version shipped with OA?

Should we use pcap_driver=winpcap 

If we use pcap_driver = disable what is the impact of not having oneagent network monitoring module.

 

I would not recommend to use winpcap as the support has been discontinued. 

The impact by not having the npcap driver installed is that you will be missing out on the topology and networking features in Dynatrace, which for example is used in the Smartscape Topology.

Here are some options based on your strategy, not disabling: 

  • Set up a maintenance schedule to patch OA within certain hours, so you can reboot the 2019 servers accordingly. 
  • Subscribe to the OA agent releases, so you know when a new npcap version is going to be installed. 

Disabling Npcap: 

  • Install standalone Npcap. The OA upgrades will respect any previously installed Npcap versions. This will benefit you by manually installing Npcap, and automatically update OA.
  • Disable Npcap and decide what impact it has for your environment. 
Intility - Dynatrace Professional

Peter_Youssef
Champion

Hello @sundarv1 

You can refer to Dynatrace documentation regarding pcap driver, if pcap part of the issue.

packet_capture_driver 

2024-10-17_14h38_49.png

You can stop OA service and adjust this configuration.

BR,

Peter

Hi Peter

When we do oneagent upgrade via dynatrace console, where do we specify the npcap parameter?. Could you please share?,

 

Hello @sundarv1 

It's not available through the installation UI, so you can do it through installation scripts or after deployment via oneagentctl.

.\oneagentctl.exe --set-PCAP_DRIVER=npcap

PFA attached URL : windows-custom-installation#packet_capture_driver for detailed info.

Tip:

Do it :muscle: and keep us posted 😉

Hi Peter

What we are seeing  npcap agent is installed for oneagent installation.  we did oneagent update via UI and npcap oneagent is installed part of this installation.

Thanks

Sundar.v

 

Thanks

Sundar.v

 

Hi @sundarv1 
Exactly, it's included in the installation process, once you install or update the OA.

If oneagent is installing npcap then what we need to do resolve the Remote desktop connecivity issue or host connecvity issue after agent upgraded successfully. 

If oneagent is installing npcap then what we need to do resolve the Remote desktop connecivity issue or host connecvity issue after agent upgraded successfully. 

If oneagent is installing npcap then what we need to do resolve the Remote desktop connecivity issue or host connecvity issue after agent upgraded successfully.

Hi @sundarv1 

for OA auto-update command during the installation specify the attached command beside the installation script.

2024-10-19_18h12_48.png

Peter_Youssef
Champion

Hi @sundarv1 

There is another solution to avoid such scenario in future:

Go to the target server > settings > process group monitoring > add process group > select the process group from the drop down menu which will be "Remote Desktop Connection" by default and select do not monitor to avoid the OA code modules injection.

2024-10-17_14h50_18.png

So whenever update is triggered this "Remote Desktop Connection" won't be impacted at all.

BR,

Peter

Peter_Youssef
Champion

Hi @sundarv1 

You have a good option if these Win server 2019 are grouped under host group.

Infrastructure observability > Process and technologies > filter by "Remote Desktop Connection" > then Edit and add monitoring rule > do not monitor so these servers won't be affected.

KR,

Peter.

 

p_devulapalli
Champion

Our oneagent versiion is 1.299 and Windows is 2019 and 1809. Wincap is not installed. only npcap is installed as part of oneagent installation.

Peter_Youssef
Champion

Hello @sundarv1 

Kindly find the attached URL to check the current configuration

Peter_Youssef
Champion

Hello @sundarv1 

Have you tried uninstalling any existing Pcap driver 

PFA Dynatrace documentation to follow : 

2024-10-21_13h49_17.png

Troubleshooting URLs:

BR,

Peter

There is no wincap and npcap driver previously. it was installed when we install oneagent only.

 

Featured Posts