ephemeral port exhaustion

Is there a way to have the solarwinds agent monitor a monitored agent for ephemeral port exhaustion?  Basically I am wanting to know if there are excessive TCP ports in TIMED_WAIT state.

The below powershell script does what I want but I need this to run on each node.  I could do a scheduled task and be done with it but I would rather have it run as a monitor in solarwinds so I dont have to keep up with the task.

$c = netstat -aonp TCP | select-string "TIME_WAIT"; $c.count

if ($c.count -ge 100)




If I could build a monitor to this script that would be great !

Top Replies