https://github.com/gyselroth/monitoring-plugin-connections
Monitoring number of open connections
https://github.com/gyselroth/monitoring-plugin-connections
bash-script monitoring-plugins network
Last synced: 9 months ago
JSON representation
Monitoring number of open connections
- Host: GitHub
- URL: https://github.com/gyselroth/monitoring-plugin-connections
- Owner: gyselroth
- License: mit
- Created: 2017-01-16T12:22:35.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-17T06:57:17.000Z (over 8 years ago)
- Last Synced: 2025-01-07T03:12:34.132Z (about 1 year ago)
- Topics: bash-script, monitoring-plugins, network
- Language: Shell
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Monitoring Plugin: Number of connections
### Description
Monitor the number of open sockets on your server.
For example:
# ./check_connections -p 443 -w 400 -c 500 -d
established tcp connections (5) is ok|'max'=500;;;;0 'total'=169;;;;0 'established'=5;;;;0 'time_wait'=164;;;;0 'close_wait'=0;;;;0 'fin_wait'=0;;;;
This will monitor the current https connections and throws a warning with 400 and more connectiond and critical with 500 and more.
You can also gather performance data if you specify -d.
### Usage
-h Show this message
-p Port
-w Max established connections (warning)
-c Max established connections (critical)
-d Performance Data
### Install
Copy check_connections to your plugin folder and create a service/exec in your monitoring engine.