Go to file
Aelita4 a4166221de
Remove redundant console log
2022-08-22 11:25:11 +02:00
src Remove redundant console log 2022-08-22 11:25:11 +02:00
views Fix "Invalid date" error 2022-08-22 10:26:04 +02:00
.dockerignore Add docker support 2022-08-18 12:10:57 +02:00
.eslintrc.js Add TypeScript support 2022-08-17 12:57:03 +02:00
.gitignore Move IP storage to database 2022-08-22 09:47:11 +02:00
Dockerfile Move IP storage to database 2022-08-22 09:47:11 +02:00
LICENSE Add README and LICENSE 2022-08-22 11:02:17 +02:00
README.md Add README and LICENSE 2022-08-22 11:02:17 +02:00
docker-compose.yml Adapt docker runtime 2022-08-19 10:30:09 +02:00
package-lock.json Create login/register form 2022-08-18 10:57:58 +02:00
package.json Adapt NextJS/modules 2022-08-22 09:17:21 +02:00
tsconfig.json Adapt NextJS/modules 2022-08-22 09:17:21 +02:00

README.md

sshmon

Utility to monitor uptime of servers/services

First configuration

  1. Create docker image
  • $ docker build -t sshmon .
  1. Setup containers
  • $ docker-compose up -d

    • This will open ports 3306 for database, 8080 for main app and 8081 for phpMyAdmin
  1. Create database and tables
  • Script does not create database and tables by default
    • Create database sshmon with 2 tables:
      ips
      Name Type Extra
      id int AUTO_INCREMENT PRIMARY KEY
      ip varchar(255)
      users
      Name Type Extra
      id int AUTO_INCREMENT PRIMARY KEY
      username varchar(255)
      password varchar(255)
  1. Register new account in app
  2. Login
  3. Enjoy!