Periodically checks hosts if they are available and sends alerts to email & Slack channels when goes offline or comes back online.
- Slack
- Create App & deploy
- Create channels
- Application
- Clone repository file to
/my/hostmeow/pathon your server- Command
git clone https://github.com/SKJoy/HostMeow.git /my/hostmeow/path
- Command
- Rename
/my/hostmeow/path/sample.configuration.phpfile toconfiguration.php(or use theinstall.shscript) and modify as needed- Set
MailFromaddress as needed; domain should match the SMTP domain - Set
SMTPconfiguration for mail send out - Set
HostAlertSlackAuthorizationTokenfor Slack channel message
- Set
- Rename
script/test/sample.http.csvfile tohttp.csv(or use theinstall.shscript) and modify the host list - CronJob: Per minute cron job to execute
/my/hostmeow/path/test-http.phpscript- Command:
php /my/hostmeow/path/test-http.php > /dev/null & - Full command:
* * * * * php /my/hostmeow/path/test-http.php > /dev/null &
- Command:
- Note
- Shell command execution permission is required for PHP
/my/hostmeow/path/temppath must remain WRITEable for PHP
- Clone repository file to
install.shis not working: Usechmod +x install.sh && ./install.shcommand- Check for error: An error log
/my/hostmeow/path/error.php.logfile will be created upon any PHP error - No host scan happenning
- Check the
script/test/http.csvfile is exists with host list - Ensure the CronJob is set correctly
- Check the
- Emails are not sent out
- Check
SMTPconfiguration - Ensure
SMTP&MailFrombelongs to same domain
- Check