K
K
Konstantin Fedorov2017-10-30 19:39:12
linux
Konstantin Fedorov, 2017-10-30 19:39:12

How to organize the collection of data from computers via ssh and storage (once every 15 minutes, polling the status)?

It is necessary to monitor the work of linux machines, or rather the ethos operating system for mining.
I want to automatically collect data from different machines into one table with a frequency of 15 minutes, write it to the database, organize some kind of web interface with prepared logic.
As part of the question, it is interesting to think about what is better to do:
1. connecting via ssh according to the list of computers, login \ password, executing the 1st command and parsing its results with a record in the database
2. Creating something like an alert system so that independent rules can be made and if the conditions match, send email\telegram
3. Ideas what is better to use to implement a dashboard with the current last poll and averages.
python\php\js

Answer the question

In order to leave comments, you need to log in

3 answer(s)
K
ky0, 2017-10-30
@ky0

Download Zabbix and write a script with your team - here you have a dashboard, alerts, and whatever charts you want.

S
sim3x, 2017-10-30
@sim3x

pssh + bash
fabric + python
ansible + python
...

C
chupasaurus, 2017-10-30
@chupasaurus

I will add a marginal option: prometheus + ssh_exporter + grafana

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question