Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_netstat_combined
Current Version
1.0
Last Release Date
2012-11-15
Compatible With
- Nagios 3.x
Owner
Download URL
License
GPL
Hits
53225
Files:
File | Description |
---|---|
check_netstat_combined | Bash script |
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 parses different netstat outputs and provides performance data including:
- Requested / Accepted / Failed / Established connections per second
- Number of connections to specified local ports
Usage: check_netstat_combined [-c] [-p]
-c Connections per second
-p Comma-separated list of ports, e.g.: check_netstat_combined -p 80,8080,21,25
Netstat requires root privileges to display all connections (only when using -p argument), so you must copy binary to nagios libexec folder and set UID bit:
cp /usr/bin/netstat /usr/local/libexec/nagios/
chmod u+s /usr/local/libexec/nagios/netstat
...or rewrite script yourself to support passive checks using cron :)
- Requested / Accepted / Failed / Established connections per second
- Number of connections to specified local ports
Usage: check_netstat_combined [-c] [-p
-c Connections per second
-p
Netstat requires root privileges to display all connections (only when using -p argument), so you must copy binary to nagios libexec folder and set UID bit:
cp /usr/bin/netstat /usr/local/libexec/nagios/
chmod u+s /usr/local/libexec/nagios/netstat
...or rewrite script yourself to support passive checks using cron :)
Reviews (0)
Be the first to review this listing!