Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

check_connections

Rating
0 votes
Favoured:
1
Current Version
1.0
Last Release Date
2011-10-05
Compatible With
  • Nagios 2.x
  • Nagios 3.x
Owner
Hits
91120
Files:
FileDescription
check_connectionscheck_connections
check_connections.wsfcheck_connections.wsf
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Check established connections using netstat.
Check established conenctions using netstat.
Requires the Nagios::Plugin module and netstat binary.

Provides performance data about established connections, listeners and connections in wait_close state.

Update 1:
Added a windows version.

I've also provided a nagiosgraph map config:
# Connections (Linux)
# established=8;; waiting=0;; listeners=4;;
/perfdata:.*established=([.0-9]+).*swaiting=([.0-9]+).*slisteners=([.0-9]+)./
and push @s, [ 'connections',
[ 'established', GAUGE, $1 ],
[ 'waiting', GAUGE, $2 ],
[ 'listeners', GAUGE, $3 ] ];