Skip to content

Manage your cost of your infrastructure, estimate cpu, service and more

License

Notifications You must be signed in to change notification settings

Wattouat-IT/Wattouat-Server

Repository files navigation

Wattouat Server

Table of Contents

Stable version

Supported version:

  • Debian

    • Bullseye
      • Status: Stable
    • Buster
      • Status: Stable
    • Strech
      • Status: Not tested
  • Ubuntu

    • 21.04 LTS
      • Status: Stable
    • 20.04 LTS
      • Status: Stable
    • 18.04 LTS
      • Status: Stable

Prerequisites

  • Internet connection
  • Git
  • Root

Installation

Clone the repositorie

git clone https://github.com/Wattouat-IT/Wattouat-Server.git

And go inside the folder Wattouat-Server

Edit the configuration file

Edit the file wattouat.conf

  • ip : your local ip who run the database

Server installation

Executing the script

bash wattouat_server_install.sh
exec bash

Service Wattouat

Launch the service

Start the service at boot time

systemctl enable wattouat_server
systemctl start wattouat_server

Access to the database

The name of the database is Elisa.

To see if the data base has been created.

Default user and password is root / root where the database is hosted.

mysql -u root -proot elisa

Default use user and passwor is admin / root on remote access.

mysql -u admin -proot elisa -h <ip_address>

See all tables of elisa database

show tables;

Interface

Grafana

Install Grafana on the webserver. See the following instruction https://grafana.com/docs/grafana/latest/installation/

Import our Dashboard which you can find here

Grafana Dashboard

Log file

Go into /var/log/wattouat_server/

There are 2 files:

First is for Standard Output

Second is for Standard Error

Uninstall Wattouat Server

Go into /bin/wattouat/fonction

Execute file wattouat_uninstall.sh