Checking proxy server availability and fixing if proxy is unresponsive

acetone a7b7750fed Update 'monitor.sh' 3 anni fa
LICENSE 311ceafa95 Initial commit 3 anni fa
README.md aa9208c22a Update 'README.md' 3 anni fa
monitor.expect 64ba1540db Add 'monitor.expect' 3 anni fa
monitor.sh a7b7750fed Update 'monitor.sh' 3 anni fa

README.md

socket-monitor-bash

Checking proxy server software availability and fixing if proxy is unresponsive.

Using

  • Edit ADDRESS and PORT in monitor.expect and monitor.sh;
  • Edit ACTION in monitor.sh;
  • Make monitor.expect and monitor.sh executable (chmod +x);
  • Add rule to cron: */1 * * * * /path/to/monitor.sh.