Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_tcp_connections - with netstat and filtered by states
1.1
2017-01-17
- Nagios 3.x
- Nagios 4.x
- Nagios XI
GPL
10485
File | Description |
---|---|
check_tcp_connections | check_tcp_connections_v1.1 |
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!
Successfull tested with Raspberry Pi 1 Model B, Nagios 4 + NagiosGraph and Raspbian (Debian).
Usage:
./check_tcp_connections -s [a|l|w|e] -w -c
Only one state !!!
-s state: a:all, l:listen, w:wait, e:established
Update 1.1:
- New state added: s:syn (perfect to detect SYN-Flooding)
- netstat don't resolve names
Installation
============
1. Put the plugin into your plugin-directory.
2. Dont forget to set the permissions of the file to 755 on your linux machine. Also you need netstat.
3. At commands.cfg add the following lines:
define command {
command_name check_tcp_connections
command_line $USER1$/check_tcp_connections -s $ARG1$ -w $ARG2$ -c $ARG3$
}
Now you are ready to define your own service with "check_command check_tcp_connections!a!30!50" or other values.
Usage:
./check_tcp_connections -s [a|l|w|e] -w
Only one state !!!
-s state: a:all, l:listen, w:wait, e:established
Update 1.1:
- New state added: s:syn (perfect to detect SYN-Flooding)
- netstat don't resolve names
Installation
============
1. Put the plugin into your plugin-directory.
2. Dont forget to set the permissions of the file to 755 on your linux machine. Also you need netstat.
3. At commands.cfg add the following lines:
define command {
command_name check_tcp_connections
command_line $USER1$/check_tcp_connections -s $ARG1$ -w $ARG2$ -c $ARG3$
}
Now you are ready to define your own service with "check_command check_tcp_connections!a!30!50" or other values.
Reviews (0)
Be the first to review this listing!