Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
netstat check script - combined info about different types of connections per second and number of connections to specified local ports (perfdata only)
Current Version
1.0
Last Release Date
2012-11-15
Owner
Mikanoshi
Download URL
http://mikanoshi.name/share/check_netstat_combined
License
GPL
Compatible With
Bash script
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 <ports>]
-c Connections per second -p <ports> 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 :)
You must be logged in to submit a review.
To:
From:
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!