Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 

Repository files navigation

2021-03-11_09-59-38


The nodes names must be different, otherwise it won't work!


Install dockers of Grafana, Mysql and go-binary swarmon service to the SERVER

Debian:

cd /root
wget https://github.com/doristeo/SwarmMonitoring/raw/main/docker/instdeb.sh
chmod +x instdeb.sh
./instdeb.sh

Ubuntu:

cd /root
wget https://github.com/doristeo/SwarmMonitoring/raw/main/docker/instubu.sh
chmod +x instubu.sh
./instubu.sh

Centos:
Maybe later.

Raspberry Pi
Never.

Default login/password to Grafana is admin/admin.

Install a script that sends data to the server for EACH NODE

cd /root
wget https://github.com/doristeo/SwarmMonitoring/raw/main/send.sh
chmod +x send.sh

test all /root/send.sh http://public_IP_of_your_server:8080, if ok you will see the data on your Grafana-server http://public_IP_of_your_server:3000.

crontab -e

add this string */10 * * * * /root/send.sh http://public_IP_of_your_server:8080 > /dev/null 2>&1
and restart cron systemctl restart cron
The node will send data to the monitoring server every 10 minutes.

About

Grafana monitoring your nodes.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages