Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Number of connections opened by a process
1.0
2017-02-08
- Nagios 2.x
- Nagios 3.x
GPL
5477
File | Description |
---|---|
check_process_open_connections.sh | check_process_open_connections.sh |
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
Plugin uses netstat with sudo access. It can match process by regexp or
use pid file (which is strongly recommended).
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 Path to pidfile containing pid of running
cess. Sets match type to pidfile.
-P Regular expression that matches process in
auxw output. Sets matchtype to ps.
-w Warning level.
-c Critical level.
Usage: $0 -p /var/run/processfile.pid -w 500 -c 1000
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
cess. Sets match type to pidfile.
-P
auxw output. Sets matchtype to ps.
-w
-c
Usage: $0 -p /var/run/processfile.pid -w 500 -c 1000
Reviews (0)
Be the first to review this listing!