28 Feb 2019
07:20 AM
- last edited on
28 Sep 2022
03: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.
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.