The Data on Demand Management Pack contains a number of useful System Center Operations Manager (SCOM) agent tasks, including the Netstat task required by Squared Up Visual Application Discovery & Analytics.
GNU General Public License v3.0
4
stars
2
forks
source link
Get Netstat CSV (Data On Demand) for Linux is failing & not retrieving any information #39
The problem lies with the Microsoft.SystemCenter.WSManagement.Library!Microsoft.SystemCenter.WSManagement.Invoker ProbeAction type used in the workflow.
It doesn’t work in SCOM 2019!!
MicrosoftUnixShellCommandLibrary!Microsoft.Unix.Invoke.Script.ProbeAction must be used instead, with the GetNetstatCSV.sh script encoded Base64.
Also, there are problems with the script itself as netstat might return LOTS of ESTABLISHED TCP connections.
Some kind of limit or process filtering must be put in place at script level (via arguments), otherwise script will time out without returning anything.
The problem lies with the Microsoft.SystemCenter.WSManagement.Library!Microsoft.SystemCenter.WSManagement.Invoker ProbeAction type used in the workflow. It doesn’t work in SCOM 2019!!
MicrosoftUnixShellCommandLibrary!Microsoft.Unix.Invoke.Script.ProbeAction must be used instead, with the GetNetstatCSV.sh script encoded Base64.
Also, there are problems with the script itself as netstat might return LOTS of ESTABLISHED TCP connections. Some kind of limit or process filtering must be put in place at script level (via arguments), otherwise script will time out without returning anything.