task #8635
Updated by Andreas Kohlbecker over 4 years ago
We will use collectd + facette for now: https://www.21x9.org/de/serverueberwachung-mit-collectd-und-facette.html https://www.tecmint.com/configure-collectd-as-central-monitoring-server-for-clients/2/ Test installation on edit-test as client and edit-staging as master to collect the time series data **edit-staging:** ~~~ apt-get install build-essential golang-go librrd-dev pkg-config pandoc protobuf-compiler ~~~ install node_js: https://github.com/nodesource/distributions/blob/master/README.md#deb ~~~ curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - sudo apt-get install -y nodejs npm install yarn -g ~~~ installing facette from binaries https://github.com/facette/facette/releases ~~~ mkdir /root/installer wget https://github.com/facette/facette/releases/download/0.5.1/facette_0.5.1_stretch-amd64.deb dpkg -i facette_0.5.1_stretch-amd64.deb ~~~ edit /etc/facette/facette.yaml: ~~~ listen: 160.45.63.177:12003 ~~~ restart facette: ~~~ systemctl restart facette.service ~~~ **Configure the provider** below the http command is [HTTPie, the command line HTTP client](https://httpie.org/) ~~~ ~~~~ http GET 160.45.63.177:12003/api/v1/providers 160.45.63.177:12003/api/v1/providers/ # should list no providers http POST 160.45.63.177:12003/api/v1/providers PUT 160.45.63.177:12003/api/v1/providers/ name=Connectd connector=rrd path='/var/lib/collectd/rrd/' pattern='(?P[^/]+)/(?P.+).rrd' ~~~