28 Feb 2019 03:20 PM - last edited on 28 Sep 2022 11:10 AM by MaciejNeumann
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
Solved! Go to Solution.
28 Feb 2019 04:28 PM
You can write a simple python OneAgent Plugin that captures that metric for you.
25 Mar 2019 08:48 AM
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.
25 Mar 2019 10:21 AM
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.