From 0f92762deb6c2a702faff1ab225a2cb24560c974 Mon Sep 17 00:00:00 2001 From: Charles Wyble Date: Sun, 21 Apr 2019 23:02:43 -0500 Subject: [PATCH] netdata support --- slack/prod/tsys-base/scripts/postinstall | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/slack/prod/tsys-base/scripts/postinstall b/slack/prod/tsys-base/scripts/postinstall index cce14b6..7b9d15f 100755 --- a/slack/prod/tsys-base/scripts/postinstall +++ b/slack/prod/tsys-base/scripts/postinstall @@ -95,7 +95,16 @@ git config --global user.name "Techops" hostname -f > /etc/mailname #Step 3: The usual suspects -export DEBIAN_FRONTEND="noninteractive" && apt-get -qq --yes -o Dpkg::Options::="--force-confold" install snmpd ncdu iftop nethogs screen acct tshark tcpdump glances dstat htop sysdig sysstat rsync clamav logwatch zsh sl postfix molly-guard mailutils ladvd auditd rkhunter rsyslog ngrep ntp nut-client lm-sensors zlib1g-dev uuid-dev libmnl-dev gcc make autoconf autoconf-archive autogen automake pkg-config curl +export DEBIAN_FRONTEND="noninteractive" && apt-get -qq --yes -o Dpkg::Options::="--force-confold" install snmpd ncdu iftop nethogs screen acct tshark tcpdump glances dstat htop sysdig sysstat rsync clamav logwatch zsh sl postfix molly-guard mailutils ladvd auditd rkhunter rsyslog ngrep ntp nut-client lm-sensors zlib1g-dev uuid-dev libmnl-dev gcc make autoconf autoconf-archive autogen automake pkg-config curl python-dnspython python-mysqldb libmnl + +# download it - the directory 'netdata' will be created +cd /root +git clone https://github.com/netdata/netdata.git --depth=100 +cd netdata + +# run script with root privileges to build, install, start Netdata +./netdata-installer.sh -u --dont-wait --stable-channel + #Turn on process accounting echo "Turning on process accounting..."