Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
Counts number of opened connections that a given process has opened. Plugin uses netstat with sudo access. It can match process by regexp or use pid file (which is strongly recommended).
Current Version
1.0
Last Release Date
2017-02-08
Owner
Maciej Nowakowski
Website
https://commandline.tech
License
GPL
Compatible With
Counts number of opened connections that a given process has opened. Plugin uses netstat with sudo access. It can match process by regexp or use pid file (which is strongly recomended).
Check number of opened connections by a process. Process may be given either by pid file or by regex to match "pgrep -f". Needs sudo to run netstat.
Options: -p <pidfile> Path to pidfile containing pid of running cess. Sets match type to pidfile. -P <regex> Regular expression that matches process in auxw output. Sets matchtype to ps. -w <number> Warning level. -c <number> Critical level.
Usage: $0 -p /var/run/processfile.pid -w 500 -c 1000
You must be logged in to submit a review.
To:
From:
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!