pp_watchdog is a Perl script which monitors configured URLs, and searches for specified content in the response. If the content is not provided or the request times out, then a state in a statefile is incremented and a corresponding recovery-script is called. This script can be an individual recovery-script for the monitored Web server. An example is provided. The watchdog also sends an email notification to the admin. The script is safe to run as a cronjob if timeouts are used for the monitoring and a lockfile is used to prevent multiple instances. After a 4 unsucsessfull recover attempts, the script stops trying to respond to the broken server to prevent overloading the machine.
| Tags | Networking Monitoring |
|---|---|
| Licenses | GPL |
| Operating Systems | POSIX |
| Implementation | Perl |
80x86 assembler designed for portability and modularity