Timebeat Monitoring System Installation guide

Timebeat operates best when utilising the elastic database and Grafana front end.

The simple commands below will set you up in minutes with a complete out-of-the-box deployment of all the Timebeat dependencies.

(Please note, this guide is based on Fedora and may need to be tweaked for other Linux systems)

 

Before you begin:

During the installation process, you will need to input some IP address information.

For this, just insert the host IP address followed by the same again, with a hyphen separating the two (see the example below).

10.101.101.101-10.101.101.101

 Getting Started:

Run the below commands to get up and running with the complete monitoring system. This method is only recommended for test or lab type environments:

$ sudo dnf install -y snapd

$ sudo ln -s /var/lib/snapd/snap /snap

$ sudo snap install microk8s --classic

$ sudo /snap/bin/microk8s enable dns
$ sudo /snap/bin/microk8s enable hostpath-storage
$ sudo /snap/bin/microk8s enable helm3
$ sudo /snap/bin/microk8s enable metallb

During this step you will be asked to insert an IP address.
This will be in the format of "IPaddress-SameIPaddress" see above example.

$ sudo /snap/bin/microk8s helm3 repo add timebeat https://license.timebeat.app/chart/
$ sudo /snap/bin/microk8s helm3 install timebeat timebeat/timebeat-backend-chart

 

Once complete, the elastic and grafana will be available.
You can report to elastic using the IP address the installer requests and port 9200.

Grafana will also be on the same IP address using port 80.

Grafana Default login details:

username: admin

password: admin

(you will be prompted to change the password upon first login.)

 

To check whether the system is deploying or deployed the below command will provide the information:

$ sudo /snap/bin/microk8s kubectl get all --all-namespaces

The output should look similar to the below:

 

This system creates a microk8s system so all the usual kubernetes tricks are possible

To update the system, which we recommend from time to time as we release new updates, run the following commands:

$ sudo /snap/bin/microk8s helm3 repo update
$ sudo /snap/bin/microk8s helm3 upgrade timebeat timebeat/timebeat-backend-chart

 

To stop the deployed services, just run the below command:

$ sudo /snap/bin/microk8s stop

 

To uninstall and remove all timebeat systems.

sudo /snap/bin/microk8s helm3 uninstall timebeat

To remove all of the system setups, use the following command:

sudo /snap/bin/microk8s reset

 Â