this information is in the TCP connections table:
you could build a UnDP poller for that table.
what are you actually trying to do with the output of netstat?
You could be better off with netflow/sflow and using NTA.
or a different non-NPM solution...
I was trying to do the same thing with OID 188.8.131.52.184.108.40.206.1.3: tcpConnLocalPort.
I would like to count and track the number of connection to an arbitrary port.
Example: Count the number of EST connections to port 80
The universal poller could capture them but there was no way to transform them with the functions available.
I’m look for something like
Count(tcpConnLocalPort = 80)