DefineX-Studios / WatchTower

A simplified AIO server monitor
1 stars 0 forks source link

WatchTower

A simplified AIO server monitor.

Table of Contents

Installation

To install the project, follow these steps:

  1. Clone the repository to your local machine:

    git https://github.com/DefineX-Studios/WatchTower.git
  2. Place the files in the desired folder.

Configuration Requirements

The project requires the following configuration files:

ssh_config.json

The ssh_config.json file contains the SSH configuration details. Please provide the following information in the file:

{
  "user": "",
  "port": 22,
  "ip": "ip_address",
  "password": "password",
  "identity": "identity_file",
  "local_path": "local_path",
  "remote_path": "remote_path"
}

server.json

The server.json file contains the server configuration details. Please provide the following information in the file:

{
  "commands": {
    "app_name": "command"
  },
  "monitoring_processes": {
    "p1": "p1.exe",
    "p2": "p2.exe"
  },
  "monitoring_services": {
    "s1": "s1_name",
    "s2": "s2_name"
  },
  "polling_rate": 1
}

mail_config.json

The mail_config.json file contains the email configuration details. Please provide the following information in the file:

{
  "sender_email": "",
  "receiver_email": "",
  "smtp_server": "",
  "smtp_port": 400,
  "smtp_username": "",
  "smtp_password": ""
}

How to Run

To run the project:

  1. Execute the cron file in the background.

License

This project is licensed under the MIT.