Network Connections, Stats and Bandwidth

Number of connections opened by a process

Description:

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

Compatible With

  • Nagios 2.x
  • Nagios 3.x

License

GPL


Project Files
Project Notes
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
Reviews (0) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
0 (0)
Favorites
0
Views
5,512