Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
Nagios plugin to monitor socks proxy
Current Version
1.0.0
Last Release Date
2019-09-01
Owner
Ekhozie
Website
https://github.com/Ekhozie/check_socks
Download URL
https://raw.githubusercontent.com/Ekhozie/check_socks/master/check_socks
License
GPL
Compatible With
Installation: Copy check_socks file in plugin directory (usually /usr/lib/nagios/plugins, can be found in file /etc/nagios3/resource.cfg). Make it executable: chmod +x /usr/lib/nagios/plugins/check_socks
Configuration: Define command # 'check_socks' command definition define command{ command_name check_socks command_line /usr/lib/nagios/plugins/check_socks -i '$ARG1$' -p '$ARG2$' } Define service # Define a service to check socks proxy define service{ use generic-service host_name hostname service_description Socks proxy check_command check_socks!<ip>!<port> } Replace <ip> and <port> with your values
Script usage: Usage: --help = Print this message -i = Proxy IP address (default 127.0.0.1) -p = Proxy port (default 1080) --target = Url to check socks proxy (default https://www.google.com) --max-time = Maximum time in seconds that you allow the whole operation to take (default 10)
Requirements: curl must be installed on the host.
You must be logged in to submit a review.
To:
From: