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

Configure Netstat metrics on Dynatrace managed

amarpreet_sawhn
Contributor

Hi,

Is there a way to get "netstat" commands executed via dynatrace managed so that we can see those metrics.

I want to execute below commnand on some of my servers -

netstat -tnp |grep -1 fin_wait2 | wc -l


3 REPLIES 3

pahofmann
Leader

You can write a simple python OneAgent Plugin that captures that metric for you.


Hi Patrick,

I tried to get these custom plugins but unfortunately I am not skilled to creates such plugins. If you have a sample plugin that you can share which serves the above purpose I would be grateful.


Sorry, no example plugin I can share. But there are detailed informations on how to write your first OneAgent plugin, which should be of help.