Skip to content

Detect offline workers of a specific HiveOS farm and notify by mail which one is down.

License

Notifications You must be signed in to change notification settings

Tibelian/HiveOS-NotifyOfflineWorkers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HiveOS-NotifyOfflineWorkers

Detect offline workers of a specific HiveOS farm and notify by mail which one is down.

Installation

  1. Download this repository
git clone https://github.com/Tibelian/HiveOS-NotifyOfflineWorkers.git
  1. Use the dependency manager composer to install PHPMailer
composer install

Configuration

  1. Edit the /include/config.json file to insert the "Generated Personal API Token" from HiveOS and your Farm ID
  2. Edit the /include/mailer.json file to configure your outgoing mail

Usage

  1. Create CRON Job to run the index.php file each X minutes/hours/days... For example: cron style to execute the script each 3 minutes
*/3 * * * *

About

Detect offline workers of a specific HiveOS farm and notify by mail which one is down.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages