28 Feb 2019 07:20 AM - last edited on 28 Sep 2022 03:10 AM by MaciejNeumann
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.
You can write a simple python OneAgent Plugin that captures that metric for you.
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.