Compare commits

..

10 Commits

Author SHA1 Message Date
09a4bbf330 change timezone, proxy and cache 2023-04-25 10:36:02 +02:00
Bram Veenboer
d743e60f19 Add intel_cpu_energy plugin to collectd 2020-06-14 14:04:16 +02:00
Bram Veenboer
8f49550f0d Fix set incorrect permissions in parts.py 2020-06-14 14:03:36 +02:00
Bram Veenboer
0b88235834 Add libatasmart4 to collectd
This package is used by the smart plugin to read SMART information from disk drives.
2020-05-20 19:47:48 +02:00
Bram Veenboer
1e110e316b Update utilities for debian buster
* gnupg2 -> gpgv
* bzip2 -> lbzip2
2020-05-20 19:45:33 +02:00
Bram Veenboer
1e2923ad9a Add likwid and pylikwid to collectd 2020-03-17 10:08:44 +01:00
Bram Veenboer
c68e87c379 Update facette to version 0.5.1 2020-02-23 17:55:16 +01:00
Bram Veenboer
d504ce54e2 Fixes to make btrfs work (without external btrfs binary) 2020-02-23 17:54:21 +01:00
Bram Veenboer
73316042c4 Update collectd for debian buster 2020-02-23 15:21:16 +01:00
Bram Veenboer
ec6cc2c640 Update debian version to buster 2020-02-23 15:20:47 +01:00
5 changed files with 33 additions and 10 deletions

View File

@@ -1,11 +1,11 @@
DEBIAN = stretch
DEBIAN = buster
FROM = debian:$(DEBIAN)
MODE = minimal
PROXY = $(shell hostname -I | cut -d' ' -f1)
TIMEZONE = Europe/London
PROXY = #$(shell hostname -I | cut -d' ' -f1)
TIMEZONE = Europe/Amsterdam
JOBS = 2
CLEANUP = true
ARGS = --rm=false --no-cache=false
ARGS = --rm=false --no-cache
include $(wildcard $(DOCKER_HOME)/config.mk)
include $(wildcard $(DOCKER_HOME)/build/make/*.mk)

View File

@@ -41,7 +41,7 @@ for part in parts:
partfile = '{}_{}.sh'.format(file, i)
path = '{}/build/parts/{}'.format(os.environ['DOCKER_HOME'], partfile)
open(path, 'w').write(contents)
os.chmod(path, 0o100)
os.chmod(path, 0o700)
# Append to Dockerfile
docker.write('ADD parts/{} {}/{}\n'.format(partfile, tmp, partfile))

View File

@@ -1,3 +1,25 @@
apt_install_permanent libsensors4 hddtemp collectd
apt_install_permanent libsensors5 liblzo2-2 hddtemp collectd sudo btrfs-progs libatasmart4
pip install requests
useradd collectd
usermod -aG sudo collectd
echo 'collectd ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers.d/collectd
apt_install_temporary -y gcc python-dev make
git clone https://github.com/RRZE-HPC/likwid.git
cd likwid && make -j && make install
git clone https://github.com/RRZE-HPC/pylikwid.git
cd pylikwid
python setup.py build_ext
python setup.py install
apt_install_temporary -y collectd-dev
git clone https://github.com/n-st/collectd-plugin-intel_cpu_energy.git collectd-energy
cd collectd-energy
sed -i 's/ssnprintf/vsnprintf/' intel_cpu_energy.c
make
make install
export_env LD_LIBRARY_PATH /usr/local/lib

View File

@@ -1,9 +1,10 @@
## Configuration
export_env FACETTE_VERSION 0.4.0
export_env FACETTE_PACKAGE facette_${FACETTE_VERSION}_$DEBIAN-amd64.deb
export_env FACETTE_VERSION 0.5.1
export_env UBUNTU bionic
export_env FACETTE_PACKAGE facette_${FACETTE_VERSION}_$UBUNTU-amd64.deb
## Dependencies
apt_install_permanent librrd8 mime-support
apt_install_permanent librrd8 mime-support daemon
## Facette
cd /opt

View File

@@ -1,5 +1,5 @@
## Often used tools
apt_install_permanent software-properties-common gnupg2 dirmngr psmisc wget curl python-pip git gawk zip gperf unzip bzip2 inetutils-ping inetutils-telnet rsync
apt_install_permanent software-properties-common gpgv dirmngr psmisc wget curl python-pip git gawk zip gperf unzip lbzip2 inetutils-ping inetutils-telnet rsync
## Often used python modules
pip install argparse