cPanel plugin and script to get response codes for sites, configurable and bypassable from each individual cPanel
Easy to install.
- download dom_site_monitor.zip and dom_installer.sh to root directory
- run #> sh dom_installer.sh
Once plugin is installed, you can choose to, or where to mail the issue to by editing the 'mailissue' function in the dom_site_monitor script which has been moved to /usr/bin/
if you wish to use another password for the response code database, change the below files:
- dom_installer.sh
- /usr/local/cpanel/base/frontend/paper_lantern/dom_site_monitor/dbconnect.php
Cron Setup. The script runs in two phases, one normally, and one with the -r flag (to recheck). You can set intervals by editing these crons in the crontab, just make sure that you have given it enough time to complete before running -r, as passing the recheck flag will log the result, and mail the email address you have configured in WHM.