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 !
you need this template:
And then create an alert that is triggered when that application is critical (define the thresholds first at the templte level) and define as trigger action 'execute an external program' with the script of restarting the computer. Something like this:
Installation | Consultancy | Training | Licenses
SolarWinds solutions are rooted in our deep connection to our user base in the THWACK® online community. More than 150,000 members are here to solve problems, share technology and best practices, and directly contribute to our product development process. Learn more today by joining now.