Reset lost admin password of Grafana server (CentOS 7)

It could happen to lose your Grafana admin password and luckily there is a pretty easy way to the system administrator of the Grafana server to reset the admin password.
There is really good and simple page of how you can reset the admin password with grafana-cli in the documentation of Grafana website. Probably you can check it, too.

The problem is that most distributions like the one we use (CentOS 7) it rearrange the home directory of the Grafana software and if you try to use grafana-cli you’ll end up with the error mentioned in the section below the solution we offer you here! And you really could mess up the thing and hurry to say this software is buggy!
First, “grafana-cli admin reset-admin-password ” needs to know where is your configuration file and Grafana home directory, because from the configuration it will extract what kind of back-end server you use like sqlite3 or MySQL (or other) and the path or login data if needed to the back-end, then it will reset the password with the given one. At the bottom of this article there is another method of resetting the Grafana admin password without grafana-cli – manual reset in the database.
So first you should check with what command line arguments was started your instance of Grafana server:
Keep on reading!

CentOS 7 – load a new kernel without rebooting the server

Here are the commands needed to load a new kernel without rebooting your server or desktop computer. Why you need this? Sometime rebooting a server could take 5 to 10 minutes and loading a new kernel is just up to a minute. In fact in most cases loading the new kernel and starting the system then is just under 20-30 seconds, so upgrading your server even with new kernel is super easy lately. We tested it on CentOS 7 server and it was successful. The system uses systemd and the process is really easy and safe for the systems.

When the processes is initiated the system shutdowns normally (shutting down all running service with systemd) and then load the system immediately with the new kernel and starts the services as usual!

So no need to worry about unflushed data or not proper shutdown of a service! It’s like a normal reboot but without a hardware reboot and is a lot faster!
Here is what is required to load a kernel without hardware rebooting your computer box:

  1. kexec-tools
  2. Load the new kernel, initram file and the command line arguments with “kexec”
  3. Start a systemd target – kexec.target

CentOS 7 using kexec to load a new kernel

The real commands only for CentOS 7:

yum install -y kexec-tools
kexec -l /boot/vmlinuz-3.10.0-862.11.6.el7.x86_64 --initrd=/boot/initramfs-3.10.0-862.11.6.el7.x86_64.img --command-line="root=/dev/mapper/centos_srv-root ro crashkernel=auto rd.lvm.lv=centos_srv/root rd.lvm.lv=centos_srv/swap rhgb quiet LANG=en_US.UTF-8"
systemctl start kexec.target

Here is a real world example with all the output:
As you can see it is important to load the initram file and the exact arguments to the kernel. You should take them from the grub 2 configuration – /boot/grub2/grub.cfg
Here is the real output:

[root@srv ~]# yum -y update
Loaded plugins: fastestmirror
Determining fastest mirrors
 * base: mirrors.neterra.net
 * extras: mirrors.neterra.net
 * updates: mirrors.neterra.net
base                                                                                                                                                 | 3.6 kB  00:00:00     
centos-sclo-rh                                                                                                                                       | 3.0 kB  00:00:00     
centos-sclo-sclo                                                                                                                                     | 2.9 kB  00:00:00     
extras                                                                                                                                               | 3.4 kB  00:00:00     
updates                                                                                                                                              | 3.4 kB  00:00:00     
(1/4): extras/7/x86_64/primary_db                                                                                                                    | 187 kB  00:00:00     
(2/4): updates/7/x86_64/primary_db                                                                                                                   | 5.2 MB  00:00:01     
(3/4): centos-sclo-sclo/x86_64/primary_db                                                                                                            | 292 kB  00:00:01     
(4/4): centos-sclo-rh/x86_64/primary_db                                                                                                              | 3.7 MB  00:00:02     
Resolving Dependencies
--> Running transaction check
---> Package kernel.x86_64 0:3.10.0-862.11.6.el7 will be installed
---> Package kernel-headers.x86_64 0:3.10.0-862.3.2.el7 will be updated
---> Package kernel-headers.x86_64 0:3.10.0-862.11.6.el7 will be an update
---> Package kernel-tools.x86_64 0:3.10.0-862.3.2.el7 will be updated
---> Package kernel-tools.x86_64 0:3.10.0-862.11.6.el7 will be an update
---> Package kernel-tools-libs.x86_64 0:3.10.0-862.3.2.el7 will be updated
---> Package kernel-tools-libs.x86_64 0:3.10.0-862.11.6.el7 will be an update
....
....
[root@srv ~]# yum install -y kexec-tools
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.neterra.net
 * extras: mirrors.neterra.net
 * updates: mirrors.neterra.net
Package kexec-tools-2.0.15-13.el7.x86_64 already installed and latest version
Nothing to do

So we performed an update and there was a new kernel kernel.x86_64 0:3.10.0-862.11.6.el7, which we would like to load without hardware reboot.
Here is our new kernel in “/boot”

[root@srv ~]# ls -altr /boot/
total 171812
-rw-------.  1 root root  3228420 22 Aug  2017 System.map-3.10.0-693.el7.x86_64
-rw-r--r--.  1 root root   140894 22 Aug  2017 config-3.10.0-693.el7.x86_64
-rw-r--r--.  1 root root      166 22 Aug  2017 .vmlinuz-3.10.0-693.el7.x86_64.hmac
-rwxr-xr-x.  1 root root  5877760 22 Aug  2017 vmlinuz-3.10.0-693.el7.x86_64
-rw-r--r--.  1 root root   293027 22 Aug  2017 symvers-3.10.0-693.el7.x86_64.gz
drwxr-xr-x.  3 root root       17 20 Feb  2018 efi
drwxr-xr-x.  2 root root       27 20 Feb  2018 grub
-rw-r--r--.  1 root root   611343 20 Feb  2018 initrd-plymouth.img
-rw-------.  1 root root 51315067 20 Feb  2018 initramfs-0-rescue-cc7889764e86441b8d1eb54e29e81a91.img
-rwxr-xr-x.  1 root root  5877760 20 Feb  2018 vmlinuz-0-rescue-cc7889764e86441b8d1eb54e29e81a91
-rw-------.  1 root root  3409912 21 May 23,50 System.map-3.10.0-862.3.2.el7.x86_64
-rw-r--r--.  1 root root   147823 21 May 23,50 config-3.10.0-862.3.2.el7.x86_64
-rw-r--r--.  1 root root      170 21 May 23,50 .vmlinuz-3.10.0-862.3.2.el7.x86_64.hmac
-rwxr-xr-x.  1 root root  6228832 21 May 23,50 vmlinuz-3.10.0-862.3.2.el7.x86_64
-rw-r--r--.  1 root root   304943 21 May 23,52 symvers-3.10.0-862.3.2.el7.x86_64.gz
dr-xr-xr-x. 17 root root      224 14 Jun  7,18 ..
-rw-------.  1 root root 12997841 14 Jun  7,19 initramfs-3.10.0-693.el7.x86_64kdump.img
-rw-------.  1 root root 20771492 14 Jun  7,20 initramfs-3.10.0-693.el7.x86_64.img
-rw-------.  1 root root 13007444 14 Jun  7,23 initramfs-3.10.0-862.3.2.el7.x86_64kdump.img
-rw-r--r--.  1 root root   147859 14 Aug 22,02 config-3.10.0-862.11.6.el7.x86_64
-rw-------.  1 root root  3414344 14 Aug 22,02 System.map-3.10.0-862.11.6.el7.x86_64
-rw-r--r--.  1 root root      171 14 Aug 22,02 .vmlinuz-3.10.0-862.11.6.el7.x86_64.hmac
-rwxr-xr-x.  1 root root  6242208 14 Aug 22,02 vmlinuz-3.10.0-862.11.6.el7.x86_64
-rw-r--r--.  1 root root   305158 14 Aug 22,05 symvers-3.10.0-862.11.6.el7.x86_64.gz
-rw-------.  1 root root 20774393  5 Sep 15,20 initramfs-3.10.0-862.11.6.el7.x86_64.img
drwx------.  5 root root       97  5 Sep 15,20 grub2
dr-xr-xr-x.  5 root root     4096  5 Sep 15,21 .
-rw-------.  1 root root 20782404  5 Sep 15,21 initramfs-3.10.0-862.3.2.el7.x86_64.img

Now we know the kernel and initram file names we just check the kernel arguments in the kernel, load them with kexec and start an systemd target to load the new kernel:

[root@srv ~]# grep vmlinuz-3.10.0-862.11.6.el7.x86_64 /boot/grub2/grub.cfg 
        linux16 /vmlinuz-3.10.0-862.11.6.el7.x86_64 root=/dev/mapper/centos_srv-root ro crashkernel=auto rd.lvm.lv=centos_srv/root rd.lvm.lv=centos_srv/swap rhgb quiet LANG=en_US.UTF-8
[root@srv ~]# kexec -l /boot/vmlinuz-3.10.0-862.11.6.el7.x86_64 --initrd=/boot/initramfs-3.10.0-862.11.6.el7.x86_64.img --command-line="root=/dev/mapper/centos_srv-root ro crashkernel=auto rd.lvm.lv=centos_srv/root rd.lvm.lv=centos_srv/swap rhgb quiet LANG=en_US.UTF-8"
[root@srv ~]# systemctl start kexec.target
Connection to srv closed by remote host.
Connection to srv closed.

As you can see systemd performs a normal shutdown of all services and targets.

main menu
Normal Shutdown

The ssh connection is immediately closed because the reboot is initiated.
After 10-15 seconds our host is alive and the new kernel is loaded successfully:

root@test ~ $ ssh root@srv
root@srv's password: 
Last login: Wed Sep  5 15:16:08 2018 from test
[root@srv ~]# uname -a
Linux srv.local 3.10.0-862.11.6.el7.x86_64 #1 SMP Tue Aug 14 21:49:04 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[root@srv ~]# 

Because we do not wanted to mess up the two output from different linux distros in one article we decided to split it in two separate ones, so here is the one for Ubuntu 16/18 LTS – “Ubuntu 16/18 LTS – load a new kernel without rebooting the server

Enable BBR tcp congestion control under CentOS 7

It’s been a while since a new tcp congestion has been developed (by Google), which has the potential to replace the default cubic one! The TCP BBR tries to keep being fast and improves the network connectivity when there is packet loss. Enabling it on the server does not require it to enable it on the client to function BBR algorithm properly. So probably we’ll see the switch to this new tcp congestion control in the next major linux distros releases.

Here we present how to enable TCP BBR on your CentOS 7 box. As you know the CentOS 7 uses kernel 3.10.X and the TCP BBR was introduced in version 4.9+ kernels and in version 4.13 and on it has a tcp-level pacing so you do not need the qdisc “fq” to be enabled, when using TCP BBR. So we need a new kernel version 4.9 and on and the easiest and safest way to do it to use the mainline kernel from https://www.elrepo.org/. We have a detailed howto for this if you need more information on using mainline kernel with your CentOS 7.

Here are the steps, you need to be root to execute the following commands:

STEP 1) Update your system and reboot

yum clean all
yum -y update
reboot

Keep on reading!

How to compile xmr-stak (2.4.5) under CentOS 7 for CPU mining cryptocurrencies

Thanks to xmr-stak we can have one application capable of mining many different cryptocurrencies based on different algorithms. XMR-STAK is GPU and CPU miner, here we present only the CPU ability. Here are the steps you should do to install (in fact install dependencies and compile the miner) and to begin CPU mining:

STEP 1) Update your system and install the following dependencies

Because xmr-stak need a newer version of GNU GCC than the CentOS ships with you must install GNU GCC 5.1 at least. Because the latest versions have better optimizations for the processors we use here GNU GCC 7 from Software Collection repository – more information for this repository here: How to install new gcc and development tools under CentOS 7

[myuser@srv ~]# sudo yum update -y
[myuser@srv ~]# sudo yum install -y centos-release-scl epel-release
[myuser@srv ~]# sudo yum install -y cmake3 devtoolset-7-gcc* hwloc-devel libmicrohttpd-devel openssl openssl-devel make git screen

STEP 2) Compile the mining program xmr-stak

[myuser@srv ~]# scl enable devtoolset-7 bash
[myuser@srv ~]# git clone https://github.com/fireice-uk/xmr-stak.git
Cloning into 'xmr-stak'...
remote: Counting objects: 4926, done.
remote: Total 4926 (delta 0), reused 0 (delta 0), pack-reused 4926
Receiving objects: 100% (4926/4926), 1.45 MiB | 0 bytes/s, done.
Resolving deltas: 100% (3512/3512), done.
[myuser@srv ~]# mkdir xmr-stak/build
[myuser@srv ~]# cd xmr-stak/build
[myuser@srv build]# export CFLAGS="-O2 -march=native -msse3 -fomit-frame-pointer -pipe"
[myuser@srv build]# export CHOST="x86_64-pc-linux-gnu"
[myuser@srv build]# export CXXFLAGS="${CFLAGS}"
[myuser@srv build]# export LDFLAGS="-Wl,-O1"
[myuser@srv build]# cmake3 .. -DCUDA_ENABLE=OFF -DOpenCL_ENABLE=OFF
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Found OpenSSL: /usr/lib64/libcrypto.so (found version "1.0.2k") 
-- Configuring done
-- Generating done
-- Build files have been written to: /root/xmr-stak/build
[myuser@srv build]# make -j 8
Scanning dependencies of target xmr-stak-c
[  3%] Building C object CMakeFiles/xmr-stak-c.dir/xmrstak/backend/cpu/crypto/c_jh.c.o
[ 19%] Building C object CMakeFiles/xmr-stak-c.dir/xmrstak/backend/cpu/crypto/c_blake256.c.o
[ 19%] Building C object CMakeFiles/xmr-stak-c.dir/xmrstak/backend/cpu/crypto/c_groestl.c.o
[ 19%] Building C object CMakeFiles/xmr-stak-c.dir/xmrstak/backend/cpu/crypto/c_keccak.c.o
[ 19%] Building C object CMakeFiles/xmr-stak-c.dir/xmrstak/backend/cpu/crypto/c_skein.c.o
[ 23%] Linking C static library bin/libxmr-stak-c.a
[ 23%] Built target xmr-stak-c
Scanning dependencies of target xmr-stak-backend
[ 26%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/version.cpp.o
[ 30%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/backend/cpu/jconf.cpp.o
[ 34%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/jconf.cpp.o
[ 38%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/backend/cpu/minethd.cpp.o
[ 42%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/backend/cpu/hwlocMemory.cpp.o
[ 46%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/backend/backendConnector.cpp.o
[ 50%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/backend/cpu/crypto/cryptonight_common.cpp.o
[ 53%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/backend/globalStates.cpp.o
[ 57%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/http/httpd.cpp.o
[ 61%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/http/webdesign.cpp.o
[ 65%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/misc/console.cpp.o
[ 69%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/misc/executor.cpp.o
[ 73%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/misc/telemetry.cpp.o
[ 76%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/misc/uac.cpp.o
[ 80%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/misc/utility.cpp.o
[ 84%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/net/jpsock.cpp.o
[ 88%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/net/socket.cpp.o
[ 92%] Linking CXX static library bin/libxmr-stak-backend.a
[ 92%] Built target xmr-stak-backend
Scanning dependencies of target xmr-stak
[ 96%] Building CXX object CMakeFiles/xmr-stak.dir/xmrstak/cli/cli-miner.cpp.o
[100%] Linking CXX executable bin/xmr-stak
[100%] Built target xmr-stak
[root@srv build]#

Execute the program to see if everything is OK. With the help output you can see how many algorithms are supported as of version 2.4.5 of xmr-stak.

[myuser@srv bin]# cd bin
[myuser@srv bin]# ./xmr-stak --help
Usage: xmr-stak [OPTION]...
 
  -h, --help                 show this help
  -v, --version              show version number
  -V, --version-long         show long version number
  -c, --config FILE          common miner configuration file
  -C, --poolconf FILE        pool configuration file
  --benchmark BLOCKVERSION   ONLY do a benchmark and exit
  --benchwait WAIT_SEC             ... benchmark wait time
  --benchwork WORK_SEC             ... benchmark work time
  --noCPU                    disable the CPU miner backend
  --cpu FILE                 CPU backend miner config file
  -i --httpd HTTP_PORT       HTTP interface port
 
The following options can be used for automatic start without a guided config,
If config exists then this pool will be top priority.
  -o, --url URL              pool url and port, e.g. pool.usxmrpool.com:3333
  -O, --tls-url URL          TLS pool url and port, e.g. pool.usxmrpool.com:10443
  -u, --user USERNAME        pool user name or wallet address
  -r, --rigid RIGID          rig identifier for pool-side statistics (needs pool support)
  -p, --pass PASSWD          pool password, in the most cases x or empty ""
  --use-nicehash             the pool should run in nicehash mode
  --currency NAME            currency to mine

Supported coin options: 
        - aeon7
        - bbscoin
        - croat
        - cryptonight
        - cryptonight_masari
        - cryptonight_haven
        - cryptonight_heavy
        - cryptonight_lite
        - cryptonight_lite_v7
        - cryptonight_lite_v7_xor
        - cryptonight_v7
        - cryptonight_v7_stellite
        - edollar
        - electroneum
        - graft
        - haven
        - intense
        - ipbc
        - karbo
        - masari
        - monero7
        - stellite
        - sumokoin
        - turtlecoin

Version: xmr-stak 2.4.5 b3f79de
Brought to by fireice_uk and psychocrypt under GPLv3.

Electroneum CPU mining with XMR-STAK

Using Cryptonote V7 Variant 1 (aka. “monerov7″/”cryptonight_v7”) algorithm. First run.
Couple of important questions to answer:

  • Please enter the currency that you want to mine: cryptonight_v7
  • Username (wallet address or pool login): etnk111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 – this is your address, put here your real public wallet address, DO NOT PUT THIS FALSE ADDRESS
  • Pool address: pool.etn.spacepools.org:3333 – the pool address to use, we use etn.spacepools.org pool
  • Username (wallet address or pool login): your email address
[myuser@srv bin]# sudo sysctl -w vm.nr_hugepages=128
vm.nr_hugepages = 128
[myuser@srv bin]# ./xmr-stak 
Please enter:
- Do you want to use the HTTP interface?
Unlike the screen display, browser interface is not affected by the GPU lag.
If you don't want to use it, please enter 0, otherwise enter port number that the miner should listen on
0
Configuration stored in file 'config.txt'
Please enter:
- Please enter the currency that you want to mine: 
        - aeon7
        - bbscoin
        - croat
        - cryptonight
        - cryptonight_masari
        - cryptonight_haven
        - cryptonight_heavy
        - cryptonight_lite
        - cryptonight_lite_v7
        - cryptonight_lite_v7_xor
        - cryptonight_v7
        - cryptonight_v7_stellite
        - edollar
        - electroneum
        - graft
        - haven
        - intense
        - ipbc
        - karbo
        - masari
        - monero7
        - stellite
        - sumokoin
        - turtlecoin

cryptonight_v7
- Pool address: e.g. pool.example.com:3333
pool.etn.spacepools.org:3333
- Username (wallet address or pool login):
etnk111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
- Password (mostly empty or x):
myuser@example.com
- Rig identifier for pool-side statistics (needs pool support). Can be empty:

- Does this pool port support TLS/SSL? Use no if unknown. (y/N)
N
- Do you want to use nicehash on this pool? (y/n)
n
- Do you want to use multiple pools? (y/n)
n
Pool configuration stored in file 'pools.txt'
[2018-06-28 01:30:14] : MEMORY ALLOC FAILED: mlock failed
[2018-06-28 01:30:14] : MEMORY ALLOC FAILED: mlock failed
[2018-06-28 01:30:14] : MEMORY ALLOC FAILED: mlock failed
[2018-06-28 01:30:14] : MEMORY ALLOC FAILED: mlock failed
[2018-06-28 01:30:14] : MEMORY ALLOC FAILED: mlock failed
-------------------------------------------------------------------
xmr-stak 2.4.5 b3f79de

Brought to you by fireice_uk and psychocrypt under GPLv3.
Based on CPU mining code by wolf9466 (heavily optimized by fireice_uk).

Configurable dev donation level is set to 2.0%

You can use following keys to display reports:
'h' - hashrate
'r' - results
'c' - connection
-------------------------------------------------------------------
xmr-stak 2.4.5 b3f79de

Brought to you by fireice_uk and psychocrypt under GPLv3.
Based on CPU mining code by wolf9466 (heavily optimized by fireice_uk).

Configurable dev donation level is set to 2.0%

You can use following keys to display reports:
'h' - hashrate
'r' - results
'c' - connection
-------------------------------------------------------------------
[2018-06-28 01:30:14] : Mining coin: cryptonight_v7
[2018-06-28 01:30:14] : Starting 1x thread, affinity: 0.
[2018-06-28 01:30:14] : hwloc: can't bind memory
[2018-06-28 01:30:14] : Starting 1x thread, affinity: 1.
[2018-06-28 01:30:14] : MEMORY ALLOC FAILED: mlock failed
[2018-06-28 01:30:14] : hwloc: can't bind memory
[2018-06-28 01:30:14] : Starting 1x thread, affinity: 2.
[2018-06-28 01:30:14] : MEMORY ALLOC FAILED: mlock failed
[2018-06-28 01:30:14] : hwloc: can't bind memory
[2018-06-28 01:30:14] : Starting 1x thread, affinity: 3.
[2018-06-28 01:30:14] : MEMORY ALLOC FAILED: mlock failed
[2018-06-28 01:30:14] : hwloc: can't bind memory
[2018-06-28 01:30:14] : Fast-connecting to pool.etn.spacepools.org:3333 pool ...
[2018-06-28 01:30:14] : MEMORY ALLOC FAILED: mlock failed
[2018-06-28 01:30:14] : Pool pool.etn.spacepools.org:3333 connected. Logging in...
[2018-06-28 01:30:14] : Difficulty changed. Now: 50000.
[2018-06-28 01:30:14] : Pool logged in.
[2018-06-28 01:30:35] : Result accepted by the pool.
[2018-06-28 01:30:43] : Difficulty changed. Now: 35714.
[2018-06-28 01:30:43] : New block detected.
[2018-06-28 01:31:13] : Difficulty changed. Now: 25000.
[2018-06-28 01:31:13] : New block detected.
[2018-06-28 01:31:43] : Difficulty changed. Now: 17500.
[2018-06-28 01:31:43] : New block detected.
[2018-06-28 01:32:13] : Difficulty changed. Now: 12250.
[2018-06-28 01:32:13] : New block detected.
HASHRATE REPORT - CPU
| ID |    10s |    60s |    15m | ID |    10s |    60s |    15m |
|  0 |   67.5 |   64.9 |   (na) |  1 |   68.3 |   67.7 |   (na) |
|  2 |   69.1 |   67.9 |   (na) |  3 |   66.4 |   65.3 |   (na) |
Totals (CPU):   271.3  265.8    0.0 H/s
-----------------------------------------------------------------
Totals (ALL):    271.3  265.8    0.0 H/s
Highest:   274.7 H/s
-----------------------------------------------------------------
RESULT REPORT
Difficulty       : 3845
Good results     : 49 / 49 (100.0 %)
Avg result time  : 16.3 sec
Pool-side hashes : 223158

Top 10 best results found:
|  0 |           298785 |  1 |           231734 |
|  2 |           176492 |  3 |            82592 |
|  4 |            50284 |  5 |            49914 |
|  6 |            28493 |  7 |            22570 |
|  8 |            18460 |  9 |            17889 |

Error details:
Yay! No errors.

the processor is “Intel(R) Xeon(R) CPU E3-1231 v3 @ 3.40GHz” and the hash power is 274.7 H/s.

Use Intel QuickSync with ffmpeg to have hardware accelerated video decoding and encoding – CentOS 7.4.1708

This howto shows how you can use ffmpeg to hardware accelerate the video decoding and encoding if you have the proper Intel processor. Some of the Intel processors have GPU unit in them, which can be used to decode and encode video streams and it is pretty fast! High end Intel CPU could encode around 20 h264 (using faster preset) video streams on a single processor mini server as SUPERMICRO system using X11SSV-M4F.
Here are the steps how to enable the hardware options and what and how to install the software to hardware encode a video stream successful under linux – CentOS 7 distro.

For the first four steps just follow the howto “Install Intel Media Studio SDK and GPU driver from Intel Media Server Studio 2018 R1 – CentOS 7 (7.4.1708)” Here we include only the headers of the steps, because they are important part of this howto.
Installing Media Server Studio your system will get validated stack of software by Intel to build application against Media SDK interface:

  • libmfx.a dispatcher – the API for your application
  • libmfxhw64.so hardware implementation
  • related libraries (including OpenCL)
  • specific versions for libva and libdrm
  • user mode driver
  • modified i915 graphics driver module
  • kernel patches

Here are the steps:

STEP 1) Enable internal graphics in your system.

STEP 2) Install the right CentOS 7 – 7.4.1708

STEP 3) Download Intel Media Server Studio 2018 R1

STEP 4) Install Intel Media Studio SDK from Intel Media Server Studio 2018 R1

“Install Intel Media Studio SDK and GPU driver from Intel Media Server Studio 2018 R1 – CentOS 7 (7.4.1708)”

STEP 5) Tune pkgconfig libmfx (Intel library, installed with the Media Server Studio)

Create a file:

/usr/lib64/pkgconfig/libmfx.pc

with the following content:

prefix=/opt/intel/mediasdk
exec_prefix=${prefix}
libdir=${prefix}/lib/lin_x64
includedir=${prefix}/include
 
Name: libmfx
Description: Intel Media SDK
Version: 16.8
Libs: -L${libdir} -lmfx -lva -lstdc++ -ldl -lva-drm -ldrm
Cflags: -I${includedir} -I/usr/include/libdrm

STEP 6) Move the Media SDK include files in a mfx sub-directory

This is required because ffmpeg expect these files to be in a sub-directory

[root@srv ~]# mkdir /opt/intel/mediasdk/include/mfx
[root@srv ~]# cp /opt/intel/mediasdk/include/*.h /opt/intel/mediasdk/include/mfx/

STEP 7) Install yasm – a dependency for the ffmpeg software.

[root@srv ~]# wget http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz
[root@srv ~]# tar xzf yasm-1.3.0.tar.gz
[root@srv ~]# cd yasm-1.3.0
[root@srv yasm-1.3.0]# export CFLAGS="-O2 -march=native -msse3 -fomit-frame-pointer -pipe"
[root@srv yasm-1.3.0]# export CXXFLAGS="${CFLAGS}"
[root@srv yasm-1.3.0]# export CHOST="x86_64-pc-linux-gnu"
[root@srv yasm-1.3.0]# export LDFLAGS="-Wl,-O1"
[root@srv yasm-1.3.0]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
....
....
....
[root@srv yasm-1.3.0]# make -j8
gcc -std=gnu99  -I.  \
  -c -o genperf.o `test -f tools/genperf/genperf.c || echo './'`tools/genperf/genperf.c
gcc -std=gnu99  -I.  \
  -c -o gp-perfect.o `test -f tools/genperf/perfect.c || echo './'`tools/genperf/perfect.c
gcc -std=gnu99  -I.  \
  -c -o gp-phash.o `test -f libyasm/phash.c || echo './'`libyasm/phash.c
gcc -std=gnu99  -I.  \
  -c -o gp-xmalloc.o `test -f libyasm/xmalloc.c || echo './'`libyasm/xmalloc.c
gcc -std=gnu99  -I.  \
  -c -o gp-xstrdup.o `test -f libyasm/xstrdup.c || echo './'`libyasm/xstrdup.c
gcc -std=gnu99  -I.  \
  -c -o re2c-main.o `test -f tools/re2c/main.c || echo './'`tools/re2c/main.c
gcc -std=gnu99  -I.  \
  -c -o re2c-code.o `test -f tools/re2c/code.c || echo './'`tools/re2c/code.c
....
....
....
[root@srv yasm-1.3.0]# make install
make  install-recursive
make[1]: Entering directory `/root/yasm-1.3.0'
....
....
....
[root@srv yasm-1.3.0]#
[root@srv yasm-1.3.0]# ldconfig
[root@srv yasm-1.3.0]# cd ../
[root@srv ~]#

STEP 8) Download ffmpeg version 2.8.X and compile it

it is important to use this branch 2.8.X because we’ve tested with the others 3.2.X, 3.3.X, 3.4.X and there were errors and we unable to use the the GPU unit to accelerate our video decoding and encoding. Here is the different ffmpeg release https://ffmpeg.org/download.html#releases or you can use the github to download https://github.com/FFmpeg/FFmpeg/releases

[root@srv ~]# wget https://www.ffmpeg.org/releases/ffmpeg-2.8.14.tar.bz2
[root@srv ~]# tar xjf ffmpeg-2.8.14.tar.bz2
[root@srv ~]# cd ffmpeg-2.8.14
[root@srv ffmpeg-2.8.14]# export CFLAGS="-O2 -march=native -msse3 -fomit-frame-pointer -pipe"
[root@srv ffmpeg-2.8.14]# export CXXFLAGS="${CFLAGS}"
[root@srv ffmpeg-2.8.14]# export CHOST="x86_64-pc-linux-gnu"
[root@srv ffmpeg-2.8.14]# export LDFLAGS="-Wl,-O1"
[root@srv ffmpeg-2.8.14]# ./configure --enable-libmfx --prefix=/usr/local/ffmpeg-qsv
install prefix            /usr/local/ffmpeg-qsv
source path               .
C compiler                gcc
C library                 glibc
ARCH                      x86 (generic)
big-endian                no
runtime cpu detection     yes
yasm                      yes
MMX enabled               yes
MMXEXT enabled            yes
3DNow! enabled            yes
3DNow! extended enabled   yes
SSE enabled               yes
SSSE3 enabled             yes
AVX enabled               yes
XOP enabled               yes
FMA3 enabled              yes
FMA4 enabled              yes
i686 features enabled     yes
CMOV is fast              yes
EBX available             yes
EBP available             yes
debug symbols             yes
strip symbols             yes
optimize for size         no
optimizations             yes
static                    yes
shared                    no
postprocessing support    no
new filter support        yes
network support           yes
threading support         pthreads
safe bitstream reader     yes
SDL support               no
opencl enabled            no
texi2html enabled         no
perl enabled              yes
pod2man enabled           yes
makeinfo enabled          no
makeinfo supports HTML    no

Enabled programs:
ffmpeg                  ffprobe                 ffserver

External libraries:
iconv                   lzma                    zlib
libmfx

Enabled decoders:
aac                     ayuv                    frwu
aac_fixed               bethsoftvid             g2m
aac_latm                bfi                     g723_1
aasc                    bink                    g729
ac3                     binkaudio_dct           gif
ac3_fixed               binkaudio_rdft          gsm
adpcm_4xm               bintext                 gsm_ms
adpcm_adx               bmp                     h261
adpcm_afc               bmv_audio               h263
adpcm_ct                bmv_video               h263i
adpcm_dtk               brender_pix             h263p
adpcm_ea                c93                     h264
adpcm_ea_maxis_xa       cavs                    h264_qsv
adpcm_ea_r1             ccaption                hap
adpcm_ea_r2             cdgraphics              hevc
adpcm_ea_r3             cdxl                    hevc_qsv
adpcm_ea_xas            cinepak                 hnm4_video
adpcm_g722              cljr                    hq_hqa
adpcm_g726              cllc                    hqx
adpcm_g726le            comfortnoise            huffyuv
adpcm_ima_amv           cook                    iac
adpcm_ima_apc           cpia                    idcin
adpcm_ima_dk3           cscd                    idf
adpcm_ima_dk4           cyuv                    iff_byterun1
adpcm_ima_ea_eacs       dca                     iff_ilbm
adpcm_ima_ea_sead       dds                     imc
adpcm_ima_iss           dfa                     indeo2
adpcm_ima_oki           dirac                   indeo3
adpcm_ima_qt            dnxhd                   indeo4
adpcm_ima_rad           dpx                     indeo5
adpcm_ima_smjpeg        dsd_lsbf                interplay_dpcm
adpcm_ima_wav           dsd_lsbf_planar         interplay_video
adpcm_ima_ws            dsd_msbf                jacosub
adpcm_ms                dsd_msbf_planar         jpeg2000
adpcm_sbpro_2           dsicinaudio             jpegls
adpcm_sbpro_3           dsicinvideo             jv
adpcm_sbpro_4           dss_sp                  kgv1
adpcm_swf               dvbsub                  kmvc
adpcm_thp               dvdsub                  lagarith
adpcm_thp_le            dvvideo                 loco
adpcm_vima              dxa                     mace3
adpcm_xa                dxtory                  mace6
adpcm_yamaha            eac3                    mdec
aic                     eacmv                   metasound
alac                    eamad                   microdvd
alias_pix               eatgq                   mimic
als                     eatgv                   mjpeg
amrnb                   eatqi                   mjpegb
amrwb                   eightbps                mlp
amv                     eightsvx_exp            mmvideo
anm                     eightsvx_fib            motionpixels
ansi                    escape124               movtext
ape                     escape130               mp1
apng                    evrc                    mp1float
ass                     exr                     mp2
asv1                    ffv1                    mp2float
asv2                    ffvhuff                 mp3
atrac1                  ffwavesynth             mp3adu
atrac3                  fic                     mp3adufloat
atrac3p                 flac                    mp3float
aura                    flashsv                 mp3on4
aura2                   flashsv2                mp3on4float
avrn                    flic                    mpc7
avrp                    flv                     mpc8
avs                     fourxm                  mpeg1video
avui                    fraps                   mpeg2_qsv
mpeg2video              prores                  tscc2
mpeg4                   prores_lgpl             tta
mpegvideo               ptx                     twinvq
mpl2                    qcelp                   txd
msa1                    qdm2                    ulti
msmpeg4v1               qdraw                   utvideo
msmpeg4v2               qpeg                    v210
msmpeg4v3               qtrle                   v210x
msrle                   r10k                    v308
mss1                    r210                    v408
mss2                    ra_144                  v410
msvideo1                ra_288                  vb
mszh                    ralf                    vble
mts2                    rawvideo                vc1
mvc1                    realtext                vc1_qsv
mvc2                    rl2                     vc1image
mxpeg                   roq                     vcr1
nellymoser              roq_dpcm                vima
nuv                     rpza                    vmdaudio
on2avc                  rv10                    vmdvideo
opus                    rv20                    vmnc
paf_audio               rv30                    vorbis
paf_video               rv40                    vp3
pam                     s302m                   vp5
pbm                     sami                    vp6
pcm_alaw                sanm                    vp6a
pcm_bluray              sgi                     vp6f
pcm_dvd                 sgirle                  vp7
pcm_f32be               shorten                 vp8
pcm_f32le               sipr                    vp9
pcm_f64be               smackaud                vplayer
pcm_f64le               smacker                 vqa
pcm_lxf                 smc                     wavpack
pcm_mulaw               smvjpeg                 webp
pcm_s16be               snow                    webvtt
pcm_s16be_planar        sol_dpcm                wmalossless
pcm_s16le               sonic                   wmapro
pcm_s16le_planar        sp5x                    wmav1
pcm_s24be               srt                     wmav2
pcm_s24daud             ssa                     wmavoice
pcm_s24le               stl                     wmv1
pcm_s24le_planar        subrip                  wmv2
pcm_s32be               subviewer               wmv3
pcm_s32le               subviewer1              wmv3image
pcm_s32le_planar        sunrast                 wnv1
pcm_s8                  svq1                    ws_snd1
pcm_s8_planar           svq3                    xan_dpcm
pcm_u16be               tak                     xan_wc3
pcm_u16le               targa                   xan_wc4
pcm_u24be               targa_y216              xbin
pcm_u24le               tdsc                    xbm
pcm_u32be               text                    xface
pcm_u32le               theora                  xl
pcm_u8                  thp                     xsub
pcm_zork                tiertexseqvideo         xwd
pcx                     tiff                    y41p
pgm                     tmv                     yop
pgmyuv                  truehd                  yuv4
pgssub                  truemotion1             zero12v
pictor                  truemotion2             zerocodec
pjs                     truespeech              zlib
png                     tscc                    zmbv
ppm

Enabled encoders:
a64multi                huffyuv                 png
a64multi5               jpeg2000                ppm
aac                     jpegls                  prores
ac3                     ljpeg                   prores_aw
ac3_fixed               mjpeg                   prores_ks
adpcm_adx               movtext                 qtrle
adpcm_g722              mp2                     r10k
adpcm_g726              mp2fixed                r210
adpcm_ima_qt            mpeg1video              ra_144
adpcm_ima_wav           mpeg2_qsv               rawvideo
adpcm_ms                mpeg2video              roq
adpcm_swf               mpeg4                   roq_dpcm
adpcm_yamaha            msmpeg4v2               rv10
alac                    msmpeg4v3               rv20
alias_pix               msvideo1                s302m
amv                     nellymoser              sgi
apng                    pam                     snow
ass                     pbm                     sonic
asv1                    pcm_alaw                sonic_ls
asv2                    pcm_f32be               srt
avrp                    pcm_f32le               ssa
avui                    pcm_f64be               subrip
ayuv                    pcm_f64le               sunrast
bmp                     pcm_mulaw               svq1
cinepak                 pcm_s16be               targa
cljr                    pcm_s16be_planar        tiff
comfortnoise            pcm_s16le               tta
dca                     pcm_s16le_planar        utvideo
dnxhd                   pcm_s24be               v210
dpx                     pcm_s24daud             v308
dvbsub                  pcm_s24le               v408
dvdsub                  pcm_s24le_planar        v410
dvvideo                 pcm_s32be               vorbis
eac3                    pcm_s32le               wavpack
ffv1                    pcm_s32le_planar        webvtt
ffvhuff                 pcm_s8                  wmav1
flac                    pcm_s8_planar           wmav2
flashsv                 pcm_u16be               wmv1
flashsv2                pcm_u16le               wmv2
flv                     pcm_u24be               xbm
g723_1                  pcm_u24le               xface
gif                     pcm_u32be               xsub
h261                    pcm_u32le               xwd
h263                    pcm_u8                  y41p
h263p                   pcx                     yuv4
h264_qsv                pgm                     zlib
hevc_qsv                pgmyuv                  zmbv

Enabled hwaccels:
h263_vaapi              hevc_vaapi              vc1_qsv
h264_qsv                mpeg2_qsv               vc1_vaapi
h264_vaapi              mpeg2_vaapi             wmv3_vaapi
hevc_qsv                mpeg4_vaapi

Enabled parsers:
aac                     dvdsub                  mpegvideo
aac_latm                flac                    opus
ac3                     g729                    png
adx                     gsm                     pnm
bmp                     h261                    rv30
cavsvideo               h263                    rv40
cook                    h264                    tak
dca                     hevc                    vc1
dirac                   mjpeg                   vorbis
dnxhd                   mlp                     vp3
dpx                     mpeg4video              vp8
dvbsub                  mpegaudio               vp9
dvd_nav

Enabled demuxers:
aa                      g723_1                  mpjpeg
aac                     g729                    mpl2
ac3                     gif                     mpsub
act                     gsm                     msnwc_tcp
adf                     gxf                     mtv
adp                     h261                    mv
adx                     h263                    mvi
aea                     h264                    mxf
afc                     hevc                    mxg
aiff                    hls                     nc
amr                     hnm                     nistsphere
anm                     ico                     nsv
apc                     idcin                   nut
ape                     idf                     nuv
apng                    iff                     ogg
aqtitle                 ilbc                    oma
asf                     image2                  paf
asf_o                   image2_alias_pix        pcm_alaw
ass                     image2_brender_pix      pcm_f32be
ast                     image2pipe              pcm_f32le
au                      image_bmp_pipe          pcm_f64be
avi                     image_dds_pipe          pcm_f64le
avr                     image_dpx_pipe          pcm_mulaw
avs                     image_exr_pipe          pcm_s16be
bethsoftvid             image_j2k_pipe          pcm_s16le
bfi                     image_jpeg_pipe         pcm_s24be
bfstm                   image_jpegls_pipe       pcm_s24le
bink                    image_pictor_pipe       pcm_s32be
bintext                 image_png_pipe          pcm_s32le
bit                     image_qdraw_pipe        pcm_s8
bmv                     image_sgi_pipe          pcm_u16be
boa                     image_sunrast_pipe      pcm_u16le
brstm                   image_tiff_pipe         pcm_u24be
c93                     image_webp_pipe         pcm_u24le
caf                     ingenient               pcm_u32be
cavsvideo               ipmovie                 pcm_u32le
cdg                     ircam                   pcm_u8
cdxl                    iss                     pjs
cine                    iv8                     pmp
concat                  ivf                     pva
data                    jacosub                 pvf
daud                    jv                      qcp
dfa                     latm                    r3d
dirac                   live_flv                rawvideo
dnxhd                   lmlm4                   realtext
dsf                     loas                    redspark
dsicin                  lrc                     rl2
dss                     lvf                     rm
dts                     lxf                     roq
dtshd                   m4v                     rpl
dv                      matroska                rsd
dvbsub                  mgsts                   rso
dxa                     microdvd                rtp
ea                      mjpeg                   rtsp
ea_cdata                mlp                     sami
eac3                    mlv                     sap
epaf                    mm                      sbg
ffm                     mmf                     sdp
ffmetadata              mov                     sdr2
filmstrip               mp3                     segafilm
flac                    mpc                     shorten
flic                    mpc8                    siff
flv                     mpegps                  sln
fourxm                  mpegts                  smacker
frm                     mpegtsraw               smjpeg
g722                    mpegvideo               smush
sol                     tmv                     wav
sox                     truehd                  wc3
spdif                   tta                     webm_dash_manifest
srt                     tty                     webvtt
stl                     txd                     wsaud
str                     vc1                     wsvqa
subviewer               vc1t                    wtv
subviewer1              vivo                    wv
sup                     vmd                     xa
swf                     vobsub                  xbin
tak                     voc                     xmv
tedcaptions             vplayer                 xwma
thp                     vqf                     yop
tiertexseq              w64                     yuv4mpegpipe

Enabled muxers:
a64                     ipod                    pcm_s32be
ac3                     ircam                   pcm_s32le
adts                    ismv                    pcm_s8
adx                     ivf                     pcm_u16be
aiff                    jacosub                 pcm_u16le
amr                     latm                    pcm_u24be
apng                    lrc                     pcm_u24le
asf                     m4v                     pcm_u32be
asf_stream              matroska                pcm_u32le
ass                     matroska_audio          pcm_u8
ast                     md5                     psp
au                      microdvd                rawvideo
avi                     mjpeg                   rm
avm2                    mkvtimestamp_v2         roq
bit                     mlp                     rso
caf                     mmf                     rtp
cavsvideo               mov                     rtp_mpegts
crc                     mp2                     rtsp
dash                    mp3                     sap
data                    mp4                     segment
daud                    mpeg1system             singlejpeg
dirac                   mpeg1vcd                smjpeg
dnxhd                   mpeg1video              smoothstreaming
dts                     mpeg2dvd                sox
dv                      mpeg2svcd               spdif
eac3                    mpeg2video              spx
f4v                     mpeg2vob                srt
ffm                     mpegts                  stream_segment
ffmetadata              mpjpeg                  swf
filmstrip               mxf                     tee
flac                    mxf_d10                 tg2
flv                     mxf_opatom              tgp
framecrc                null                    truehd
framemd5                nut                     uncodedframecrc
g722                    oga                     vc1
g723_1                  ogg                     vc1t
gif                     oma                     voc
gxf                     opus                    w64
h261                    pcm_alaw                wav
h263                    pcm_f32be               webm
h264                    pcm_f32le               webm_chunk
hds                     pcm_f64be               webm_dash_manifest
hevc                    pcm_f64le               webp
hls                     pcm_mulaw               webvtt
ico                     pcm_s16be               wtv
ilbc                    pcm_s16le               wv
image2                  pcm_s24be               yuv4mpegpipe
image2pipe              pcm_s24le

Enabled protocols:
async                   hls                     rtmpt
cache                   http                    rtp
concat                  httpproxy               srtp
crypto                  icecast                 subfile
data                    md5                     tcp
ffrtmphttp              mmsh                    udp
file                    mmst                    udplite
ftp                     pipe                    unix
gopher                  rtmp

Enabled filters:
acrossfade              dctdnoiz                paletteuse
adelay                  deband                  pan
adrawgraph              decimate                perms
aecho                   deflate                 pixdesctest
aeval                   dejudder                psnr
aevalsrc                deshake                 qp
afade                   detelecine              random
aformat                 dilation                removegrain
ainterleave             drawbox                 removelogo
allpass                 drawgraph               replaygain
allrgb                  drawgrid                reverse
allyuv                  dynaudnorm              rgbtestsrc
alphaextract            earwax                  rotate
alphamerge              edgedetect              scale
amerge                  elbg                    scale2ref
amix                    equalizer               select
amovie                  erosion                 sendcmd
anull                   extractplanes           separatefields
anullsink               fade                    setdar
anullsrc                fftfilt                 setfield
apad                    field                   setpts
aperms                  fieldmatch              setsar
aphasemeter             fieldorder              settb
aphaser                 flanger                 showcqt
aresample               format                  showfreqs
areverse                fps                     showinfo
aselect                 framepack               showpalette
asendcmd                framerate               showspectrum
asetnsamples            framestep               showvolume
asetpts                 gradfun                 showwaves
asetrate                haldclut                showwavespic
asettb                  haldclutsrc             shuffleplanes
ashowinfo               hflip                   sidechaincompress
asplit                  highpass                signalstats
astats                  histogram               silencedetect
astreamsync             hqx                     silenceremove
atadenoise              hstack                  sine
atempo                  hue                     smptebars
atrim                   idet                    smptehdbars
avectorscope            il                      split
bandpass                inflate                 ssim
bandreject              interleave              swapuv
bass                    join                    tblend
bbox                    lenscorrection          telecine
biquad                  life                    testsrc
blackdetect             lowpass                 thumbnail
blend                   lut                     tile
cellauto                lut3d                   transpose
channelmap              lutrgb                  treble
channelsplit            lutyuv                  trim
chorus                  mandelbrot              unsharp
codecview               mergeplanes             vectorscope
color                   movie                   vflip
colorbalance            negate                  vignette
colorchannelmixer       noformat                volume
colorkey                noise                   volumedetect
colorlevels             null                    vstack
compand                 nullsink                w3fdif
concat                  nullsrc                 waveform
copy                    overlay                 xbr
crop                    pad                     yadif
curves                  palettegen              zoompan
dcshift

Enabled bsfs:
aac_adtstoasc           imx_dump_header         mpeg4_unpack_bframes
chomp                   mjpeg2jpeg              noise
dump_extradata          mjpega_dump_header      remove_extradata
h264_mp4toannexb        mov2textsub             text2movsub
hevc_mp4toannexb        mp3_header_decompress

Enabled indevs:
dv1394                  lavfi                   v4l2
fbdev                   oss

Enabled outdevs:
fbdev                   oss                     v4l2

License: LGPL version 2.1 or later
Creating config.mak, config.h, and doc/config.texi...
[root@conv11 ffmpeg-2.8.14]# make -j 8
CC      libavdevice/oss.o
CC      libavdevice/alldevices.o
CC      libavdevice/avdevice.o
CC      libavdevice/lavfi.o
CC      libavdevice/dv1394.o
....
....
....
LD      ffmpeg_g
LD      ffprobe_g
LD      ffserver_g
CP      ffserver
STRIP   ffserver
CP      ffprobe
CP      ffmpeg
STRIP   ffprobe
STRIP   ffmpeg
[root@conv11 ffmpeg-2.8.14]# make install
INSTALL doc/ffmpeg.1
INSTALL doc/ffprobe.1
INSTALL doc/ffserver.1
INSTALL doc/ffmpeg-all.1
....
....
....
INSTALL libavutil/tea.h
INSTALL libavutil/lzo.h
INSTALL libavutil/avconfig.h
INSTALL libavutil/ffversion.h
INSTALL libavutil/libavutil.pc
[root@conv11 ffmpeg-2.8.14]#

And now you have a ffmpeg installation build against Intel API libmfx dispatcher, which could benefit from the hardware acceleration in decoding and encoding video streams. Thus using a Intel QuickSync technology.

STEP 9) ffmpeg example – how to use the GPU hardware decoding and encoding

[root@conv11 ffmpeg-2.8.14]# cd
[root@conv11 ~]# wget http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p_60fps_stereo_abl.mp4
[root@conv11 ~]# /usr/local/ffmpeg-qsv/bin/ffmpeg -vcodec h264_qsv -i bbb_sunflower_1080p_60fps_stereo_abl.mp4 -vcodec h264_qsv -b:v 600k -maxrate 1200K -s 1280x720 -aspect 16:9 -preset medium -maxrate 500K -g 50 -strict -2 -c:a aac -b:a 96k -ar 44100 -f mpegts -threads 0 output.mp4
ffmpeg version 2.8.14 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-16)
  configuration: --enable-libmfx --prefix=/usr/local/ffmpeg-qsv
  libavutil      54. 31.100 / 54. 31.100
  libavcodec     56. 60.100 / 56. 60.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 40.101 /  5. 40.101
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
libva info: VA-API version 1.0.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'iHD'
libva info: Trying to open /opt/intel/mediasdk/lib64/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_0
libva info: va_openDriver() returns 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'bbb_sunflower_1080p_60fps_stereo_abl.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 1
    compatible_brands: isomavc1
    creation_time   : 2013-12-16 18:03:30
    title           : Big Buck Bunny, Sunflower version
    artist          : Blender Foundation 2008, Janus Bager Kristensen 2013
    comment         : Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net
    genre           : Animation
    composer        : Sacha Goedegebure
  Duration: 00:10:34.53, start: 0.000000, bitrate: 6490 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), nv12, 1920x2160, 6005 kb/s, 60 fps, 60 tbr, 60k tbn, 60k tbc (default)
    Metadata:
      creation_time   : 2013-12-16 18:03:30
      handler_name    : GPAC ISO Video Handler
    Stream #0:1(und): Audio: mp3 (mp4a / 0x6134706D), 48000 Hz, stereo, s16p, 160 kb/s (default)
    Metadata:
      creation_time   : 2013-12-16 18:03:37
      handler_name    : GPAC ISO Audio Handler
    Stream #0:2(und): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, 5.1(side), fltp, 320 kb/s (default)
    Metadata:
      creation_time   : 2013-12-16 18:03:37
      handler_name    : GPAC ISO Audio Handler
    Side data:
      audio service type: main
libva info: VA-API version 1.0.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'iHD'
libva info: Trying to open /opt/intel/mediasdk/lib64/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_0
libva info: va_openDriver() returns 0
Output #0, mpegts, to 'output.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 1
    compatible_brands: isomavc1
    composer        : Sacha Goedegebure
    title           : Big Buck Bunny, Sunflower version
    artist          : Blender Foundation 2008, Janus Bager Kristensen 2013
    comment         : Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net
    genre           : Animation
    encoder         : Lavf56.40.101
    Stream #0:0(und): Video: h264 (h264_qsv), nv12, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 600 kb/s, 60 fps, 90k tbn, 60 tbc (default)
    Metadata:
      creation_time   : 2013-12-16 18:03:30
      handler_name    : GPAC ISO Video Handler
      encoder         : Lavc56.60.100 h264_qsv
    Stream #0:1(und): Audio: aac, 44100 Hz, 5.1(side), fltp, 96 kb/s (default)
    Metadata:
      creation_time   : 2013-12-16 18:03:37
      handler_name    : GPAC ISO Audio Handler
      encoder         : Lavc56.60.100 aac
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (h264_qsv) -> h264 (h264_qsv))
  Stream #0:2 -> #0:1 (ac3 (native) -> aac (native))
Press [q] to stop, [?] for help
libva info: VA-API version 1.0.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'iHD'
libva info: Trying to open /opt/intel/mediasdk/lib64/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_0
libva info: va_openDriver() returns 0
[h264_qsv @ 0x3587360] A decode call did not consume any dataitrate=1162.5kbits/s    
    Last message repeated 14 times
frame=38072 fps=126 q=-0.0 Lsize=   90023kB time=00:10:34.48 bitrate=1162.3kbits/s    
video:71572kB audio:7436kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 13.942102%
[root@conv11 ~]# /usr/local/ffmpeg-qsv/bin/ffmpeg -i output.mp4
ffmpeg version 2.8.14 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-16)
  configuration: --enable-libmfx --prefix=/usr/local/ffmpeg-qsv
  libavutil      54. 31.100 / 54. 31.100
  libavcodec     56. 60.100 / 56. 60.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 40.101 /  5. 40.101
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
Input #0, mpegts, from 'output.mp4':
  Duration: 00:10:34.57, start: 1.400000, bitrate: 1162 kb/s
  Program 1 
    Metadata:
      service_name    : Big Buck Bunny, Sunflower version
      service_provider: FFmpeg
    Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 60 fps, 60 tbr, 90k tbn, 120 tbc
    Stream #0:1[0x101](und): Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, 5.1, fltp, 100 kb/s

You can see ffmpeg is using VA-API and /opt/intel/mediasdk/lib64/iHD_drv_video.so for video acceleration encoding.

* Live stream decoding and encoding with hardware acceleration and outputting multiple output

The input stream is from a multicast source and the output is a wowza server

/usr/local/ffmpeg-qsv/bin/ffmpeg -vcodec h264_qsv -i 'udp://239.10.10.1:5000?fifo_size=1000000&overrun_nonfatal=1' -filter_complex '[0:v]yadif=1:0:0,split=3[v1][v2][v3];[v1]scale=1280:720,framerate=50[out1];[v2]scale=960:540,framerate=25[out2];[v3]scale=640:360,framerate=25[out3]' -map '[out1]' -map '[out2]' -map '[out3]' -map 0:a -streamid 0:0x151 -streamid 1:0x150 -streamid 2:0x149 -streamid 3:0x140 -vcodec h264_qsv -preset medium -maxrate:0 1900K -bufsize:0 2400K -b:v:0 1500k -maxrate:1 1200K -bufsize:1 1000K -b:v:1 1000k -maxrate:2 900K -bufsize:2 1000K -b:v:2 600k -g 50 -strict -2 -c:a aac -b:a 96k -ar 44100 -reorder_queue_size 32 -threads 8 -fflags +igndts -copyts -f mpegts 'udp://10.10.10.10:30000?pkt_size=2632&buffer_size=20000000&fifo_size=2000000'
ffmpeg version 2.8.14 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-16)
  configuration: --enable-libmfx --prefix=/usr/local/ffmpeg-qsv3
  libavutil      54. 31.100 / 54. 31.100
  libavcodec     56. 60.100 / 56. 60.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 40.101 /  5. 40.101
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
[h264_qsv @ 0x21e6960] non-existing PPS 0 referenced
libva info: VA-API version 1.0.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'iHD'
libva info: Trying to open /opt/intel/mediasdk/lib64/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_0
libva info: va_openDriver() returns 0
    Last message repeated 1 times
Input #0, mpegts, from 'udp://239.10.10.33:5000?fifo_size=1000000&overrun_nonfatal=1':
  Duration: N/A, start: 1375.213422, bitrate: N/A
  Program 74 
    Metadata:
      service_name    : Test 1 HD
      service_provider: Test
    Stream #0:0[0x734]: Video: h264 (High) ([27][0][0][0] / 0x001B), nv12, 1920x1080, 25 fps, 25 tbr, 90k tbn, 90k tbc
    Stream #0:1[0x744]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 256 kb/s
[Parsed_framerate_7 @ 0x2413620] time base:1/180000 -> 1/180000 exact:1
[Parsed_framerate_7 @ 0x2413620] fps -> fps:25/1 scene score:7.000000 interpolate start:15 end:240
[Parsed_framerate_5 @ 0x2438d20] time base:1/180000 -> 1/180000 exact:1
[Parsed_framerate_5 @ 0x2438d20] fps -> fps:25/1 scene score:7.000000 interpolate start:15 end:240
[Parsed_framerate_3 @ 0x2934640] time base:1/180000 -> 1/180000 exact:1
[Parsed_framerate_3 @ 0x2934640] fps -> fps:50/1 scene score:7.000000 interpolate start:15 end:240
libva info: VA-API version 1.0.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'iHD'
libva info: Trying to open /opt/intel/mediasdk/lib64/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_0
libva info: va_openDriver() returns 0
libva info: VA-API version 1.0.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'iHD'
libva info: Trying to open /opt/intel/mediasdk/lib64/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_0
libva info: va_openDriver() returns 0
libva info: VA-API version 1.0.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'iHD'
libva info: Trying to open /opt/intel/mediasdk/lib64/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_0
libva info: va_openDriver() returns 0
Output #0, mpegts, to 'udp://10.10.10.10:30000?pkt_size=2632&buffer_size=20000000&fifo_size=2000000':
  Metadata:
    encoder         : Lavf56.40.101
    Stream #0:0: Video: h264 (h264_qsv), nv12, 1280x720, q=2-31, 1500 kb/s, 50 fps, 90k tbn, 50 tbc
    Metadata:
      encoder         : Lavc56.60.100 h264_qsv
    Stream #0:1: Video: h264 (h264_qsv), nv12, 960x540, q=2-31, 1000 kb/s, 25 fps, 90k tbn, 25 tbc
    Metadata:
      encoder         : Lavc56.60.100 h264_qsv
    Stream #0:2: Video: h264 (h264_qsv), nv12, 640x360, q=2-31, 600 kb/s, 25 fps, 90k tbn, 25 tbc
    Metadata:
      encoder         : Lavc56.60.100 h264_qsv
    Stream #0:3: Audio: aac, 44100 Hz, stereo, fltp, 96 kb/s
    Metadata:
      encoder         : Lavc56.60.100 aac
Stream mapping:
  Stream #0:0 (h264_qsv) -> yadif (graph 0)
  framerate (graph 0) -> Stream #0:0 (h264_qsv)
  framerate (graph 0) -> Stream #0:1 (h264_qsv)
  framerate (graph 0) -> Stream #0:2 (h264_qsv)
  Stream #0:1 -> #0:3 (mp2 (native) -> aac (native))
Press [q] to stop, [?] for help
libva info: VA-API version 1.0.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'iHD'
libva info: Trying to open /opt/intel/mediasdk/lib64/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_0
libva info: va_openDriver() returns 0
[h264_qsv @ 0x21ea740] A decode call did not consume any data=00:23:14.04 bitrate=  46.6kbits/s    
frame=  937 fps= 59 q=-0.0 Lq=-0.0 q=-0.0 size=    8267kB time=00:23:14.57 bitrate=  48.6kbits/s    
video:7225kB audio:228kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 10.923792%

* Troubleshooting

If you get a build error like this, you skipped the (STEP 6) Move the Media SDK include files in a mfx sub-directory. This is required because ffmpeg expect these files to be in a sub-directory. Just move the files in a sub-directory mfx as it is shown in (STEP 6)

gcc -Wl,-O1 -Wl,--as-needed -Wl,-z,noexecstack -o /tmp/ffconf.7IhNLjmP/test /tmp/ffconf.7IhNLjmP/test.o -lm -ldl -llzma -lz -pthread -pthread
use_pkg_config libmfx libmfx mfx/mfxvideo.h MFXInit
check_pkg_config libmfx libmfx mfx/mfxvideo.h MFXInit
pkg-config --exists --print-errors libmfx
check_func_headers mfx/mfxvideo.h MFXInit -I/opt/intel/mediasdk/include -I/usr/include/libdrm -L/opt/intel/mediasdk/lib/lin_x64 -lmfx -lva -lstdc++ -ldl -lva-drm -ldrm
check_ld cc -I/opt/intel/mediasdk/include -I/usr/include/libdrm -L/opt/intel/mediasdk/lib/lin_x64 -lmfx -lva -lstdc++ -ldl -lva-drm -ldrm
check_cc -I/opt/intel/mediasdk/include -I/usr/include/libdrm -L/opt/intel/mediasdk/lib/lin_x64
BEGIN /tmp/ffconf.7IhNLjmP/test.c
    1   #include <mfx/mfxvideo.h>
    2   #include <stdint.h>
    3   long check_MFXInit(void) { return (long) MFXInit; }
    4   int main(void) { int ret = 0;
    5    ret |= ((intptr_t)check_MFXInit) & 0xFFFF;
    6   return ret; }
END /tmp/ffconf.7IhNLjmP/test.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -O2 -march=native -msse3 -fomit-frame-pointer -pipe -std=c11 -fomit-frame-pointer -pthread -I/opt/intel/mediasdk/include -I/usr/include/libdrm -L/opt/intel/mediasdk/lib/lin_x64 -c -o /tmp/ffconf.7IhNLjmP/test.o /tmp/ffconf.7IhNLjmP/test.c
/tmp/ffconf.7IhNLjmP/test.c:1:26: fatal error: mfx/mfxvideo.h: No such file or directory
 #include <mfx/mfxvideo.h>
                          ^
compilation terminated.
require libmfx mfx/mfxvideo.h MFXInit -llibmfx
check_lib libmfx mfx/mfxvideo.h MFXInit -llibmfx
check_func_headers mfx/mfxvideo.h MFXInit -llibmfx
check_ld cc -llibmfx
check_cc
BEGIN /tmp/ffconf.7IhNLjmP/test.c
    1   #include <mfx/mfxvideo.h>
    2   #include <stdint.h>
    3   long check_MFXInit(void) { return (long) MFXInit; }
    4   int main(void) { int ret = 0;
    5    ret |= ((intptr_t)check_MFXInit) & 0xFFFF;
    6   return ret; }
END /tmp/ffconf.7IhNLjmP/test.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -O2 -march=native -msse3 -fomit-frame-pointer -pipe -std=c11 -fomit-frame-pointer -pthread -c -o /tmp/ffconf.7IhNLjmP/test.o /tmp/ffconf.7IhNLjmP/test.c
/tmp/ffconf.7IhNLjmP/test.c:1:26: fatal error: mfx/mfxvideo.h: No such file or directory
 #include <mfx/mfxvideo.h>
                          ^
compilation terminated.
ERROR: libmfx not found

Install Intel Media Studio SDK and GPU driver from Intel Media Server Studio 2018 R1 – CentOS 7 (7.4.1708)

This tutorial shows how to install GPU video Driver for Intel Internal Graphics – the GPU unit in Intel processors and the Intel Media SDK to enable hardware video decoding and encoding capabilities of the Intel processors with GPU builtin.

Installing Media Server Studio your system will get validated stack of software by Intel to build application against Media SDK interface. So you’ll put in your system not only Intel software but the proper version of the libraries, on which the Intel Media SDK depends on. At the end your application will link to the Intel libmfx dispatcher. Basically you get:

  • libmfx.a dispatcher – the API for your application
  • libmfxhw64.so hardware implementation
  • related libraries (including OpenCL)
  • specific versions for libva and libdrm
  • user mode driver
  • modified i915 graphics driver module
  • kernel patches

STEP 1) Enable internal graphics in your system.

Not only you have to enable the internal graphics from the BIOS of your motherboard, but you must verify the mother board supports internal graphics. Here is the tutorial for the SUPERMICRO servers – “Enable internal graphics in SUPERMICRO servers”. As you can see from the link, for SUPEMICRO servers you will need:

Intel Xeon E3-1200 v4 Family with C226 chipset
Intel Xeon E3-1200 and E3-1500 v5 Family with C236 chipset

But you can use a Desktop processor like Intel i3, i5, i7, which have builtin GPU and the chances the motherboard supports it is really big, just enable it from the BIOS.

STEP 2) Install the right CentOS 7 – 7.4.1708

We need this specific version, because at present the latest version of Intel Media Server Studio requires it. Intel support only this specific version with their latest Intel Media Server Studio 2018 R1 – we need it because it ships the needed Intel GPU driver and the right libraries to compile against. Here is a howto how you can install this version – Howto do a netinstall of CentOS 7 – minimal server installation Now this version is deprecated so you could have problems finding it. Here is the right place – http://vault.centos.org/7.4.1708/isos/x86_64/ Just follow the instructions for downloading.
Check the right version of the CentOS 7 and whether you enabled successfully the Internal Graphics in the BIOS:

[root@srv ~]# cat /etc/centos-release
CentOS Linux release 7.4.1708 (Core) 
[root@srv ~]# uname -a
Linux conv11.mytv.bg 3.10.0-693.el7.x86_64 #1 SMP Tue Aug 22 21:09:27 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
[root@srv ~]# lspci |grep Display
00:02.0 Display controller: Intel Corporation Iris Pro Graphics P580 (rev 09)

Iris Pro Graphics P580 (rev 09)

is the GPU unit of “Intel(R) Xeon(R) CPU E3-1585 v5 @ 3.50GHz”. If you do not see it with lspci you woud not be able to proceed with the steps below.

STEP 3) Download Intel Media Server Studio 2018 R1

We have another howto to follow for this step. Because Intel want to register before downloading it we made another howto with the steps and what to expect in the Intel Media Server Studio 2018 R1 package – just follow the simple steps (to register and download): “Download, what is in the package Intel Media Server Studio 2018 R1 and which linux distro it supports”

STEP 4) Install Intel Media Studio SDK from Intel Media Server Studio 2018 R1

It assumes you are the root user, downloaded the MediaServerStudioEssentials2018R1.tar.gz from the previous step (step 3) and put the file in /root/ directory.

[root@srv ~]# ls -la MediaServerStudioEssentials2018R1.tar.gz
-rw-r--r--. 1 root root 576084887 18 Jun 13,20 MediaServerStudioEssentials2018R1.tar.gz
[root@srv ~]# tar xzvf MediaServerStudioEssentials2018R1.tar.gz
MediaServerStudioEssentials2018R1/
MediaServerStudioEssentials2018R1/Intel(R)_Media_Server_Studio_EULA.pdf
MediaServerStudioEssentials2018R1/Intel_SDK_for_OpenCL_2017_r2_release_notes.pdf
MediaServerStudioEssentials2018R1/MediaSamples_Linux_2018R1_b982.tar.gz.sig
MediaServerStudioEssentials2018R1/site_license_materials.txt
MediaServerStudioEssentials2018R1/third_party_programs.txt
MediaServerStudioEssentials2018R1/redist.txt
MediaServerStudioEssentials2018R1/media_server_studio_essentials_release_notes.pdf
MediaServerStudioEssentials2018R1/MediaSamples_Linux_2018R1_b982.tar.gz
MediaServerStudioEssentials2018R1/intel_sdk_for_opencl_2017_7.0.0.2580_x64.tgz
MediaServerStudioEssentials2018R1/SDK2018Production16.8.tar.gz
[root@srv ~]# cd MediaServerStudioEssentials2018R1/
[root@srv MediaServerStudioEssentials2018R1]# tar xzvf SDK2018Production16.8.tar.gz
SDK2018Production16.8/
SDK2018Production16.8/Generic/
SDK2018Production16.8/Generic/intel-opencl-16.8-67208.x86_64.tar.xz
SDK2018Production16.8/Generic/intel-opencl-devel-16.8-67208.x86_64.tar.xz
SDK2018Production16.8/Generic/intel-linux-media_generic_16.8-69021_64bit.tar.gz
SDK2018Production16.8/Generic/NOTICES.TXT
SDK2018Production16.8/Generic/intel-linux-media_generic_16.8-69021_64bit.tar.gz.sig
SDK2018Production16.8/Generic/vpg_ocl_linux_rpmdeb.public
SDK2018Production16.8/Generic/intel-opencl-cpu-16.8-67208.x86_64.tar.xz
SDK2018Production16.8/media_server_studio_getting_started_guide.pdf
SDK2018Production16.8/CentOS_7.4/
SDK2018Production16.8/CentOS_7.4/libdrm-2.4.74-69021.el7.centos.x86_64.rpm
SDK2018Production16.8/CentOS_7.4/mss-linux-xcode-media.public
SDK2018Production16.8/CentOS_7.4/MediaSamples_Linux_bin-16.8-69021.tar.gz.sig
SDK2018Production16.8/CentOS_7.4/MediaSamples_Linux_bin-16.8-69021.tar.gz
SDK2018Production16.8/CentOS_7.4/intel-linux-media-devel-16.8-69021.el7.centos.x86_64.rpm
SDK2018Production16.8/CentOS_7.4/intel-opencl-cpu-16.8-67208.x86_64.rpm
SDK2018Production16.8/CentOS_7.4/intel-linux-media-16.8-69021.el7.centos.x86_64.rpm
SDK2018Production16.8/CentOS_7.4/NOTICES.TXT
SDK2018Production16.8/CentOS_7.4/install_scripts_centos_16.8-69021.tar.gz
SDK2018Production16.8/CentOS_7.4/install_scripts_centos_16.8-69021.tar.gz.sig
SDK2018Production16.8/CentOS_7.4/ukmd-kmod-16.8-69021.el7.centos.src.rpm
SDK2018Production16.8/CentOS_7.4/kmod-ukmd-16.8-69021.el7.centos.x86_64.rpm
SDK2018Production16.8/CentOS_7.4/libva-2.0.1.pre1-69021.el7.centos.x86_64.rpm
SDK2018Production16.8/CentOS_7.4/drm-utils-2.4.74-69021.el7.centos.x86_64.rpm
SDK2018Production16.8/CentOS_7.4/libdrm-devel-2.4.74-69021.el7.centos.x86_64.rpm
SDK2018Production16.8/CentOS_7.4/intel-opencl-devel-16.8-67208.x86_64.rpm
SDK2018Production16.8/CentOS_7.4/intel-opencl-16.8-67208.x86_64.rpm
SDK2018Production16.8/CentOS_7.4/vpg_ocl_linux_rpmdeb.public
SDK2018Production16.8/CentOS_7.4/libva-devel-2.0.1.pre1-69021.el7.centos.x86_64.rpm
SDK2018Production16.8/intel-opencl-release-notes.pdf
SDK2018Production16.8/media_server_studio_fei_release_notes.pdf
SDK2018Production16.8/media_server_studio_sdk_release_notes.pdf
[root@srv MediaServerStudioEssentials2018R1]# cd SDK2018Production16.8/CentOS_7.4/
[root@srv CentOS_7.4]# tar xzvf install_scripts_centos_16.8-69021.tar.gz
install_sdk_CentOS.sh
uninstall_sdk_CentOS.sh
[root@srv CentOS_7.4]# ./install_sdk_CentOS.sh
Checking yum by paramters "--releasever=7.4.1708"...
Loaded plugins: fastestmirror
Determining fastest mirrors
Cannot find a valid baseurl for repo: base/7.4.1708/x86_64
Checking yum by paramters "--releasever=7.4.1708"...Failed!
This Version of MediaServerStudio has been validated against CentOS 7.4.1708.
To install MediaServerStudio there is a requirement to install packages using yum package manager.
yum package manager automatically installs from latest CentOS released version repository.
If CentOS latest release version is newer than 7.4.1708, yum will default to install packages from this repository.
This could lead to packages been installed that could conflict with this version of MediaServerStudio and cause installation to fail.
It is ultimate responsibility of user to manage yum repositories to ensure that packages installed during installation of MediaServerStudio using yum package manger are installed from correct repository.
For more information on CentOS version please see: "https://wiki.centos.org/FAQ/General#head-dcca41e9a3d5ac4c6d900a991990fd11930867d6"


User has 3 options to proceed with installation:
1: (default) Installation Script will automatically attempt to enable correct repositories to install from.
2: User can manually edit yum repository files to ensure yum installs from correct repository, i.e. "--releasever=7.4.1708" is workable.
   If this option is chosen installation will abort then user need to fix yum repository files and run this script again.
3: Force installation from default yum repository, i.e. using "--releasever=7" yum option (ONLY for advanced users who clearly know what will happen)

If no response in 120 seconds option 1 will be default [1]2

   Here is an example how to fix yum repository file but just for information -
   Edit /etc/yum.repos.d/CentOS-Base.repo, comment out the mirrorlist lines, uncomment and edit the baseurl lines for each entry to point to correct URL -
   (a)
   ====================================================================================================
   #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
   baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
   ====================================================================================================
   OR (b)
   ====================================================================================================
   #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
   baseurl=http://vault.centos.org/centos/$releasever/os/$basearch/
   ====================================================================================================
   The reason of (b) is centos will move from mirror to vault for old versions then (a) won't work any longer.
   One example for old CentOS7.2 is
       http://mirror.centos.org/centos/7.2.1511/readme
   It is expected the same deprecation of mirror will happen one day for CentOS7.4, too.

Please finish the modification and re-run the script to install.

Edit your

/etc/yum.repos.d/CentOS-Base.repo

and put in it the following:

[base]
name=CentOS-$releasever - Base
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
baseurl=http://vault.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

Execute the installation script again (full log of the installation you can see at the end of the howto):

[root@srv CentOS_7.4]# ./install_sdk_CentOS.sh 
Checking yum by paramters "--releasever=7.4.1708"...
Loaded plugins: fastestmirror
base                                                                                                                                           | 3.6 kB  00:00:00     
(1/2): base/7.4.1708/x86_64/group_gz                                                                                                           | 156 kB  00:00:00     
(2/2): base/7.4.1708/x86_64/primary_db                                                                                                         | 5.7 MB  00:00:01     
Determining fastest mirrors
Checking yum by paramters "--releasever=7.4.1708"...Succeeded!
Installing prerequisiters with yum parameters "--releasever=7.4.1708"...
Loaded plugins: fastestmirror
There is no installed groups file.
Maybe run: yum groups mark convert (see man yum)
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package autoconf.noarch 0:2.69-11.el7 will be installed
--> Processing Dependency: perl >= 5.006 for package: autoconf-2.69-11.el7.noarch
...
...
...
Complete!
Installing prerequisiters with yum parameters "--releasever=7.4.1708"...Succeeded!
Installing user-space library rpms...
warning: libdrm-2.4.74-69021.el7.centos.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID a9b021f4: NOKEY
Preparing...                          ################################# [100%]
Updating / installing...
   1:libdrm-2.4.74-69021.el7.centos   ################################# [  9%]
   2:libva-2.0.1.pre1-69021.el7.centos################################# [ 18%]
   3:intel-linux-media-16.8-69021.el7.################################# [ 27%]
Install finished. Please reboot.
   4:intel-opencl-16.8-67208          ################################# [ 36%]
   5:intel-opencl-cpu-16.8-67208      ################################# [ 45%]
   6:intel-linux-media-devel-16.8-6902################################# [ 55%]
   7:libva-devel-2.0.1.pre1-69021.el7.################################# [ 64%]
   8:libdrm-devel-2.4.74-69021.el7.cen################################# [ 73%]
   9:drm-utils-2.4.74-69021.el7.centos################################# [ 82%]
  10:intel-opencl-devel-16.8-67208    ################################# [ 91%]
Cleaning up / removing...
  11:libdrm-2.4.74-1.el7              ################################# [100%]
Installing kmod-ukmd-16.8-69021...
warning: kmod-ukmd-16.8-69021.el7.centos.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID a9b021f4: NOKEY
Preparing...                          ################################# [100%]
Updating / installing...
   1:kmod-ukmd-16.8-69021.el7.centos  ################################# [100%]
Working. This may take some time ...
Done.

Installation done. Please reboot.
[root@srv CentOS_7.4]# reboot

You can see this time the installation script completed successfully. You should reboot to load the Intel GPU driver.

STEP 5) Verify the installation of Intel GPU driver and Intel Media Studio SDK

After you reboot your machine you should check if the Intel GPU driver is loaded and is working properly:

[root@srv ~]# ls /opt/intel/mediasdk/
doc  include  lib  lib64  opensource  plugins  tools
[root@conv11 ~]# lsmod | grep 'i915'
i915                 1328806  1 
drm_ukmd_kms_helper   141366  1 i915
drm_ukmd_compat       122928  2 i915,drm_ukmd_kms_helper
drm_ukmd              369737  3 i915,drm_ukmd_kms_helper
i2c_algo_bit           13413  3 ast,igb,i915
video                  24520  1 i915
i2c_core               40756  10 ast,drm,igb,i915,i2c_i801,i2c_hid,drm_kms_helper,i2c_algo_bit,drm_ukmd,drm_ukmd_kms_helper
[root@srv ~]# dmesg|grep drm
[    2.114138] drm: loading out-of-tree module taints kernel.
[    2.114269] drm: module verification failed: signature and/or required key missing - tainting kernel
[    2.115431] [drm] Initialized
[    2.120228] [drm_ukmd] Initialized drm_ukmd module
[    2.120643] Initialized drm/i915 compat module 20180222-16.8-69021-k0260ae1
[    2.128447] [drm_ukmd] Found 128MB of eLLC
[    2.128686] [drm_ukmd] Memory usable by graphics device = 4096M
[    2.128690] [drm_ukmd] Replacing VGA console driver
[    2.135059] [drm_ukmd] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    2.135060] [drm_ukmd] Driver supports precise vblank timestamp query.
[    2.180772] [drm_ukmd] failed to retrieve link info, disabling eDP
[    2.182319] [drm_ukmd] Cannot find any crtc or sizes - going 1024x768
[    2.182355] [drm_ukmd] RC6 disabled, disabling runtime PM support
[    2.182362] [drm_ukmd] Initialized i915 1.6.0 20180222-16.8-69021-k0e37c29 for 0000:00:02.0 on minor 0
[    2.182443] [drm] Using P2A bridge for configuration
[    2.182447] [drm] AST 2400 detected
[    2.182457] [drm] Analog VGA only
[    2.182471] [drm] dram 1632000000 1 16 01000000
[    2.182663] i915 0000:00:02.0: fb1: inteldrmfb frame buffer device
[    2.187145] fb: conflicting fb hw usage astdrmfb vs EFI VGA - removing generic driver
[    2.187277] fbcon: astdrmfb (fb0) is primary device
[    2.228185] ast 0000:03:00.0: fb0: astdrmfb frame buffer device
[    2.346863] [drm] Initialized ast 0.1.0 20120228 for 0000:03:00.0 on minor 1
[    3.767992] [drm_ukmd] RC6 off
[    3.769801] [drm_ukmd] The Ring/GT multiplier is 2
[root@srv ~]# ls -altr /dev/dri/
total 0
drwxr-xr-x.  2 root root       120 26 Jun  1,35 .
crw-rw----.  1 root video 226, 128 26 Jun  1,35 renderD128
crw-------.  1 root video 226,  64 26 Jun  1,35 controlD64
crw-rw----.  1 root video 226,   0 26 Jun  1,35 card0
crw-rw----.  1 root video 226,   1 26 Jun  1,35 card1
drwxr-xr-x. 19 root root      3220 26 Jun  1,35 ..
[root@srv ~]#

The Intel Graphic Driver is loaded successfully as you can see, it is very important to have a directory

/dev/dri/

and “dev” devices like

/dev/dri/renderD128

/dev/dri/controlD64

/dev/dri/card0 or/and /dev/dri/card1

After the reboot if you get

[root@srv ~]# ls -altr /dev/dri/
ls: cannot access /dev/dri/: No such file or directory

see the troubleshooting section below!
You can use a sample program from the SDK to verify everything is installed properly – the Driver and the libraries are installed and loaded.

[root@srv ~]# cd MediaServerStudioEssentials2018R1
[root@srv MediaServerStudioEssentials2018R1]# tar xzf MediaSamples_Linux_2018R1_b982.tar.gz
[root@srv MediaServerStudioEssentials2018R1]# 
[root@srv ~]# cd MediaServerStudioEssentials2018R1/MediaSamples_Linux_2018R1_b982/samples/_bin/x64/
[root@srv x64]# ./sample_multi_transcode -i::h264 ../content/test_stream.264 -o::h264 test_out.h264 -hw -la
Multi Transcoding Sample Version 8.2.25.982

libva info: VA-API version 1.0.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'iHD'
libva info: Trying to open /opt/intel/mediasdk/lib64/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_0
libva info: va_openDriver() returns 0
Pipeline surfaces number (DecPool): 59
MFX HARDWARE Session 0 API ver 1.25 parameters: 
Input  video: AVC 
Output video: AVC 

Session 0 was NOT joined with other sessions

Transcoding started
..
Transcoding finished

Common transcoding time is 0.139387 sec
-------------------------------------------------------------------------------
*** session 0 PASSED (MFX_ERR_NONE) 0.139182 sec, 101 frames
-i::h264 ../content/test_stream.264 -o::h264 test_out.h264 -hw -la 

-------------------------------------------------------------------------------

The test PASSED

The test is “PASSED”, the sample stream is transcoded successfully with hardware accelaration.

* Troubleshooting – missing /dev/dri/ directory and no KMS by default!

[root@srv ~]# ls /opt/intel/mediasdk/
doc  include  lib  lib64  opensource  plugins  tools
[root@srv ~]# lsmod | grep 'i915'
i915                 1328806  0 
drm_ukmd_kms_helper   141366  1 i915
drm_ukmd_compat       122928  2 i915,drm_ukmd_kms_helper
drm_ukmd              369737  2 i915,drm_ukmd_kms_helper
i2c_algo_bit           13413  2 igb,i915
video                  24520  1 i915
i2c_core               40756  10 drm,igb,i915,i2c_i801,i2c_hid,ipmi_ssif,drm_kms_helper,i2c_algo_bit,drm_ukmd,drm_ukmd_kms_helper
[root@srv ~]# dmesg|grep drm
[    2.111649] drm: loading out-of-tree module taints kernel.
[    2.111752] drm: module verification failed: signature and/or required key missing - tainting kernel
[    2.112516] [drm] Initialized
[    2.115745] [drm_ukmd] Initialized drm_ukmd module
[    2.116043] Initialized drm/i915 compat module 20180222-16.8-69021-k0260ae1
[root@srv ~]#
[root@srv ~]# ls -altr /dev/dri/
ls: cannot access /dev/dri/: No such file or directory

If you see the above error of missing

/dev/dri

directory, but the driver seems loaded it is because by default on some systems the modsetting is off (KMS – https://en.wikipedia.org/wiki/Mode_setting) and now thw driver is half working. So you need to remove the driver and load it with a parameter:

[root@srv ~]# rmmod i915
[root@srv ~]# modprobe i915 modeset=1
[root@srv ~]# dmesg|grep drm
[    2.111649] drm: loading out-of-tree module taints kernel.
[    2.111752] drm: module verification failed: signature and/or required key missing - tainting kernel
[    2.112516] [drm] Initialized
[    2.115745] [drm_ukmd] Initialized drm_ukmd module
[    2.116043] Initialized drm/i915 compat module 20180222-16.8-69021-k0260ae1
[  594.423711] [drm_ukmd] Found 128MB of eLLC
[  594.423942] [drm_ukmd] Memory usable by graphics device = 4096M
[  594.423945] [drm_ukmd] Replacing VGA console driver
[  594.429823] [drm_ukmd] Supports vblank timestamp caching Rev 2 (21.10.2013).
[  594.429823] [drm_ukmd] Driver supports precise vblank timestamp query.
[  594.470490] [drm_ukmd] failed to retrieve link info, disabling eDP
[  594.472353] [drm_ukmd] Cannot find any crtc or sizes - going 1024x768
[  594.472705] i915 0000:00:02.0: fb1: inteldrmfb frame buffer device
[  594.479838] [drm_ukmd] RC6 disabled, disabling runtime PM support
[  594.479841] [drm_ukmd] Initialized i915 1.6.0 20180222-16.8-69021-k0e37c29 for 0000:00:02.0 on minor 0
[  595.771996] [drm_ukmd] RC6 off
[  595.772030] [drm_ukmd] The Ring/GT multiplier is 2

You see a lot more information for “drm” in “dmesg” and the “dev” devices are here:

[root@srv ~]# ls -al /dev/dri/
total 0
drwxr-xr-x.  2 root root       100 25 Jun 13,20 .
drwxr-xr-x. 19 root root      3220 26 Jun  0,24 ..
crw-rw----.  1 root video 226,   0 25 Jun 13,20 card0
crw-------.  1 root video 226,  64 25 Jun 13,20 controlD64
crw-rw----.  1 root video 226, 128 25 Jun 13,20 renderD128
[root@srv ~]#

If you see the “/dev/dri/renderD128” the Intel GPU driver is loaded correctly and you can use hardware video decoding and encoding.
It is a good practice to enable it by default (of course, if it wasn’t by default! If in your system the KMS load by default you can skip it):
First check if in /etc/default/grub there is “nomodeset” in “GRUB_CMDLINE_LINUX” and remove it and update your grub2 configuration with (the BIOS of the server is in UEFI mode for sure if you want to have KMS):

[root@srv ~]# grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg 
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.10.0-693.el7.x86_64
Found initrd image: /boot/initramfs-3.10.0-693.el7.x86_64.img
Found linux image: /boot/vmlinuz-0-rescue-c1a8b43c94cb4b5caa8786ca5e85211c
Found initrd image: /boot/initramfs-0-rescue-c1a8b43c94cb4b5caa8786ca5e85211c.img
done
[root@srv ~]# reboot

Reboot and check again if the driver loaded with modsetting (KMS) enabled. If it is still not loaded properly you could try to add to “/etc/default/grub” in “GRUB_CMDLINE_LINUX” the following (just add the two options to the other options in the variable – you could try first only the first one, because preliminary_hw_support could lead to instability in some hardware):

GRUB_CMDLINE_LINUX="i915.modeset=1 i915.preliminary_hw_support=1"

And then againt regenerate the grub2 config with:

[root@srv ~]# grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg 
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.10.0-693.el7.x86_64
Found initrd image: /boot/initramfs-3.10.0-693.el7.x86_64.img
Found linux image: /boot/vmlinuz-0-rescue-c1a8b43c94cb4b5caa8786ca5e85211c
Found initrd image: /boot/initramfs-0-rescue-c1a8b43c94cb4b5caa8786ca5e85211c.img
done
[root@srv ~]# reboot

Now you should have “/dev/dri” directory.

* Full log of the installation

Click on the second page.

Download, what is in the package Intel Media Server Studio 2018 R1 and which linux distro it supports

This howto is just information what to expect from the community package of Intel Media Server Studio.

This package is the starting point of the Quick Sync using and development process – you’ll need parts of it if you want to use hardware encoding and decoding for video streams like MPEG-2, H.264, VC-1, VP8, VP9, HEVC and more!


Most of the time this package is needed for the Intel® Media SDK and the graphics drivers it provides. So the main purpose here is to give you an information which version of the SDK and the graphics drivers are included in the different package and which kernel and Linux distro is supported.
Different versions support different OS linux distros – mainly different CentOS 7. The package supports also a Generic Linux installation on a relatively older kernel.

First we start how to freely download the “Intel Media Server Studio Community Edition” from the Intel site: https://software.intel.com/en-us/intel-media-server-studio
This package (as you can see below) supports CentOS 7.4.1708 or any linux distro by downloading kernel 4.4.111.

STEP 1) Get the free community edition, select “Community” from the dropdown as shown and click on “Free Download”.

main menu
Intel Media Server Studio 2018 for Linux

STEP 2) Intel wants to register before downloading the Community edition, if you have already had an account you could sign in.

Fill the data with your personal and company details, do not fake them! You can miss something important from Intel and you know they give you a big piece of software for free, which could help you a lot!

main menu
Intel user registration

STEP 3) Check your details, enter your password and click “Register” on the bottom.

main menu
Register an Account

STEP 4) Click on “Choose a Version” and select “2018 2018_R1” – this is the latest version at the moment.

If you need another one just choose the right for you from the dropdown box. Check the checkbox with the “Consent to the collection of the information and would like to download the software”.

main menu
Intel Media Server Studio community Edition – 2018

STEP 5) To download the package click in “Intel Media Server Studio for Linux*”, the file is 549MB in size.

main menu
Intel Media Server Studio community Edition – 2018 Download

STEP 6) The file name is MediaServerStudioEssentials2018R1.tar.gz and in fact it is the Essentials version of the studio without any paid support.

main menu
Intel Media Server Studio community Edition – 2018 – file name

Here is what is in the archive:

  1. SDK 2018 Production 16.8 – there two version way to install it:
    1. it supports CentOS version 7.4.1708, because it is deprecated you should use vault.centos.org.
      • libdrm-2.4.74-69021
      • intel-linux-media-devel-16.8-69021
      • intel-opencl-cpu-16.8-67208
      • intel-linux-media-16.8-69021
      • ukmd-kmod-16.8-69021
      • kmod-ukmd-16.8-69021
      • libva-2.0.1.pre1-69021
      • drm-utils-2.4.74-69021
      • libdrm-devel-2.4.74-69021
      • intel-opencl-devel-16.8-67208
      • intel-opencl-16.8-67208
      • libva-devel-2.0.1.pre1-69021

      Here is the modinfo output of the CentOS 7 i915 driver:

      [root@conv11 Generic]# modinfo i915
      filename:       /lib/modules/3.10.0-693.el7.x86_64/weak-updates/ukmd/i915.ko
      license:        GPL and additional rights
      description:    Intel Graphics
      author:         Intel Corporation
      author:         Tungsten Graphics, Inc.
      firmware:       i915/bxt_dmc_ver1.bin
      firmware:       i915/skl_dmc_ver1_26.bin
      firmware:       i915/skl_guc_ver4.bin
      rhelversion:    7.4
      
    2. Generic Install – the setup will try to download kernel version 4.4.111 and install above libraries and compile i915 module.
  2. MediaSamples Linux 2018 R1_b982
  3. Intel SDK for Opencl 2017 7.0.0 2580_x64 – it includes Intel Code builder 2017.0-7.0.0.2580

Here is the files in the archive:

srv@local ~ $ tar xzvf MediaServerStudioEssentials2018R1.tar.gz
MediaServerStudioEssentials2018R1/
MediaServerStudioEssentials2018R1/Intel(R)_Media_Server_Studio_EULA.pdf
MediaServerStudioEssentials2018R1/Intel_SDK_for_OpenCL_2017_r2_release_notes.pdf
MediaServerStudioEssentials2018R1/MediaSamples_Linux_2018R1_b982.tar.gz.sig
MediaServerStudioEssentials2018R1/site_license_materials.txt
MediaServerStudioEssentials2018R1/third_party_programs.txt
MediaServerStudioEssentials2018R1/redist.txt
MediaServerStudioEssentials2018R1/media_server_studio_essentials_release_notes.pdf
MediaServerStudioEssentials2018R1/MediaSamples_Linux_2018R1_b982.tar.gz
MediaServerStudioEssentials2018R1/intel_sdk_for_opencl_2017_7.0.0.2580_x64.tgz
MediaServerStudioEssentials2018R1/SDK2018Production16.8.tar.gz
srv@local ~ $ tar xzvf MediaServerStudioEssentials2018R1/SDK2018Production16.8.tar.gz
SDK2018Production16.8/
SDK2018Production16.8/Generic/
SDK2018Production16.8/Generic/intel-opencl-16.8-67208.x86_64.tar.xz
SDK2018Production16.8/Generic/intel-opencl-devel-16.8-67208.x86_64.tar.xz
SDK2018Production16.8/Generic/intel-linux-media_generic_16.8-69021_64bit.tar.gz
SDK2018Production16.8/Generic/NOTICES.TXT
SDK2018Production16.8/Generic/intel-linux-media_generic_16.8-69021_64bit.tar.gz.sig
SDK2018Production16.8/Generic/vpg_ocl_linux_rpmdeb.public
SDK2018Production16.8/Generic/intel-opencl-cpu-16.8-67208.x86_64.tar.xz
SDK2018Production16.8/media_server_studio_getting_started_guide.pdf
SDK2018Production16.8/CentOS_7.4/
SDK2018Production16.8/CentOS_7.4/libdrm-2.4.74-69021.el7.centos.x86_64.rpm
SDK2018Production16.8/CentOS_7.4/mss-linux-xcode-media.public
SDK2018Production16.8/CentOS_7.4/MediaSamples_Linux_bin-16.8-69021.tar.gz.sig
SDK2018Production16.8/CentOS_7.4/MediaSamples_Linux_bin-16.8-69021.tar.gz
SDK2018Production16.8/CentOS_7.4/intel-linux-media-devel-16.8-69021.el7.centos.x86_64.rpm
SDK2018Production16.8/CentOS_7.4/intel-opencl-cpu-16.8-67208.x86_64.rpm
SDK2018Production16.8/CentOS_7.4/intel-linux-media-16.8-69021.el7.centos.x86_64.rpm
SDK2018Production16.8/CentOS_7.4/NOTICES.TXT
SDK2018Production16.8/CentOS_7.4/install_scripts_centos_16.8-69021.tar.gz
SDK2018Production16.8/CentOS_7.4/install_scripts_centos_16.8-69021.tar.gz.sig
SDK2018Production16.8/CentOS_7.4/ukmd-kmod-16.8-69021.el7.centos.src.rpm
SDK2018Production16.8/CentOS_7.4/kmod-ukmd-16.8-69021.el7.centos.x86_64.rpm
SDK2018Production16.8/CentOS_7.4/libva-2.0.1.pre1-69021.el7.centos.x86_64.rpm
SDK2018Production16.8/CentOS_7.4/drm-utils-2.4.74-69021.el7.centos.x86_64.rpm
SDK2018Production16.8/CentOS_7.4/libdrm-devel-2.4.74-69021.el7.centos.x86_64.rpm
SDK2018Production16.8/CentOS_7.4/intel-opencl-devel-16.8-67208.x86_64.rpm
SDK2018Production16.8/CentOS_7.4/intel-opencl-16.8-67208.x86_64.rpm
SDK2018Production16.8/CentOS_7.4/vpg_ocl_linux_rpmdeb.public
SDK2018Production16.8/CentOS_7.4/libva-devel-2.0.1.pre1-69021.el7.centos.x86_64.rpm
SDK2018Production16.8/intel-opencl-release-notes.pdf
SDK2018Production16.8/media_server_studio_fei_release_notes.pdf
SDK2018Production16.8/media_server_studio_sdk_release_notes.pdf
srv@local ~ $ tar xzvf MediaServerStudioEssentials2018R1/intel_sdk_for_opencl_2017_7.0.0.2580_x64.tgz
intel_sdk_for_opencl_2017_7.0.0.2580_x64/
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/images/
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/images/finish.png
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/images/micl.png
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/images/splash.png
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/licenses/
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/licenses/PYTHON/
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/licenses/PYTHON/License-BEOPEN.com_v1.0.txt
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/licenses/openssl/
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/licenses/openssl/license.txt
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/licenses/openssl/readme.txt
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/licenses/libstdc++/
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/licenses/libstdc++/readme-libstdc++.txt
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/scripts/
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/scripts/force_remove.sh
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/32e/
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/32e/libz/
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/32e/libz/libz.so.1
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/32e/libz/libz.so.1.2.11
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/32e/libz/libz.so
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/32e/qt/
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/32e/qt/libQt5Core.so
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/32e/qt/libQt5Core.so.5
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/32e/qt/libQt5Core.so.5.6
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/32e/qt/libQt5Core.so.5.6.2
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/32e/qt/libQt5DBus.so
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/32e/qt/libQt5DBus.so.5
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/32e/qt/libQt5DBus.so.5.6
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/32e/qt/libQt5DBus.so.5.6.2
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/32e/qt/libQt5Gui.so
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/32e/qt/libQt5Gui.so.5
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/32e/qt/libQt5Gui.so.5.6
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/32e/qt/libQt5Gui.so.5.6.2
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/32e/qt/libQt5Widgets.so
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/32e/qt/libQt5Widgets.so.5
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/32e/qt/libQt5Widgets.so.5.6
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/32e/qt/libQt5Widgets.so.5.6.2
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/32e/qt/libQt5XcbQpa.so
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/32e/qt/libQt5XcbQpa.so.5
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/32e/qt/libQt5XcbQpa.so.5.6
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/32e/qt/libQt5XcbQpa.so.5.6.2
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/32e/qt/libQt5Xml.so
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/32e/qt/libQt5Xml.so.5
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/32e/qt/libQt5Xml.so.5.6
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/32e/qt/libQt5Xml.so.5.6.2
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/32e/qt/libxcb.so
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/32e/qt/libxcb.so.1
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/32e/qt/libxcb.so.1.1.0
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/32e/libsv.so
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/32e/install
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/32e/install_gui
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/32e/platforms/
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/32e/platforms/libqxcb.so
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/32e/imageformats/
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/32e/imageformats/libqjpeg.so
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/32e/libISSASecureWebChannel.so
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/32e/libISSASoapMessenger.so
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/32e/libcrypto.so.1.0.0
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/32e/libssl.so.1.0.0
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/mediaconfig.xml
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/gt_debugger_post_install.cab
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/gt_debugger_prerequisites.cab
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/phonehome.cab
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/pset_standard_dialogs.cab
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/pset_user_stat.cab
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/signing.cab
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/disable_nonroot_installation.cab
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/opencl_prerequisites.cab
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/os_detection.cab
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/ism.cab
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/check.awk
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/install.cab
intel_sdk_for_opencl_2017_7.0.0.2580_x64/pset/EULA.htm
intel_sdk_for_opencl_2017_7.0.0.2580_x64/install.sh
intel_sdk_for_opencl_2017_7.0.0.2580_x64/install_GUI.sh
intel_sdk_for_opencl_2017_7.0.0.2580_x64/rpm/
intel_sdk_for_opencl_2017_7.0.0.2580_x64/rpm/intel-ism-2.2.0.102.tgz
intel_sdk_for_opencl_2017_7.0.0.2580_x64/rpm/gt_debugger_target-ubuntu-2016.0-41250.x86_64.rpm
intel_sdk_for_opencl_2017_7.0.0.2580_x64/rpm/intel-sdk-opencl-codebuilder-base-2017.0-7.0.0.2580.x86_64.rpm
intel_sdk_for_opencl_2017_7.0.0.2580_x64/rpm/intel-sdk-opencl-codebuilder-base-ubuntu-2017.0-7.0.0.2580.x86_64.rpm
intel_sdk_for_opencl_2017_7.0.0.2580_x64/rpm/intel-sdk-opencl-codebuilder-core-2017.0-7.0.0.2580.x86_64.rpm
intel_sdk_for_opencl_2017_7.0.0.2580_x64/rpm/intel-sdk-opencl-codebuilder-devel-2017.0-7.0.0.2580.x86_64.rpm
intel_sdk_for_opencl_2017_7.0.0.2580_x64/rpm/intel-sdk-opencl-codebuilder-devel-ubuntu-2017.0-7.0.0.2580.x86_64.rpm
intel_sdk_for_opencl_2017_7.0.0.2580_x64/rpm/intel-sdk-opencl-codebuilder-eclipse-plugin-2017.0-7.0.0.2580.x86_64.rpm
intel_sdk_for_opencl_2017_7.0.0.2580_x64/rpm/intel-sdk-opencl-codebuilder-intel-devel-2017.0-7.0.0.2580.x86_64.rpm
intel_sdk_for_opencl_2017_7.0.0.2580_x64/rpm/intel-sdk-opencl-codebuilder-intel-devel-ubuntu-2017.0-7.0.0.2580.x86_64.rpm
intel_sdk_for_opencl_2017_7.0.0.2580_x64/rpm/intel-sdk-opencl-codebuilder-intel-cpu-exp-2017.0-7.0.0.2580.x86_64.rpm
intel_sdk_for_opencl_2017_7.0.0.2580_x64/rpm/gt_debugger_core-2016.0-41250.x86_64.rpm
intel_sdk_for_opencl_2017_7.0.0.2580_x64/rpm/gt_debugger_core-pset-2016.0-41250.noarch.rpm
intel_sdk_for_opencl_2017_7.0.0.2580_x64/rpm/gt_debugger_elfdwarf_sources-2016.0-41250.x86_64.rpm
intel_sdk_for_opencl_2017_7.0.0.2580_x64/rpm/gt_debugger_gdb_sources-2016.0-41250.x86_64.rpm
intel_sdk_for_opencl_2017_7.0.0.2580_x64/rpm/gt_debugger_host-2016.0-41250.x86_64.rpm
intel_sdk_for_opencl_2017_7.0.0.2580_x64/rpm/gt_debugger_host-ubuntu-2016.0-41250.x86_64.rpm
intel_sdk_for_opencl_2017_7.0.0.2580_x64/rpm/gt_debugger_igfxgdb_sources-2016.0-41250.x86_64.rpm
intel_sdk_for_opencl_2017_7.0.0.2580_x64/rpm/gt_debugger_licenses-2016.0-41250.x86_64.rpm
intel_sdk_for_opencl_2017_7.0.0.2580_x64/rpm/gt_debugger_target-2016.0-41250.x86_64.rpm
intel_sdk_for_opencl_2017_7.0.0.2580_x64/rpm/intel-sdk-opencl-codebuilder-core-pset-2017.0-7.0.0.2580.noarch.rpm
intel_sdk_for_opencl_2017_7.0.0.2580_x64/silent.cfg
intel_sdk_for_opencl_2017_7.0.0.2580_x64/EULA.txt
intel_sdk_for_opencl_2017_7.0.0.2580_x64/PUBLIC_KEY.PUB

Here are the installed media in “/opt/intel” – the librabry files and which version are available:

/opt/
/opt/intel
/opt/intel/common
/opt/intel/common/mdf
/opt/intel/common/mdf/lib64
/opt/intel/common/mdf/lib64/libigc.so
/opt/intel/common/mdf/lib64/igfxcmrt64.so
/opt/intel/common/mdf/lib64/libigfxcmrt64.so
/opt/intel/opencl
/opt/intel/opencl/libigdccl.so
/opt/intel/opencl/libOpenCL.so
/opt/intel/opencl/__ocl_svml_e9.so
/opt/intel/opencl/libcommon_clang_legacy.so
/opt/intel/opencl/clbltfne9.rtl
/opt/intel/opencl/clbltfnh8_img_cbk.o
/opt/intel/opencl/__ocl_svml_h8.so
/opt/intel/opencl/libintelocl.so
/opt/intel/opencl/clbltfne9_img_cbk.rtl
/opt/intel/opencl/LICENSE
/opt/intel/opencl/libigdrcl.so
/opt/intel/opencl/clbltfnshared.rtl
/opt/intel/opencl/libIntelOpenCL.so
/opt/intel/opencl/libiga64.so
/opt/intel/opencl/libigdbcl.so
/opt/intel/opencl/igdclbif.bin
/opt/intel/opencl/include
/opt/intel/opencl/include/CL
/opt/intel/opencl/include/CL/cl_vebox_intel.h
/opt/intel/opencl/include/CL/cl.hpp
/opt/intel/opencl/include/CL/cl_platform.h
/opt/intel/opencl/include/CL/cl_gl.h
/opt/intel/opencl/include/CL/cl_ext.h
/opt/intel/opencl/include/CL/cl.h
/opt/intel/opencl/include/CL/va_ext.h
/opt/intel/opencl/include/CL/cl_gl_ext.h
/opt/intel/opencl/include/CL/opencl.h
/opt/intel/opencl/include/CL/cl2.hpp
/opt/intel/opencl/__ocl_svml_l9.so
/opt/intel/opencl/clbltfnh8.rtl
/opt/intel/opencl/libcommon_clang.so
/opt/intel/opencl/kernel-4.4-xcode.patch
/opt/intel/opencl/libigdmcl.so
/opt/intel/opencl/libigdfcl.so
/opt/intel/opencl/kernel-4.7.patch
/opt/intel/opencl/libtbb.so.2
/opt/intel/opencl/clbltfnl9_img_cbk.rtl
/opt/intel/opencl/NOTICES
/opt/intel/opencl/libtbb.so
/opt/intel/opencl/libmd.so
/opt/intel/opencl/clbltfnl9.rtl
/opt/intel/opencl/clbltfne9_img_cbk.o
/opt/intel/opencl/libtask_executor.so
/opt/intel/opencl/libtbbmalloc.so.2
/opt/intel/opencl/libtbbmalloc.so
/opt/intel/opencl/clbltfnl9_img_cbk.o
/opt/intel/opencl/libOpenCL.so.1
/opt/intel/opencl/libcpu_device.so
/opt/intel/opencl/libcl_logger.so
/opt/intel/opencl/libclang_compiler.so
/opt/intel/opencl/libOclCpuBackEnd.so
/opt/intel/opencl/libigdfcl_legacy.so
/opt/intel/opencl/OpenCL.pc
/opt/intel/opencl/clbltfnh8_img_cbk.rtl
/opt/intel/mediasdk
/opt/intel/mediasdk/plugins
/opt/intel/mediasdk/plugins/libmfx_hevcd_hw64.so
/opt/intel/mediasdk/plugins/libmfx_h264la_hw64.so
/opt/intel/mediasdk/plugins/libmfx_hevce_hw64.so
/opt/intel/mediasdk/plugins/libmfx_vp8d_hw64.so
/opt/intel/mediasdk/plugins/plugins.cfg
/opt/intel/mediasdk/doc
/opt/intel/mediasdk/doc/dynamic_slice_shutdown.pdf
/opt/intel/mediasdk/doc/mediasdk-man.pdf
/opt/intel/mediasdk/doc/mediasdkvp8-man.pdf
/opt/intel/mediasdk/doc/mediasdkusr-man.pdf
/opt/intel/mediasdk/doc/mediasdkjpeg-man.pdf
/opt/intel/mediasdk/doc/mediasdkfei-man.pdf
/opt/intel/mediasdk/doc/mediasdk_hevc_interlace_whitepaper.pdf
/opt/intel/mediasdk/opensource
/opt/intel/mediasdk/opensource/libva
/opt/intel/mediasdk/opensource/libva/2.0.1.pre1-69021
/opt/intel/mediasdk/opensource/libva/2.0.1.pre1-69021/libva-2.0.1.pre1.tar.bz2
/opt/intel/mediasdk/opensource/libdrm
/opt/intel/mediasdk/opensource/libdrm/2.4.74-69021
/opt/intel/mediasdk/opensource/libdrm/2.4.74-69021/libdrm-2.4.74.tar.bz2
/opt/intel/mediasdk/opensource/readme-dispatcher-linux.pdf
/opt/intel/mediasdk/opensource/mfx_dispatch
/opt/intel/mediasdk/opensource/mfx_dispatch/pkg-config.pc.cmake
/opt/intel/mediasdk/opensource/mfx_dispatch/include
/opt/intel/mediasdk/opensource/mfx_dispatch/include/mfx_plugin_cfg_parser.h
/opt/intel/mediasdk/opensource/mfx_dispatch/include/mfx_vector.h
/opt/intel/mediasdk/opensource/mfx_dispatch/include/mfx_dispatcher_defs.h
/opt/intel/mediasdk/opensource/mfx_dispatch/include/mfx_critical_section.h
/opt/intel/mediasdk/opensource/mfx_dispatch/include/mfx_dispatcher_log.h
/opt/intel/mediasdk/opensource/mfx_dispatch/include/mfx_plugin_hive.h
/opt/intel/mediasdk/opensource/mfx_dispatch/include/mfx_dxva2_device.h
/opt/intel/mediasdk/opensource/mfx_dispatch/include/mfx_win_reg_key.h
/opt/intel/mediasdk/opensource/mfx_dispatch/include/mfx_dispatcher.h
/opt/intel/mediasdk/opensource/mfx_dispatch/include/mfxaudio_exposed_functions_list.h
/opt/intel/mediasdk/opensource/mfx_dispatch/include/mfx_load_dll.h
/opt/intel/mediasdk/opensource/mfx_dispatch/include/mfx_load_plugin.h
/opt/intel/mediasdk/opensource/mfx_dispatch/include/mfx_exposed_functions_list.h
/opt/intel/mediasdk/opensource/mfx_dispatch/include/mfx_library_iterator.h
/opt/intel/mediasdk/opensource/mfx_dispatch/src
/opt/intel/mediasdk/opensource/mfx_dispatch/src/mfx_library_iterator.cpp
/opt/intel/mediasdk/opensource/mfx_dispatch/src/mfx_load_dll_linux.cpp
/opt/intel/mediasdk/opensource/mfx_dispatch/src/mfx_dxva2_device.cpp
/opt/intel/mediasdk/opensource/mfx_dispatch/src/mfx_dispatcher_log.cpp
/opt/intel/mediasdk/opensource/mfx_dispatch/src/mfx_win_reg_key.cpp
/opt/intel/mediasdk/opensource/mfx_dispatch/src/mfx_load_dll.cpp
/opt/intel/mediasdk/opensource/mfx_dispatch/src/mfx_plugin_hive_linux.cpp
/opt/intel/mediasdk/opensource/mfx_dispatch/src/main.cpp
/opt/intel/mediasdk/opensource/mfx_dispatch/src/mfx_critical_section_linux.cpp
/opt/intel/mediasdk/opensource/mfx_dispatch/src/mfx_library_iterator_linux.cpp
/opt/intel/mediasdk/opensource/mfx_dispatch/src/mfx_critical_section.cpp
/opt/intel/mediasdk/opensource/mfx_dispatch/src/mfx_plugin_cfg_parser.cpp
/opt/intel/mediasdk/opensource/mfx_dispatch/src/mfx_function_table.cpp
/opt/intel/mediasdk/opensource/mfx_dispatch/src/mfx_load_plugin.cpp
/opt/intel/mediasdk/opensource/mfx_dispatch/src/mfx_plugin_hive.cpp
/opt/intel/mediasdk/opensource/mfx_dispatch/src/mfx_dispatcher.cpp
/opt/intel/mediasdk/opensource/mfx_dispatch/CMakeLists.txt
/opt/intel/mediasdk/tools
/opt/intel/mediasdk/tools/tracer
/opt/intel/mediasdk/tools/tracer/README
/opt/intel/mediasdk/tools/tracer/libmfx-tracer.so
/opt/intel/mediasdk/tools/tracer/mfx-tracer-config
/opt/intel/mediasdk/tools/metrics_monitor
/opt/intel/mediasdk/tools/metrics_monitor/doc
/opt/intel/mediasdk/tools/metrics_monitor/doc/metricsmon-man.pdf
/opt/intel/mediasdk/tools/metrics_monitor/sample
/opt/intel/mediasdk/tools/metrics_monitor/sample/run.sh
/opt/intel/mediasdk/tools/metrics_monitor/sample/build.sh
/opt/intel/mediasdk/tools/metrics_monitor/sample/cttmetrics_sample.cpp
/opt/intel/mediasdk/tools/metrics_monitor/_bin
/opt/intel/mediasdk/tools/metrics_monitor/_bin/libcttmetrics.so
/opt/intel/mediasdk/tools/metrics_monitor/_bin/metrics_monitor
/opt/intel/mediasdk/tools/metrics_monitor/README
/opt/intel/mediasdk/tools/metrics_monitor/include
/opt/intel/mediasdk/tools/metrics_monitor/include/cttmetrics.h
/opt/intel/mediasdk/include
/opt/intel/mediasdk/include/mfxenc.h
/opt/intel/mediasdk/include/mfxdispatcherprefixedfunctions.h
/opt/intel/mediasdk/include/mfxcommon.h
/opt/intel/mediasdk/include/mfxstructures.h
/opt/intel/mediasdk/include/mfxaudio.h
/opt/intel/mediasdk/include/mfxjpeg.h
/opt/intel/mediasdk/include/mfxplugin++.h
/opt/intel/mediasdk/include/mfxvp8.h
/opt/intel/mediasdk/include/mfxplugin.h
/opt/intel/mediasdk/include/mfxvideo++.h
/opt/intel/mediasdk/include/mfxbrc.h
/opt/intel/mediasdk/include/mfxmvc.h
/opt/intel/mediasdk/include/mfxsession.h
/opt/intel/mediasdk/include/mfxastructures.h
/opt/intel/mediasdk/include/mfxvideo.h
/opt/intel/mediasdk/include/mfxla.h
/opt/intel/mediasdk/include/mfxfei.h
/opt/intel/mediasdk/include/mfxdefs.h
/opt/intel/mediasdk/include/mfxpak.h
/opt/intel/mediasdk/include/mfxaudio++.h
/opt/intel/mediasdk/include/mfxvstructures.h
/opt/intel/mediasdk/lib64
/opt/intel/mediasdk/lib64/hme_downscale_gen9.isa
/opt/intel/mediasdk/lib64/libmfxhw64-p.so.1.25
/opt/intel/mediasdk/lib64/HevcEnc_PB_genx.isa
/opt/intel/mediasdk/lib64/libmfxhw64.so
/opt/intel/mediasdk/lib64/AVCEncKernel_SKL_genx.isa
/opt/intel/mediasdk/lib64/HevcEnc_I_genx.isa
/opt/intel/mediasdk/lib64/hme_gen9.isa
/opt/intel/mediasdk/lib64/FEI_gen8.isa
/opt/intel/mediasdk/lib64/hme_gen8.isa
/opt/intel/mediasdk/lib64/hme_downscale_gen8.isa
/opt/intel/mediasdk/lib64/libmfxsw64.so
/opt/intel/mediasdk/lib64/iHD_drv_video.so
/opt/intel/mediasdk/lib64/hme_downscale_genx.isa
/opt/intel/mediasdk/lib64/libmfxsw64-p.so.1.25
/opt/intel/mediasdk/lib64/FEI_gen9.isa
/opt/intel/mediasdk/lib64/AVCEncKernel_BDW_genx.isa
/opt/intel/mediasdk/lib
/opt/intel/mediasdk/lib/lin_x64
/opt/intel/mediasdk/lib/lin_x64/libmfx.a

How to install new gcc and development tools under CentOS 7

CentOS 7 is very stable and conservative operating system. It offers us free enterprise class operating system, which is compatible with Red Hat, but in many situations we need a newer (not even a bleeding edge) tools from a trusted source not from a unknown third repository! Let’s say you are developer and you need newer than GCC 4.8 (which is more than 5 years old nd at present we have stable GCC 8.x stable branch). There are repositories, which would surely break your system at one point even they do not break it at first installing a newer version of GNU GCC! There is a really easy and “official” way to have newer development software in CentOS 7 by using the Software Collection – https://www.softwarecollections.org/en/scls/
We can say these packages are officially maintained by CentOS 7 team and as a whole Red Hat/CentOS officials and community developers! The collaction aims at

  1. Multiple version installed of the same components, you can have multiple GNU GCC installed without breaking your system or compiling manually. Not only GNU GCC, you can have PHP, Ruby, Pyhton, famous databases like Mysql, Mongodb, PostgreSQL and many more
  2. To have newer version of the same components, you can have multiple version of GNU GCC – you can install with no worries of breaking your system GNU GCC 6 and 7

So here is how you do it:

STEP 1) Install the repository in your system

yum install centos-release-scl

Here is the output in our system:

[srv@local ~]# yum -y install centos-release-scl
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.crazyfrogs.org
 * extras: centos.quelquesmots.fr
 * updates: centos.mirror.fr.planethoster.net
Resolving Dependencies
--> Running transaction check
---> Package centos-release-scl.noarch 0:2-2.el7.centos will be installed
--> Processing Dependency: centos-release-scl-rh for package: centos-release-scl-2-2.el7.centos.noarch
--> Running transaction check
---> Package centos-release-scl-rh.noarch 0:2-2.el7.centos will be installed
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================================================
 Package                                          Arch                              Version                                   Repository                         Size
======================================================================================================================================================================
Installing:
 centos-release-scl                               noarch                            2-2.el7.centos                            extras                             12 k
Installing for dependencies:
 centos-release-scl-rh                            noarch                            2-2.el7.centos                            extras                             12 k

Transaction Summary
======================================================================================================================================================================
Install  1 Package (+1 Dependent package)

STEP 2) Install the development tools and GNU GCC 7, which is part of the “devtools” package

yum install devtoolset-7-gcc*

Here is the output in our system:

[srv@local ~]# yum install devtoolset-7-gcc*
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.crazyfrogs.org
 * extras: centos.quelquesmots.fr
 * updates: centos.mirror.fr.planethoster.net
centos-sclo-rh                                                                                                                                 | 3.0 kB  00:00:00     
centos-sclo-sclo                                                                                                                               | 2.9 kB  00:00:00     
(1/2): centos-sclo-sclo/x86_64/primary_db                                                                                                      | 281 kB  00:00:00     
(2/2): centos-sclo-rh/x86_64/primary_db                                                                                                        | 3.5 MB  00:00:03     
Resolving Dependencies
--> Running transaction check
---> Package devtoolset-7-gcc.x86_64 0:7.3.1-5.4.el7 will be installed
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: devtoolset-7-gcc-7.3.1-5.4.el7.x86_64
--> Processing Dependency: devtoolset-7-binutils >= 2.22.52.0.1 for package: devtoolset-7-gcc-7.3.1-5.4.el7.x86_64
--> Processing Dependency: devtoolset-7-runtime for package: devtoolset-7-gcc-7.3.1-5.4.el7.x86_64
--> Processing Dependency: libmpfr.so.4()(64bit) for package: devtoolset-7-gcc-7.3.1-5.4.el7.x86_64
--> Processing Dependency: libmpc.so.3()(64bit) for package: devtoolset-7-gcc-7.3.1-5.4.el7.x86_64
---> Package devtoolset-7-gcc-c++.x86_64 0:7.3.1-5.4.el7 will be installed
--> Processing Dependency: devtoolset-7-libstdc++-devel = 7.3.1-5.4.el7 for package: devtoolset-7-gcc-c++-7.3.1-5.4.el7.x86_64
---> Package devtoolset-7-gcc-gdb-plugin.x86_64 0:7.3.1-5.4.el7 will be installed
---> Package devtoolset-7-gcc-gfortran.x86_64 0:7.3.1-5.4.el7 will be installed
--> Processing Dependency: devtoolset-7-libquadmath-devel = 7.3.1-5.4.el7 for package: devtoolset-7-gcc-gfortran-7.3.1-5.4.el7.x86_64
--> Processing Dependency: libgfortran4 >= 7.1.1-2 for package: devtoolset-7-gcc-gfortran-7.3.1-5.4.el7.x86_64
---> Package devtoolset-7-gcc-plugin-devel.x86_64 0:7.3.1-5.4.el7 will be installed
--> Processing Dependency: mpfr-devel >= 2.2.1 for package: devtoolset-7-gcc-plugin-devel-7.3.1-5.4.el7.x86_64
--> Processing Dependency: libmpc-devel >= 0.8.1 for package: devtoolset-7-gcc-plugin-devel-7.3.1-5.4.el7.x86_64
--> Processing Dependency: gmp-devel >= 4.1.2-8 for package: devtoolset-7-gcc-plugin-devel-7.3.1-5.4.el7.x86_64
--> Running transaction check
---> Package devtoolset-7-binutils.x86_64 0:2.28-11.el7 will be installed
---> Package devtoolset-7-libquadmath-devel.x86_64 0:7.3.1-5.4.el7 will be installed
--> Processing Dependency: libquadmath for package: devtoolset-7-libquadmath-devel-7.3.1-5.4.el7.x86_64
---> Package devtoolset-7-libstdc++-devel.x86_64 0:7.3.1-5.4.el7 will be installed
---> Package devtoolset-7-runtime.x86_64 0:7.1-4.el7 will be installed
--> Processing Dependency: scl-utils >= 20120927-11 for package: devtoolset-7-runtime-7.1-4.el7.x86_64
--> Processing Dependency: /usr/sbin/semanage for package: devtoolset-7-runtime-7.1-4.el7.x86_64
--> Processing Dependency: /usr/sbin/semanage for package: devtoolset-7-runtime-7.1-4.el7.x86_64
---> Package glibc-devel.x86_64 0:2.17-222.el7 will be installed
--> Processing Dependency: glibc-headers = 2.17-222.el7 for package: glibc-devel-2.17-222.el7.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.17-222.el7.x86_64
---> Package gmp-devel.x86_64 1:6.0.0-15.el7 will be installed
---> Package libgfortran4.x86_64 0:7.2.1-1.2.1.el7_5 will be installed
---> Package libmpc.x86_64 0:1.0.1-3.el7 will be installed
---> Package libmpc-devel.x86_64 0:1.0.1-3.el7 will be installed
---> Package mpfr.x86_64 0:3.1.1-4.el7 will be installed
---> Package mpfr-devel.x86_64 0:3.1.1-4.el7 will be installed
--> Running transaction check
---> Package glibc-headers.x86_64 0:2.17-222.el7 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.17-222.el7.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.17-222.el7.x86_64
---> Package libquadmath.x86_64 0:4.8.5-28.el7_5.1 will be installed
---> Package policycoreutils-python.x86_64 0:2.5-22.el7 will be installed
--> Processing Dependency: setools-libs >= 3.3.8-2 for package: policycoreutils-python-2.5-22.el7.x86_64
--> Processing Dependency: libsemanage-python >= 2.5-9 for package: policycoreutils-python-2.5-22.el7.x86_64
--> Processing Dependency: audit-libs-python >= 2.1.3-4 for package: policycoreutils-python-2.5-22.el7.x86_64
--> Processing Dependency: python-IPy for package: policycoreutils-python-2.5-22.el7.x86_64
--> Processing Dependency: libqpol.so.1(VERS_1.4)(64bit) for package: policycoreutils-python-2.5-22.el7.x86_64
--> Processing Dependency: libqpol.so.1(VERS_1.2)(64bit) for package: policycoreutils-python-2.5-22.el7.x86_64
--> Processing Dependency: libcgroup for package: policycoreutils-python-2.5-22.el7.x86_64
--> Processing Dependency: libapol.so.4(VERS_4.0)(64bit) for package: policycoreutils-python-2.5-22.el7.x86_64
--> Processing Dependency: checkpolicy for package: policycoreutils-python-2.5-22.el7.x86_64
--> Processing Dependency: libqpol.so.1()(64bit) for package: policycoreutils-python-2.5-22.el7.x86_64
--> Processing Dependency: libapol.so.4()(64bit) for package: policycoreutils-python-2.5-22.el7.x86_64
---> Package scl-utils.x86_64 0:20130529-18.el7_4 will be installed
--> Running transaction check
---> Package audit-libs-python.x86_64 0:2.8.1-3.el7 will be installed
---> Package checkpolicy.x86_64 0:2.5-6.el7 will be installed
---> Package kernel-headers.x86_64 0:3.10.0-862.3.2.el7 will be installed
---> Package libcgroup.x86_64 0:0.41-15.el7 will be installed
---> Package libsemanage-python.x86_64 0:2.5-11.el7 will be installed
---> Package python-IPy.noarch 0:0.75-6.el7 will be installed
---> Package setools-libs.x86_64 0:3.3.8-2.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================================================
 Package                                             Arch                        Version                                    Repository                           Size
======================================================================================================================================================================
Installing:
 devtoolset-7-gcc                                    x86_64                      7.3.1-5.4.el7                              centos-sclo-rh                       29 M
 devtoolset-7-gcc-c++                                x86_64                      7.3.1-5.4.el7                              centos-sclo-rh                       11 M
 devtoolset-7-gcc-gdb-plugin                         x86_64                      7.3.1-5.4.el7                              centos-sclo-rh                      123 k
 devtoolset-7-gcc-gfortran                           x86_64                      7.3.1-5.4.el7                              centos-sclo-rh                       11 M
 devtoolset-7-gcc-plugin-devel                       x86_64                      7.3.1-5.4.el7                              centos-sclo-rh                      1.3 M
Installing for dependencies:
 audit-libs-python                                   x86_64                      2.8.1-3.el7                                base                                 75 k
 checkpolicy                                         x86_64                      2.5-6.el7                                  base                                294 k
 devtoolset-7-binutils                               x86_64                      2.28-11.el7                                centos-sclo-rh                      5.3 M
 devtoolset-7-libquadmath-devel                      x86_64                      7.3.1-5.4.el7                              centos-sclo-rh                      153 k
 devtoolset-7-libstdc++-devel                        x86_64                      7.3.1-5.4.el7                              centos-sclo-rh                      2.6 M
 devtoolset-7-runtime                                x86_64                      7.1-4.el7                                  centos-sclo-rh                       20 k
 glibc-devel                                         x86_64                      2.17-222.el7                               base                                1.1 M
 glibc-headers                                       x86_64                      2.17-222.el7                               base                                678 k
 gmp-devel                                           x86_64                      1:6.0.0-15.el7                             base                                181 k
 kernel-headers                                      x86_64                      3.10.0-862.3.2.el7                         updates                             7.1 M
 libcgroup                                           x86_64                      0.41-15.el7                                base                                 65 k
 libgfortran4                                        x86_64                      7.2.1-1.2.1.el7_5                          updates                             676 k
 libmpc                                              x86_64                      1.0.1-3.el7                                base                                 51 k
 libmpc-devel                                        x86_64                      1.0.1-3.el7                                base                                 32 k
 libquadmath                                         x86_64                      4.8.5-28.el7_5.1                           updates                             188 k
 libsemanage-python                                  x86_64                      2.5-11.el7                                 base                                112 k
 mpfr                                                x86_64                      3.1.1-4.el7                                base                                203 k
 mpfr-devel                                          x86_64                      3.1.1-4.el7                                base                                 68 k
 policycoreutils-python                              x86_64                      2.5-22.el7                                 base                                454 k
 python-IPy                                          noarch                      0.75-6.el7                                 base                                 32 k
 scl-utils                                           x86_64                      20130529-18.el7_4                          base                                 24 k
 setools-libs                                        x86_64                      3.3.8-2.el7                                base                                619 k

Transaction Summary
======================================================================================================================================================================
Install  5 Packages (+22 Dependent packages)

Total download size: 73 M
Installed size: 188 M
Is this ok [y/d/N]: y

STEP 3) Use the installed tools.

Because using such a package with multiple complex packages you must configure multiple environment and links to the versions you installed replacing the ones from your base system, but the package comes with a handy tool, which executing it will configure everything and you are ready to go!

scl enable devtoolset-7 bash

And you’ll be in a bash environment, which is configured for GNU GCC 7.

[srv@local ~]# scl enable devtoolset-7 bash
[srv@local ~]# which gcc
/opt/rh/devtoolset-7/root/usr/bin/gcc
[srv@local ~]# gcc --version
gcc (GCC) 7.3.1 20180303 (Red Hat 7.3.1-5)
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[root@srv ~]#

As long as you are in this bash shell (you do not type exit) your environment is configured to use GNU GCC 7 and you can use make, cmake to compile your projects with this newer version.

Before entering the devtoolset-7 bash shell, here is the error for the GNU GCC version:

[srv@local build]# cmake3 ../
-- The C compiler identification is GNU 4.8.5
-- The CXX compiler identification is GNU 4.8.5
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:29 (message):
  g++ version must be at least 5.1!


-- Configuring incomplete, errors occurred!
See also "/root/myproject/build/CMakeFiles/CMakeOutput.log".

After entering the devtoolset-7 bash shell, everything is configured OK and you can proceed with the “make”:

[srv@local build]# rm -R *
[srv@local build]# cmake3 ../ 
-- The C compiler identification is GNU 7.3.1
-- The CXX compiler identification is GNU 7.3.1
-- Check for working C compiler: /opt/rh/devtoolset-7/root/usr/bin/cc
-- Check for working C compiler: /opt/rh/devtoolset-7/root/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /opt/rh/devtoolset-7/root/usr/bin/c++
-- Check for working CXX compiler: /opt/rh/devtoolset-7/root/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Found OpenSSL: /usr/lib64/libcrypto.so (found version "1.0.2k") 
-- Configuring done
-- Generating done
-- Build files have been written to: /root/myproject/build
[srv@local ~]# make -j 8
Scanning dependencies of target myproject
[  3%] Building C object CMakeFiles/myproject.dir/myproject/backend/cpu/crypto/c_keccak.c.o
[  7%] Building C object CMakeFiles/myproject.dir/myproject/backend/cpu/crypto/c_groestl.c.o
[ 15%] Building C object CMakeFiles/myproject.dir/myproject/backend/cpu/crypto/c_blake256.c.o
...

Receive multicast packets on CentOS 7 (and other linux distros)

There are so many web pages and blogs post for multicast traffic under linux and how to enable it, but in most of them something always is missing and if you follow them probably you’ll end up with not working setup and you’ll have to search the Internet again – some do need tuning of the linux kernel variables not to drop packets, some need tuning the firewall to allow protocols.
Here we present a real working example of a server under CentOS 7, our server has two network ports:

  1. eno1 – local unicast traffic with local IP
  2. eno2 – multicast traffic

We have multicast TV streams, which we can use through our second network interface and we want to use ffmpeg to encode the video. We have “Multicast Group:port” for every stream, which is like “IP:PORT” and in our case the port is always the same 5000. Here are the steps you need to do if you want to receive these streams.

STEP 1) Set networking and make the configuration permanent.

In CentOS 7 the network of eno2, set a local IP, in fact it does not matter the exact IP, we used 10.10.10.0/24 local network.

/etc/sysconfig/network-scripts/ifcfg-eno2

TYPE=Ethernet
BOOTPROTO=none
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
NAME=eno2
UUID=2481b907-5e6e-45f9-ab96-7091e4e7d6d1
ONBOOT=yes
HWADDR=0c:c4:7a:44:87:a5
IPADDR0=10.10.10.152
PREFIX0=24
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
NM_CONTROLLED=no

The important lines are highlighted. Configure the network adapter on boot and set 10.10.10.152.
Second and very important add a static route for the multicast traffic for the network interface, which is supposed to have the multicast streams (in our case “eno2”). Use file:

/etc/sysconfig/network-scripts/route-eno2

224.0.0.0/4 dev eno2

STEP 2) Kernel variables tuning

[srv@local ~]# for i in /proc/sys/net/ipv4/conf/*/rp_filter ; do echo 0 > "$i";   done
[srv@local ~]# echo "0" > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts

Turn off “Reverse Path Filtering” for all interfaces (rp_filter) and ping for the multicast address to work properly we need to disable icmp_echo_ignore_broadcasts. By default kernel drops these packets so you need this tuning or your application will not receive a single udp packet.
You could save the above two lines in

/etc/rc.local

and do not forget to set proper access rights:

[srv@local ~]# chmod 755 /etc/rc.local

Or you can use

/etc/sysctl.conf

Add the following lines in it:

net.ipv4.conf.default.rp_filter=0
net.ipv4.conf.all.rp_filter=0
net.ipv4.conf.eno2.rp_filter=0
net.ipv4.icmp_echo_ignore_broadcasts=0

STEP 3) Allow UDP traffic (and/or IGMP) if you have firewall

Here the port is the “Multicast Group:port” of the IP your application will join (look the example below)

  1. firewalld – the default with CentOS 7:
    [srv@local ~]# firewall-cmd --new-zone=multicast --permanent
    [srv@local ~]# firewall-cmd --zone=multicast --add-interface=eno2 --permanent
    [srv@local ~]# firewall-cmd --zone=multicast --add-protocol=igmp --permanent
    [srv@local ~]# firewall-cmd --zone=multicast --add-protocol=icmp --permanent
    [srv@local ~]# firewall-cmd --zone=multicast --add-source=224.0.0.0/4 --permanent
    [srv@local ~]# firewall-cmd --zone=multicast --add-source=10.10.10.0/24 --permanent
    [srv@local ~]# firewall-cmd --zone=multicast --add-port=5000/udp --permanent
    [srv@local ~]# firewall-cmd --reload
    

    We make a new zone for the multicast streams and add our interface, the sources and the port we use. We added IGMP, because in some use cases it is needed (in our it could work without IGMP added)

  2. iptables – if you have disabled firewall and still you wanted to have a firewall:
    # allow multicast addresses
    [srv@local ~]# iptables -A INPUT -p udp -d 5000 -j ACCEPT
    [srv@local ~]# iptables -A INPUT -s 224.0.0.0/4 -j ACCEPT
    [srv@local ~]# iptables -A INPUT -p igmp -d 224.0.0.0/4 -j ACCEPT
    [srv@local ~]# iptables -A INPUT -p icmp --icmp-type 0 -j ACCEPT
    

    Probably it is a good idea to see if you have current rules (with “iptables -L -v -n” or even “iptables-save”) and to see if you should use “-A” (above) or “-I” to insert the rules above the DROP rule(s).

* Example with ffmpeg joining to a multicast group

[srv@local ~]# ffmpeg -i 'udp://239.100.10.5:5000'
ffmpeg version 2.8.6 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.3.0 (Gentoo 5.3.0 p1.0, pie-0.6.5)
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --optflags='-march=native -O2 -msse3 -fomit-frame-pointer -pipe' --disable-static --enable-avfilter --enable-avresample --disable-stripping --enable-nonfree --enable-version3 --enable-nonfree --disable-indev=alsa --disable-indev=oss --disable-outdev=alsa --disable-outdev=oss --enable-version3 --enable-bzlib --disable-runtime-cpudetect --disable-debug --disable-doc --disable-gnutls --enable-gpl --enable-hardcoded-tables --enable-iconv --disable-lzma --enable-network --enable-openssl --enable-postproc --disable-libsmbclient --enable-ffplay --enable-sdl --disable-vaapi --disable-vdpau --enable-xlib --disable-libxcb --disable-libxcb-shm --disable-libxcb-xfixes --enable-zlib --disable-libcdio --disable-libiec61883 --disable-libdc1394 --enable-libcaca --disable-openal --disable-opengl --disable-libv4l2 --disable-libpulse --enable-libopencore-amrwb --enable-libopencore-amrnb --disable-libfdk-aac --enable-libopenjpeg --disable-libbluray --disable-libcelt --disable-libgme --enable-libgsm --disable-libmodplug --disable-libopus --disable-libquvi --disable-librtmp --disable-libssh --disable-libschroedinger --disable-libspeex --enable-libvorbis --enable-libvpx --disable-libzvbi --disable-libbs2b --disable-libflite --disable-frei0r --disable-libfribidi --enable-fontconfig --disable-ladspa --disable-libass --enable-libfreetype --disable-libsoxr --enable-pthreads --enable-libvo-aacenc --disable-libvo-amrwbenc --enable-libmp3lame --disable-libaacplus --enable-libfaac --disable-libsnappy --enable-libtheora --disable-libtwolame --disable-libwavpack --disable-libwebp --enable-libx264 --disable-libx265 --enable-libxvid --enable-x11grab --disable-amd3dnow --disable-amd3dnowext --disable-fma4 --disable-xop --cpu=host
  libavutil      54. 31.100 / 54. 31.100
  libavcodec     56. 60.100 / 56. 60.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 40.101 /  5. 40.101
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc    53.  3.100 / 53.  3.100
[mpeg2video @ 0xf2fa80] Invalid frame dimensions 0x0.
    Last message repeated 10 times
Input #0, mpegts, from 'udp://239.100.10.5:5000':
  Duration: N/A, start: 87846.990933, bitrate: 5659 kb/s
  Program 5 
    Metadata:
      service_name    : ?TVtest
      service_provider: ?ss
    Stream #0:0[0x33]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv), 720x576 [SAR 64:45 DAR 16:9], 5467 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x34](bul): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 192 kb/s
At least one output file must be specified

As you can see to join the multicast group and ffmpeg to start encoding you use “udp://239.100.10.5:5000” for input stream parameter. Here ffmpeg joins the group and receives packets successfully.

* Generic example to receive UDP multicast stream

You may use the following example in any linux distro like Ubuntu, CentOS 7, Gentoo, OpenSuse and many others to receive muticast streams

[srv@local ~]# #ifconfig or ip - use one of them
[srv@local ~]# #ifconfig
[srv@local ~]# ifconfig eno1 10.10.10.152/24 up
[srv@local ~]# route add -net 224.0.0.0 netmask 240.0.0.0 eno2
[srv@local ~]# #or ip
[srv@local ~]# ip addr add 10.10.10.152/24 dev eno2
[srv@local ~]# ip link set eno2 up
[srv@local ~]# #allow multicast packets to the server
[srv@local ~]# for i in /proc/sys/net/ipv4/conf/*/rp_filter ; do echo 0 > "$i";   done
[srv@local ~]# echo "0" > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts
[srv@local ~]# #if you have firewall use the following for the iptables OR firewalld after that - use only one of them!
[srv@local ~]# iptables -A INPUT -p udp -d 5000 -j ACCEPT
[srv@local ~]# iptables -A INPUT -s 224.0.0.0/4 -j ACCEPT
[srv@local ~]# iptables -A INPUT -p igmp -d 224.0.0.0/4 -j ACCEPT
[srv@local ~]# iptables -A INPUT -p icmp --icmp-type 0 -j ACCEPT
[srv@local ~]# #firewalld setup
[srv@local ~]# firewall-cmd --new-zone=multicast --permanent
[srv@local ~]# firewall-cmd --zone=multicast --add-interface=eno2 --permanent
[srv@local ~]# firewall-cmd --zone=multicast --add-protocol=igmp --permanent
[srv@local ~]# firewall-cmd --zone=multicast --add-protocol=icmp --permanent
[srv@local ~]# firewall-cmd --zone=multicast --add-source=224.0.0.0/4 --permanent
[srv@local ~]# firewall-cmd --zone=multicast --add-source=10.10.10.0/24 --permanent
[srv@local ~]# firewall-cmd --zone=multicast --add-port=5000/udp --permanent
[srv@local ~]# firewall-cmd --reload

Update netdata monitoring (CentOS 7)

If you have followed the previous howto “Install netdata monitoring in CentOS 7” you can update your installation of

netdata

with just a single command! It’s just so easy with a great piece of software like this:

[root@local ]# cd netdata
[root@local netdata]# ./netdata-updater.sh

Go to your source directory where you downloaded from git at first install (if you had followed our howto above, the directory would be “/root/netdata” as you saw). The installation process had created an updater script named:

netdata-updater.sh

which will do all the work for you!
The script will contact the git and update the source tree, then will configure the installation process with the same configuration directives you passed before and compile the netdata, then will install it the place you expect to be (or where you configure the first time). At the end you get some additional instructions and information. All you custom configuration and tuning of netdata configuration files will be untouched and after the update you’ll have the graphs you used to have (and probably some new and interesting ones?).

The process of updating netdata could be placed in the cron as well, but we doubt it is so important to do it there unattended!

And here is the output of what you can expect when you execute the updater:

[root@local ]# cd netdata
[root@local netdata]# ./netdata-updater.sh
Fri Apr 13 12:22:16 UTC 2018 : INFO:  Running on a terminal - (this script also supports running headless from crontab)

Fri Apr 13 12:22:16 UTC 2018 : INFO:  Updating netdata source from github...
remote: Counting objects: 861, done.
remote: Compressing objects: 100% (29/29), done.
remote: Total 861 (delta 568), reused 597 (delta 568), pack-reused 264
Receiving objects: 100% (861/861), 361.65 KiB | 0 bytes/s, done.
Resolving deltas: 100% (644/644), completed with 129 local objects.
From https://github.com/firehol/netdata
   6007852..3f5fe20  master     -> origin/master
From https://github.com/firehol/netdata
 * [new tag]         v1.10.0    -> v1.10.0
Updating 6007852..3f5fe20
Fast-forward
 ChangeLog                                                        |    6 +
 LICENSE-REDISTRIBUTED.md                                         |   90 +-
 README.md                                                        |   55 +-
 conf.d/Makefile.am                                               |    8 +
 conf.d/charts.d/ap.conf                                          |    6 +-
 conf.d/charts.d/apache.conf                                      |    6 +-
 conf.d/charts.d/apcupsd.conf                                     |    6 +-
 conf.d/charts.d/cpu_apps.conf                                    |    6 +-
 conf.d/charts.d/cpufreq.conf                                     |    6 +-
 conf.d/charts.d/example.conf                                     |    6 +-
 conf.d/charts.d/exim.conf                                        |    6 +-
 conf.d/charts.d/hddtemp.conf                                     |    5 +-
 conf.d/charts.d/libreswan.conf                                   |    4 +
 conf.d/charts.d/load_average.conf                                |    8 +-
 conf.d/charts.d/mem_apps.conf                                    |    6 +-
 conf.d/charts.d/mysql.conf                                       |    6 +-
 conf.d/charts.d/nginx.conf                                       |    6 +-
 conf.d/charts.d/nut.conf                                         |    6 +-
 conf.d/charts.d/opensips.conf                                    |    6 +-
 conf.d/charts.d/phpfpm.conf                                      |    7 +-
 conf.d/charts.d/postfix.conf                                     |    7 +-
 conf.d/charts.d/sensors.conf                                     |    7 +-
 conf.d/charts.d/squid.conf                                       |    7 +-
 conf.d/charts.d/tomcat.conf                                      |    6 +-
 conf.d/health.d/backend.conf                                     |    2 +-
 conf.d/health.d/disks.conf                                       |   41 +
 conf.d/health.d/fronius.conf                                     |   11 +
 conf.d/health.d/httpcheck.conf                                   |   99 +++
 conf.d/health.d/portcheck.conf                                   |   48 +
 conf.d/health.d/stiebeleltron.conf                               |   11 +
 conf.d/health_alarm_notify.conf                                  |   46 +
 conf.d/python.d.conf                                             |    5 +-
 conf.d/python.d/httpcheck.conf                                   |   99 +++
 conf.d/python.d/icecast.conf                                     |   83 ++
 conf.d/python.d/ntpd.conf                                        |   23 +-
 conf.d/python.d/portcheck.conf                                   |   70 ++
 conf.d/python.d/traefik.conf                                     |   79 ++
 conf.d/python.d/web_log.conf                                     |    1 +
 conf.d/stream.conf                                               |   14 +
 configs.signatures                                               |   62 ++
 configure.ac                                                     |    2 +-
 diagrams/netdata-overview.xml                                    |    2 +-
 netdata-installer.sh                                             |   11 +-
 netdata.spec.in                                                  |    3 +
 node.d/stiebeleltron.node.js                                     |    2 +-
 plugins.d/alarm-notify.sh                                        |    9 +-
 plugins.d/charts.d.plugin                                        |   11 +-
 plugins.d/tc-qos-helper.sh                                       |   89 +-
 python.d/Makefile.am                                             |    4 +
 python.d/README.md                                               |  171 +++-
 python.d/elasticsearch.chart.py                                  |  101 ++-
 python.d/httpcheck.chart.py                                      |  117 +++
 python.d/icecast.chart.py                                        |   92 ++
 python.d/mongodb.chart.py                                        |    2 +-
 python.d/ntpd.chart.py                                           |   17 +-
 python.d/portcheck.chart.py                                      |  159 ++++
 python.d/postgres.chart.py                                       |  150 +++-
 python.d/python_modules/bases/FrameworkServices/SimpleService.py |    5 +-
 python.d/python_modules/bases/FrameworkServices/UrlService.py    |   33 +-
 python.d/python_modules/bases/charts.py                          |    6 +
 python.d/traefik.chart.py                                        |  181 ++++
 python.d/web_log.chart.py                                        |   70 +-
 src/backend_prometheus.c                                         |  180 ++--
 src/backend_prometheus.h                                         |    4 +-
 src/backends.c                                                   |   36 +-
 src/common.c                                                     |    1 +
 src/common.h                                                     |    2 +
 src/daemon.c                                                     |   14 +-
 src/health.c                                                     |    5 +-
 src/main.c                                                       |    5 +
 src/plugin_tc.c                                                  |    2 +-
 src/proc_diskstats.c                                             |  726 ++++++++++++---
 src/rrd.h                                                        |    4 +
 src/rrd2json.c                                                   |   12 +-
 src/rrdhost.c                                                    |   32 +
 src/rrdpush.c                                                    |   96 +-
 src/rrdset.c                                                     |    8 +-
 src/socket.c                                                     |   76 +-
 src/socket.h                                                     |    3 +
 src/statsd.c                                                     |   52 +-
 src/sys_fs_cgroup.c                                              |    2 +-
 src/web_api_v1.c                                                 |   12 +-
 src/web_client.c                                                 |   47 +-
 src/web_client.h                                                 |    4 +
 src/web_server.c                                                 |   20 +-
 system/netdata-openrc.in                                         |   85 +-
 web/dashboard.js                                                 |   55 +-
 web/dashboard_info.js                                            |  159 +++-
 web/demosites.html                                               |    2 +-
 web/index.html                                                   |   28 +-
 web/netdata-swagger.json                                         | 1420 ++++++++++++++++--------------
 web/netdata-swagger.yaml                                         |   58 +-
 92 files changed, 4165 insertions(+), 1198 deletions(-)
 create mode 100644 conf.d/health.d/fronius.conf
 create mode 100644 conf.d/health.d/httpcheck.conf
 create mode 100644 conf.d/health.d/portcheck.conf
 create mode 100644 conf.d/health.d/stiebeleltron.conf
 create mode 100644 conf.d/python.d/httpcheck.conf
 create mode 100644 conf.d/python.d/icecast.conf
 create mode 100644 conf.d/python.d/portcheck.conf
 create mode 100644 conf.d/python.d/traefik.conf
 create mode 100644 python.d/httpcheck.chart.py
 create mode 100644 python.d/icecast.chart.py
 create mode 100644 python.d/portcheck.chart.py
 create mode 100644 python.d/traefik.chart.py

Fri Apr 13 12:22:18 UTC 2018 : INFO:  Re-installing netdata...

  ^
  |.-.   .-.   .-.   .-.   .  netdata                                        
  |   '-'   '-'   '-'   '-'   real-time performance monitoring, done right!  
  +----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+--->


  You are about to build and install netdata to your system.

  It will be installed at these locations:

   - the daemon     at /usr/local/netdata/netdata/usr/sbin/netdata
   - config files   in /usr/local/netdata/netdata/etc/netdata
   - web files      in /usr/local/netdata/netdata/usr/share/netdata
   - plugins        in /usr/local/netdata/netdata/usr/libexec/netdata
   - cache files    in /usr/local/netdata/netdata/var/cache/netdata
   - db files       in /usr/local/netdata/netdata/var/lib/netdata
   - log files      in /usr/local/netdata/netdata/var/log/netdata
   - pid file       at /usr/local/netdata/netdata/var/run/netdata.pid
   - logrotate file at /etc/logrotate.d/netdata

  This installer allows you to change the installation path.
  Press Control-C and run the same command with --help for help.


 --- Run autotools to configure the build environment --- 
[/root/netdata]# ./autogen.sh 
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
autoreconf: Leaving directory `.'
 OK   

[/root/netdata]# ./configure --prefix=/usr/local/netdata/netdata/usr --sysconfdir=/usr/local/netdata/netdata/etc --localstatedir=/usr/local/netdata/netdata/var --with-zlib --with-math --with-user=netdata CFLAGS=-march=native\ -O2\ -msse3\ -fomit-frame-pointer\ -pipe 
checking whether to enable maintainer-specific portions of Makefiles... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to create a pax tar archive... gnutar
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for __attribute__((returns_nonnull))... no
checking for __attribute__((malloc))... yes
checking for __attribute__((noreturn))... yes
checking for __attribute__((noinline))... yes
checking for __attribute__((format))... yes
checking for __attribute__((warn_unused_result))... yes
checking for struct timespec... yes
checking for clockid_t... yes
checking for library containing clock_gettime... none required
checking for clock_gettime... yes
checking for sched_setscheduler... yes
checking for sched_get_priority_min... yes
checking for sched_get_priority_max... yes
checking for nice... yes
checking for recvmmsg... yes
checking for int8_t... yes
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for inline... inline
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... yes
checking for _Generic... no
checking for __atomic... yes
checking size of void *... 8
checking whether sys/types.h defines makedev... yes
checking for sys/types.h... (cached) yes
checking for netinet/in.h... yes
checking for arpa/nameser.h... yes
checking for netdb.h... yes
checking for resolv.h... yes
checking for sys/prctl.h... yes
checking for linux/netfilter/nfnetlink_conntrack.h... yes
checking for accept4... yes
checking operating system... linux
checking if compiler needs -Werror to reject unknown flags... no
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking for sin in -lm... yes
checking if libm should be used... yes
checking for ZLIB... yes
checking if zlib should be used... yes
checking for UUID... yes
checking for memory allocator... system
checking for mallopt... yes
checking for mallinfo... yes
checking for LIBCAP... no
checking if libcap should be used... no
checking if apps.plugin should be enabled... yes
checking for IPMIMONITORING... yes
checking for
        ipmi_monitoring_sensor_readings_by_record_id,
        ipmi_monitoring_sensor_readings_by_sensor_type,
        ipmi_monitoring_sensor_read_sensor_number,
        ipmi_monitoring_sensor_read_sensor_name,
        ipmi_monitoring_sensor_read_sensor_state,
        ipmi_monitoring_sensor_read_sensor_units,
        ipmi_monitoring_sensor_iterator_next,
        ipmi_monitoring_ctx_sensor_config_file,
        ipmi_monitoring_ctx_sdr_cache_directory,
        ipmi_monitoring_ctx_errormsg,
        ipmi_monitoring_ctx_create
     in -lipmimonitoring... yes
checking ipmi_monitoring.h usability... yes
checking ipmi_monitoring.h presence... yes
checking for ipmi_monitoring.h... yes
checking ipmi_monitoring_bitmasks.h usability... yes
checking ipmi_monitoring_bitmasks.h presence... yes
checking for ipmi_monitoring_bitmasks.h... yes
checking if freeipmi.plugin should be enabled... yes
checking for NFACCT... no
checking for LIBMNL... no
checking if nfacct.plugin should be enabled... no
checking for setns... yes
checking if cgroup-network can be enabled... yes
checking whether C compiler accepts -flto... yes
checking if -flto builds executables... yes
checking if LTO should be enabled... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating charts.d/Makefile
config.status: creating conf.d/Makefile
config.status: creating netdata.spec
config.status: creating python.d/Makefile
config.status: creating node.d/Makefile
config.status: creating plugins.d/Makefile
config.status: creating src/Makefile
config.status: creating system/Makefile
config.status: creating web/Makefile
config.status: creating diagrams/Makefile
config.status: creating makeself/Makefile
config.status: creating contrib/Makefile
config.status: creating tests/Makefile
config.status: creating config.h
config.status: executing depfiles commands
 OK   

 --- Cleanup compilation directory --- 
[/root/netdata]# make clean 
Making clean in charts.d
make[1]: Entering directory `/root/netdata/charts.d'
make[1]: Nothing to be done for `clean'.
make[1]: Leaving directory `/root/netdata/charts.d'
Making clean in conf.d
make[1]: Entering directory `/root/netdata/conf.d'
make[1]: Nothing to be done for `clean'.
make[1]: Leaving directory `/root/netdata/conf.d'
Making clean in diagrams
make[1]: Entering directory `/root/netdata/diagrams'
make[1]: Nothing to be done for `clean'.
make[1]: Leaving directory `/root/netdata/diagrams'
Making clean in makeself
make[1]: Entering directory `/root/netdata/makeself'
make[1]: Nothing to be done for `clean'.
make[1]: Leaving directory `/root/netdata/makeself'
Making clean in node.d
make[1]: Entering directory `/root/netdata/node.d'
make[1]: Nothing to be done for `clean'.
make[1]: Leaving directory `/root/netdata/node.d'
Making clean in plugins.d
make[1]: Entering directory `/root/netdata/plugins.d'
make[1]: Nothing to be done for `clean'.
make[1]: Leaving directory `/root/netdata/plugins.d'
Making clean in python.d
make[1]: Entering directory `/root/netdata/python.d'
test -z "python-modules-installer.sh " || rm -f python-modules-installer.sh 
make[1]: Leaving directory `/root/netdata/python.d'
Making clean in src
make[1]: Entering directory `/root/netdata/src'
test -z "apps.plugin freeipmi.plugin cgroup-network" || rm -f apps.plugin freeipmi.plugin cgroup-network
test -z "netdata" || rm -f netdata
rm -f *.o
make[1]: Leaving directory `/root/netdata/src'
Making clean in system
make[1]: Entering directory `/root/netdata/system'
test -z "netdata-openrc netdata.logrotate netdata.service netdata-init-d netdata-lsb netdata-freebsd " || rm -f netdata-openrc netdata.logrotate netdata.service netdata-init-d netdata-lsb netdata-freebsd 
make[1]: Leaving directory `/root/netdata/system'
Making clean in web
make[1]: Entering directory `/root/netdata/web'
make[1]: Nothing to be done for `clean'.
make[1]: Leaving directory `/root/netdata/web'
Making clean in contrib
make[1]: Entering directory `/root/netdata/contrib'
make[1]: Nothing to be done for `clean'.
make[1]: Leaving directory `/root/netdata/contrib'
Making clean in tests
make[1]: Entering directory `/root/netdata/tests'
make[1]: Nothing to be done for `clean'.
make[1]: Leaving directory `/root/netdata/tests'
make[1]: Entering directory `/root/netdata'
make[1]: Nothing to be done for `clean-am'.
make[1]: Leaving directory `/root/netdata'
 OK   

 --- Compile netdata --- 
[/root/netdata]# make -j8 
make  all-recursive
make[1]: Entering directory `/root/netdata'
Making all in charts.d
make[2]: Entering directory `/root/netdata/charts.d'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/netdata/charts.d'
Making all in conf.d
make[2]: Entering directory `/root/netdata/conf.d'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/netdata/conf.d'
Making all in diagrams
make[2]: Entering directory `/root/netdata/diagrams'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/netdata/diagrams'
Making all in makeself
make[2]: Entering directory `/root/netdata/makeself'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/netdata/makeself'
Making all in node.d
make[2]: Entering directory `/root/netdata/node.d'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/netdata/node.d'
Making all in plugins.d
make[2]: Entering directory `/root/netdata/plugins.d'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/netdata/plugins.d'
Making all in python.d
make[2]: Entering directory `/root/netdata/python.d'
if sed \
        -e 's#[@]localstatedir_POST@#/usr/local/netdata/netdata/var#g' \
        -e 's#[@]sbindir_POST@#/usr/local/netdata/netdata/usr/sbin#g' \
        -e 's#[@]sysconfdir_POST@#/usr/local/netdata/netdata/etc#g' \
        -e 's#[@]pythondir_POST@#/usr/local/netdata/netdata/usr/libexec/netdata/python.d#g' \
        python-modules-installer.sh.in > python-modules-installer.sh.tmp; then \
        mv "python-modules-installer.sh.tmp" "python-modules-installer.sh"; \
else \
        rm -f "python-modules-installer.sh.tmp"; \
        false; \
fi
make[2]: Leaving directory `/root/netdata/python.d'
Making all in src
make[2]: Entering directory `/root/netdata/src'
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT apps_plugin.o -MD -MP -MF .deps/apps_plugin.Tpo -c -o apps_plugin.o apps_plugin.c
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT avl.o -MD -MP -MF .deps/avl.Tpo -c -o avl.o avl.c
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT clocks.o -MD -MP -MF .deps/clocks.Tpo -c -o clocks.o clocks.c
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT common.o -MD -MP -MF .deps/common.Tpo -c -o common.o common.c
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT locks.o -MD -MP -MF .deps/locks.Tpo -c -o locks.o locks.c
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT log.o -MD -MP -MF .deps/log.Tpo -c -o log.o log.c
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT procfile.o -MD -MP -MF .deps/procfile.Tpo -c -o procfile.o procfile.c
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT threads.o -MD -MP -MF .deps/threads.Tpo -c -o threads.o threads.c
mv -f .deps/clocks.Tpo .deps/clocks.Po
mv -f .deps/avl.Tpo .deps/avl.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT web_buffer.o -MD -MP -MF .deps/web_buffer.Tpo -c -o web_buffer.o web_buffer.c
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT adaptive_resortable_list.o -MD -MP -MF .deps/adaptive_resortable_list.Tpo -c -o adaptive_resortable_list.o adaptive_resortable_list.c
mv -f .deps/procfile.Tpo .deps/procfile.Po
mv -f .deps/locks.Tpo .deps/locks.Po
mv -f .deps/log.Tpo .deps/log.Po
mv -f .deps/threads.Tpo .deps/threads.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT freeipmi_plugin.o -MD -MP -MF .deps/freeipmi_plugin.Tpo -c -o freeipmi_plugin.o freeipmi_plugin.c
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT cgroup-network.o -MD -MP -MF .deps/cgroup-network.Tpo -c -o cgroup-network.o cgroup-network.c
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT popen.o -MD -MP -MF .deps/popen.Tpo -c -o popen.o popen.c
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT signals.o -MD -MP -MF .deps/signals.Tpo -c -o signals.o signals.c
mv -f .deps/common.Tpo .deps/common.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT appconfig.o -MD -MP -MF .deps/appconfig.Tpo -c -o appconfig.o appconfig.c
mv -f .deps/adaptive_resortable_list.Tpo .deps/adaptive_resortable_list.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT backend_prometheus.o -MD -MP -MF .deps/backend_prometheus.Tpo -c -o backend_prometheus.o backend_prometheus.c
mv -f .deps/popen.Tpo .deps/popen.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT backends.o -MD -MP -MF .deps/backends.Tpo -c -o backends.o backends.c
mv -f .deps/signals.Tpo .deps/signals.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT daemon.o -MD -MP -MF .deps/daemon.Tpo -c -o daemon.o daemon.c
mv -f .deps/web_buffer.Tpo .deps/web_buffer.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT dictionary.o -MD -MP -MF .deps/dictionary.Tpo -c -o dictionary.o dictionary.c
mv -f .deps/cgroup-network.Tpo .deps/cgroup-network.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT eval.o -MD -MP -MF .deps/eval.Tpo -c -o eval.o eval.c
mv -f .deps/freeipmi_plugin.Tpo .deps/freeipmi_plugin.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT global_statistics.o -MD -MP -MF .deps/global_statistics.Tpo -c -o global_statistics.o global_statistics.c
mv -f .deps/appconfig.Tpo .deps/appconfig.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT health.o -MD -MP -MF .deps/health.Tpo -c -o health.o health.c
mv -f .deps/backend_prometheus.Tpo .deps/backend_prometheus.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT health_config.o -MD -MP -MF .deps/health_config.Tpo -c -o health_config.o health_config.c
mv -f .deps/daemon.Tpo .deps/daemon.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT health_json.o -MD -MP -MF .deps/health_json.Tpo -c -o health_json.o health_json.c
mv -f .deps/global_statistics.Tpo .deps/global_statistics.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT health_log.o -MD -MP -MF .deps/health_log.Tpo -c -o health_log.o health_log.c
mv -f .deps/dictionary.Tpo .deps/dictionary.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
mv -f .deps/backends.Tpo .deps/backends.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT plugin_checks.o -MD -MP -MF .deps/plugin_checks.Tpo -c -o plugin_checks.o plugin_checks.c
mv -f .deps/health.Tpo .deps/health.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT plugin_idlejitter.o -MD -MP -MF .deps/plugin_idlejitter.Tpo -c -o plugin_idlejitter.o plugin_idlejitter.c
mv -f .deps/plugin_checks.Tpo .deps/plugin_checks.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT plugins_d.o -MD -MP -MF .deps/plugins_d.Tpo -c -o plugins_d.o plugins_d.c
mv -f .deps/health_json.Tpo .deps/health_json.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT registry.o -MD -MP -MF .deps/registry.Tpo -c -o registry.o registry.c
mv -f .deps/health_log.Tpo .deps/health_log.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT registry_db.o -MD -MP -MF .deps/registry_db.Tpo -c -o registry_db.o registry_db.c
mv -f .deps/plugin_idlejitter.Tpo .deps/plugin_idlejitter.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT registry_init.o -MD -MP -MF .deps/registry_init.Tpo -c -o registry_init.o registry_init.c
mv -f .deps/main.Tpo .deps/main.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT registry_internals.o -MD -MP -MF .deps/registry_internals.Tpo -c -o registry_internals.o registry_internals.c
mv -f .deps/registry_db.Tpo .deps/registry_db.Po
mv -f .deps/registry_init.Tpo .deps/registry_init.Po
mv -f .deps/registry.Tpo .deps/registry.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT registry_log.o -MD -MP -MF .deps/registry_log.Tpo -c -o registry_log.o registry_log.c
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT registry_machine.o -MD -MP -MF .deps/registry_machine.Tpo -c -o registry_machine.o registry_machine.c
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT registry_person.o -MD -MP -MF .deps/registry_person.Tpo -c -o registry_person.o registry_person.c
mv -f .deps/registry_log.Tpo .deps/registry_log.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT registry_url.o -MD -MP -MF .deps/registry_url.Tpo -c -o registry_url.o registry_url.c
mv -f .deps/registry_person.Tpo .deps/registry_person.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT rrd.o -MD -MP -MF .deps/rrd.Tpo -c -o rrd.o rrd.c
mv -f .deps/plugins_d.Tpo .deps/plugins_d.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT rrd2json.o -MD -MP -MF .deps/rrd2json.Tpo -c -o rrd2json.o rrd2json.c
mv -f .deps/registry_internals.Tpo .deps/registry_internals.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT rrd2json_api_old.o -MD -MP -MF .deps/rrd2json_api_old.Tpo -c -o rrd2json_api_old.o rrd2json_api_old.c
mv -f .deps/registry_machine.Tpo .deps/registry_machine.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT rrdcalc.o -MD -MP -MF .deps/rrdcalc.Tpo -c -o rrdcalc.o rrdcalc.c
mv -f .deps/rrd.Tpo .deps/rrd.Po
mv -f .deps/registry_url.Tpo .deps/registry_url.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT rrdcalctemplate.o -MD -MP -MF .deps/rrdcalctemplate.Tpo -c -o rrdcalctemplate.o rrdcalctemplate.c
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT rrddim.o -MD -MP -MF .deps/rrddim.Tpo -c -o rrddim.o rrddim.c
mv -f .deps/rrd2json_api_old.Tpo .deps/rrd2json_api_old.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT rrddimvar.o -MD -MP -MF .deps/rrddimvar.Tpo -c -o rrddimvar.o rrddimvar.c
mv -f .deps/rrddim.Tpo .deps/rrddim.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT rrdfamily.o -MD -MP -MF .deps/rrdfamily.Tpo -c -o rrdfamily.o rrdfamily.c
mv -f .deps/rrdcalc.Tpo .deps/rrdcalc.Po
mv -f .deps/rrdcalctemplate.Tpo .deps/rrdcalctemplate.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT rrdhost.o -MD -MP -MF .deps/rrdhost.Tpo -c -o rrdhost.o rrdhost.c
mv -f .deps/apps_plugin.Tpo .deps/apps_plugin.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT rrdpush.o -MD -MP -MF .deps/rrdpush.Tpo -c -o rrdpush.o rrdpush.c
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT rrdset.o -MD -MP -MF .deps/rrdset.Tpo -c -o rrdset.o rrdset.c
mv -f .deps/rrdfamily.Tpo .deps/rrdfamily.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT rrdsetvar.o -MD -MP -MF .deps/rrdsetvar.Tpo -c -o rrdsetvar.o rrdsetvar.c
mv -f .deps/rrddimvar.Tpo .deps/rrddimvar.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT rrdvar.o -MD -MP -MF .deps/rrdvar.Tpo -c -o rrdvar.o rrdvar.c
mv -f .deps/rrd2json.Tpo .deps/rrd2json.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT simple_pattern.o -MD -MP -MF .deps/simple_pattern.Tpo -c -o simple_pattern.o simple_pattern.c
mv -f .deps/health_config.Tpo .deps/health_config.Po
mv -f .deps/rrdsetvar.Tpo .deps/rrdsetvar.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT socket.o -MD -MP -MF .deps/socket.Tpo -c -o socket.o socket.c
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT statistical.o -MD -MP -MF .deps/statistical.Tpo -c -o statistical.o statistical.c
mv -f .deps/rrdpush.Tpo .deps/rrdpush.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT statsd.o -MD -MP -MF .deps/statsd.Tpo -c -o statsd.o statsd.c
mv -f .deps/rrdvar.Tpo .deps/rrdvar.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT storage_number.o -MD -MP -MF .deps/storage_number.Tpo -c -o storage_number.o storage_number.c
mv -f .deps/rrdset.Tpo .deps/rrdset.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT unit_test.o -MD -MP -MF .deps/unit_test.Tpo -c -o unit_test.o unit_test.c
mv -f .deps/eval.Tpo .deps/eval.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT url.o -MD -MP -MF .deps/url.Tpo -c -o url.o url.c
mv -f .deps/rrdhost.Tpo .deps/rrdhost.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT web_api_old.o -MD -MP -MF .deps/web_api_old.Tpo -c -o web_api_old.o web_api_old.c
mv -f .deps/simple_pattern.Tpo .deps/simple_pattern.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT web_api_v1.o -MD -MP -MF .deps/web_api_v1.Tpo -c -o web_api_v1.o web_api_v1.c
mv -f .deps/statistical.Tpo .deps/statistical.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT web_buffer_svg.o -MD -MP -MF .deps/web_buffer_svg.Tpo -c -o web_buffer_svg.o web_buffer_svg.c
mv -f .deps/storage_number.Tpo .deps/storage_number.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT web_client.o -MD -MP -MF .deps/web_client.Tpo -c -o web_client.o web_client.c
mv -f .deps/url.Tpo .deps/url.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT web_server.o -MD -MP -MF .deps/web_server.Tpo -c -o web_server.o web_server.c
mv -f .deps/web_api_old.Tpo .deps/web_api_old.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT ipc.o -MD -MP -MF .deps/ipc.Tpo -c -o ipc.o ipc.c
mv -f .deps/socket.Tpo .deps/socket.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT plugin_nfacct.o -MD -MP -MF .deps/plugin_nfacct.Tpo -c -o plugin_nfacct.o plugin_nfacct.c
mv -f .deps/unit_test.Tpo .deps/unit_test.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT plugin_proc.o -MD -MP -MF .deps/plugin_proc.Tpo -c -o plugin_proc.o plugin_proc.c
mv -f .deps/plugin_nfacct.Tpo .deps/plugin_nfacct.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT plugin_proc_diskspace.o -MD -MP -MF .deps/plugin_proc_diskspace.Tpo -c -o plugin_proc_diskspace.o plugin_proc_diskspace.c
mv -f .deps/web_api_v1.Tpo .deps/web_api_v1.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT plugin_tc.o -MD -MP -MF .deps/plugin_tc.Tpo -c -o plugin_tc.o plugin_tc.c
mv -f .deps/ipc.Tpo .deps/ipc.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT proc_diskstats.o -MD -MP -MF .deps/proc_diskstats.Tpo -c -o proc_diskstats.o proc_diskstats.c
mv -f .deps/web_buffer_svg.Tpo .deps/web_buffer_svg.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT proc_interrupts.o -MD -MP -MF .deps/proc_interrupts.Tpo -c -o proc_interrupts.o proc_interrupts.c
mv -f .deps/plugin_proc.Tpo .deps/plugin_proc.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT proc_softirqs.o -MD -MP -MF .deps/proc_softirqs.Tpo -c -o proc_softirqs.o proc_softirqs.c
mv -f .deps/web_server.Tpo .deps/web_server.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT proc_loadavg.o -MD -MP -MF .deps/proc_loadavg.Tpo -c -o proc_loadavg.o proc_loadavg.c
mv -f .deps/plugin_proc_diskspace.Tpo .deps/plugin_proc_diskspace.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT proc_meminfo.o -MD -MP -MF .deps/proc_meminfo.Tpo -c -o proc_meminfo.o proc_meminfo.c
mv -f .deps/web_client.Tpo .deps/web_client.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT proc_net_dev.o -MD -MP -MF .deps/proc_net_dev.Tpo -c -o proc_net_dev.o proc_net_dev.c
mv -f .deps/proc_interrupts.Tpo .deps/proc_interrupts.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT proc_net_ip_vs_stats.o -MD -MP -MF .deps/proc_net_ip_vs_stats.Tpo -c -o proc_net_ip_vs_stats.o proc_net_ip_vs_stats.c
mv -f .deps/proc_loadavg.Tpo .deps/proc_loadavg.Po
mv -f .deps/proc_softirqs.Tpo .deps/proc_softirqs.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT proc_net_netstat.o -MD -MP -MF .deps/proc_net_netstat.Tpo -c -o proc_net_netstat.o proc_net_netstat.c
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT proc_net_rpc_nfs.o -MD -MP -MF .deps/proc_net_rpc_nfs.Tpo -c -o proc_net_rpc_nfs.o proc_net_rpc_nfs.c
mv -f .deps/proc_meminfo.Tpo .deps/proc_meminfo.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT proc_net_rpc_nfsd.o -MD -MP -MF .deps/proc_net_rpc_nfsd.Tpo -c -o proc_net_rpc_nfsd.o proc_net_rpc_nfsd.c
mv -f .deps/proc_net_ip_vs_stats.Tpo .deps/proc_net_ip_vs_stats.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT proc_net_snmp.o -MD -MP -MF .deps/proc_net_snmp.Tpo -c -o proc_net_snmp.o proc_net_snmp.c
mv -f .deps/proc_net_rpc_nfs.Tpo .deps/proc_net_rpc_nfs.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT proc_net_snmp6.o -MD -MP -MF .deps/proc_net_snmp6.Tpo -c -o proc_net_snmp6.o proc_net_snmp6.c
mv -f .deps/proc_net_dev.Tpo .deps/proc_net_dev.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT proc_net_sockstat.o -MD -MP -MF .deps/proc_net_sockstat.Tpo -c -o proc_net_sockstat.o proc_net_sockstat.c
mv -f .deps/statsd.Tpo .deps/statsd.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT proc_net_sockstat6.o -MD -MP -MF .deps/proc_net_sockstat6.Tpo -c -o proc_net_sockstat6.o proc_net_sockstat6.c
mv -f .deps/proc_net_netstat.Tpo .deps/proc_net_netstat.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT proc_net_softnet_stat.o -MD -MP -MF .deps/proc_net_softnet_stat.Tpo -c -o proc_net_softnet_stat.o proc_net_softnet_stat.c
mv -f .deps/plugin_tc.Tpo .deps/plugin_tc.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT proc_net_stat_conntrack.o -MD -MP -MF .deps/proc_net_stat_conntrack.Tpo -c -o proc_net_stat_conntrack.o proc_net_stat_conntrack.c
mv -f .deps/proc_net_sockstat.Tpo .deps/proc_net_sockstat.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT proc_net_stat_synproxy.o -MD -MP -MF .deps/proc_net_stat_synproxy.Tpo -c -o proc_net_stat_synproxy.o proc_net_stat_synproxy.c
mv -f .deps/proc_net_softnet_stat.Tpo .deps/proc_net_softnet_stat.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT proc_self_mountinfo.o -MD -MP -MF .deps/proc_self_mountinfo.Tpo -c -o proc_self_mountinfo.o proc_self_mountinfo.c
mv -f .deps/proc_diskstats.Tpo .deps/proc_diskstats.Po
mv -f .deps/proc_net_sockstat6.Tpo .deps/proc_net_sockstat6.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT zfs_common.o -MD -MP -MF .deps/zfs_common.Tpo -c -o zfs_common.o zfs_common.c
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT proc_spl_kstat_zfs.o -MD -MP -MF .deps/proc_spl_kstat_zfs.Tpo -c -o proc_spl_kstat_zfs.o proc_spl_kstat_zfs.c
mv -f .deps/proc_net_stat_conntrack.Tpo .deps/proc_net_stat_conntrack.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT proc_stat.o -MD -MP -MF .deps/proc_stat.Tpo -c -o proc_stat.o proc_stat.c
mv -f .deps/proc_net_snmp6.Tpo .deps/proc_net_snmp6.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT proc_sys_kernel_random_entropy_avail.o -MD -MP -MF .deps/proc_sys_kernel_random_entropy_avail.Tpo -c -o proc_sys_kernel_random_entropy_avail.o proc_sys_kernel_random_entropy_avail.c
mv -f .deps/proc_spl_kstat_zfs.Tpo .deps/proc_spl_kstat_zfs.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT proc_vmstat.o -MD -MP -MF .deps/proc_vmstat.Tpo -c -o proc_vmstat.o proc_vmstat.c
mv -f .deps/proc_net_stat_synproxy.Tpo .deps/proc_net_stat_synproxy.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT proc_uptime.o -MD -MP -MF .deps/proc_uptime.Tpo -c -o proc_uptime.o proc_uptime.c
mv -f .deps/proc_net_snmp.Tpo .deps/proc_net_snmp.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT sys_kernel_mm_ksm.o -MD -MP -MF .deps/sys_kernel_mm_ksm.Tpo -c -o sys_kernel_mm_ksm.o sys_kernel_mm_ksm.c
mv -f .deps/proc_self_mountinfo.Tpo .deps/proc_self_mountinfo.Po
mv -f .deps/proc_sys_kernel_random_entropy_avail.Tpo .deps/proc_sys_kernel_random_entropy_avail.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT sys_devices_system_edac_mc.o -MD -MP -MF .deps/sys_devices_system_edac_mc.Tpo -c -o sys_devices_system_edac_mc.o sys_devices_system_edac_mc.c
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT sys_devices_system_node.o -MD -MP -MF .deps/sys_devices_system_node.Tpo -c -o sys_devices_system_node.o sys_devices_system_node.c
mv -f .deps/proc_vmstat.Tpo .deps/proc_vmstat.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT sys_fs_cgroup.o -MD -MP -MF .deps/sys_fs_cgroup.Tpo -c -o sys_fs_cgroup.o sys_fs_cgroup.c
mv -f .deps/zfs_common.Tpo .deps/zfs_common.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DVARLIB_DIR="\"/usr/local/netdata/netdata/var/lib/netdata\"" -DCACHE_DIR="\"/usr/local/netdata/netdata/var/cache/netdata\"" -DCONFIG_DIR="\"/usr/local/netdata/netdata/etc/netdata\"" -DLOG_DIR="\"/usr/local/netdata/netdata/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/usr/local/netdata/netdata/var/run/netdata\"" -DWEB_DIR="\"/usr/local/netdata/netdata/usr/share/netdata/web\""          -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto -MT sys_fs_btrfs.o -MD -MP -MF .deps/sys_fs_btrfs.Tpo -c -o sys_fs_btrfs.o sys_fs_btrfs.c
mv -f .deps/sys_kernel_mm_ksm.Tpo .deps/sys_kernel_mm_ksm.Po
gcc        -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto   -o apps.plugin apps_plugin.o avl.o clocks.o common.o locks.o log.o procfile.o threads.o web_buffer.o  adaptive_resortable_list.o -lm   
mv -f .deps/proc_net_rpc_nfsd.Tpo .deps/proc_net_rpc_nfsd.Po
gcc        -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto   -o freeipmi.plugin freeipmi_plugin.o clocks.o common.o locks.o log.o procfile.o threads.o -lipmimonitoring    
mv -f .deps/proc_stat.Tpo .deps/proc_stat.Po
mv -f .deps/proc_uptime.Tpo .deps/proc_uptime.Po
gcc        -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto   -o cgroup-network cgroup-network.o clocks.o common.o locks.o log.o procfile.o popen.o signals.o threads.o -lm   
mv -f .deps/sys_devices_system_edac_mc.Tpo .deps/sys_devices_system_edac_mc.Po
mv -f .deps/sys_devices_system_node.Tpo .deps/sys_devices_system_node.Po
^[[Bmv -f .deps/sys_fs_btrfs.Tpo .deps/sys_fs_btrfs.Po
mv -f .deps/sys_fs_cgroup.Tpo .deps/sys_fs_cgroup.Po
gcc        -march=native -O2 -msse3 -fomit-frame-pointer -pipe -pthread -flto   -o netdata adaptive_resortable_list.o appconfig.o avl.o backend_prometheus.o backends.o clocks.o common.o daemon.o dictionary.o eval.o global_statistics.o health.o health_config.o health_json.o health_log.o locks.o log.o main.o plugin_checks.o plugin_idlejitter.o plugins_d.o popen.o procfile.o registry.o registry_db.o registry_init.o registry_internals.o registry_log.o registry_machine.o registry_person.o registry_url.o rrd.o rrd2json.o rrd2json_api_old.o rrdcalc.o rrdcalctemplate.o rrddim.o rrddimvar.o rrdfamily.o rrdhost.o rrdpush.o rrdset.o rrdsetvar.o rrdvar.o signals.o simple_pattern.o socket.o statistical.o statsd.o storage_number.o threads.o unit_test.o url.o web_api_old.o web_api_v1.o web_buffer.o web_buffer_svg.o web_client.o web_server.o   ipc.o plugin_nfacct.o plugin_proc.o plugin_proc_diskspace.o plugin_tc.o proc_diskstats.o proc_interrupts.o proc_softirqs.o proc_loadavg.o proc_meminfo.o proc_net_dev.o proc_net_ip_vs_stats.o proc_net_netstat.o proc_net_rpc_nfs.o proc_net_rpc_nfsd.o proc_net_snmp.o proc_net_snmp6.o proc_net_sockstat.o proc_net_sockstat6.o proc_net_softnet_stat.o proc_net_stat_conntrack.o proc_net_stat_synproxy.o proc_self_mountinfo.o zfs_common.o proc_spl_kstat_zfs.o proc_stat.o proc_sys_kernel_random_entropy_avail.o proc_vmstat.o proc_uptime.o sys_kernel_mm_ksm.o sys_devices_system_edac_mc.o sys_devices_system_node.o sys_fs_cgroup.o sys_fs_btrfs.o -lm  -lz   -luuid    
make[2]: Leaving directory `/root/netdata/src'
Making all in system
make[2]: Entering directory `/root/netdata/system'
if sed \
        -e 's#[@]localstatedir_POST@#/usr/local/netdata/netdata/var#g' \
        -e 's#[@]sbindir_POST@#/usr/local/netdata/netdata/usr/sbin#g' \
        -e 's#[@]sysconfdir_POST@#/usr/local/netdata/netdata/etc#g' \
        -e 's#[@]pythondir_POST@#/usr/local/netdata/netdata/usr/libexec/netdata/python.d#g' \
        netdata-openrc.in > netdata-openrc.tmp; then \
        mv "netdata-openrc.tmp" "netdata-openrc"; \
else \
        rm -f "netdata-openrc.tmp"; \
        false; \
fi
if sed \
        -e 's#[@]localstatedir_POST@#/usr/local/netdata/netdata/var#g' \
        -e 's#[@]sbindir_POST@#/usr/local/netdata/netdata/usr/sbin#g' \
        -e 's#[@]sysconfdir_POST@#/usr/local/netdata/netdata/etc#g' \
        -e 's#[@]pythondir_POST@#/usr/local/netdata/netdata/usr/libexec/netdata/python.d#g' \
        netdata.logrotate.in > netdata.logrotate.tmp; then \
        mv "netdata.logrotate.tmp" "netdata.logrotate"; \
else \
        rm -f "netdata.logrotate.tmp"; \
        false; \
fi
if sed \
        -e 's#[@]localstatedir_POST@#/usr/local/netdata/netdata/var#g' \
        -e 's#[@]sbindir_POST@#/usr/local/netdata/netdata/usr/sbin#g' \
        -e 's#[@]sysconfdir_POST@#/usr/local/netdata/netdata/etc#g' \
        -e 's#[@]pythondir_POST@#/usr/local/netdata/netdata/usr/libexec/netdata/python.d#g' \
        netdata.service.in > netdata.service.tmp; then \
        mv "netdata.service.tmp" "netdata.service"; \
else \
        rm -f "netdata.service.tmp"; \
        false; \
fi
if sed \
        -e 's#[@]localstatedir_POST@#/usr/local/netdata/netdata/var#g' \
        -e 's#[@]sbindir_POST@#/usr/local/netdata/netdata/usr/sbin#g' \
        -e 's#[@]sysconfdir_POST@#/usr/local/netdata/netdata/etc#g' \
        -e 's#[@]pythondir_POST@#/usr/local/netdata/netdata/usr/libexec/netdata/python.d#g' \
        netdata-init-d.in > netdata-init-d.tmp; then \
        mv "netdata-init-d.tmp" "netdata-init-d"; \
else \
        rm -f "netdata-init-d.tmp"; \
        false; \
fi
if sed \
        -e 's#[@]localstatedir_POST@#/usr/local/netdata/netdata/var#g' \
        -e 's#[@]sbindir_POST@#/usr/local/netdata/netdata/usr/sbin#g' \
        -e 's#[@]sysconfdir_POST@#/usr/local/netdata/netdata/etc#g' \
        -e 's#[@]pythondir_POST@#/usr/local/netdata/netdata/usr/libexec/netdata/python.d#g' \
        netdata-lsb.in > netdata-lsb.tmp; then \
        mv "netdata-lsb.tmp" "netdata-lsb"; \
else \
        rm -f "netdata-lsb.tmp"; \
        false; \
fi
if sed \
        -e 's#[@]localstatedir_POST@#/usr/local/netdata/netdata/var#g' \
        -e 's#[@]sbindir_POST@#/usr/local/netdata/netdata/usr/sbin#g' \
        -e 's#[@]sysconfdir_POST@#/usr/local/netdata/netdata/etc#g' \
        -e 's#[@]pythondir_POST@#/usr/local/netdata/netdata/usr/libexec/netdata/python.d#g' \
        netdata-freebsd.in > netdata-freebsd.tmp; then \
        mv "netdata-freebsd.tmp" "netdata-freebsd"; \
else \
        rm -f "netdata-freebsd.tmp"; \
        false; \
fi
make[2]: Leaving directory `/root/netdata/system'
Making all in web
make[2]: Entering directory `/root/netdata/web'
if test -d "../.git"; then \
        git --git-dir="../.git" log -n 1 --format=%H; \
fi > version.txt.tmp
test -s version.txt.tmp || echo 0 > version.txt.tmp
mv version.txt.tmp version.txt
make[2]: Leaving directory `/root/netdata/web'
Making all in contrib
make[2]: Entering directory `/root/netdata/contrib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/netdata/contrib'
Making all in tests
make[2]: Entering directory `/root/netdata/tests'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/netdata/tests'
make[2]: Entering directory `/root/netdata'
make[2]: Leaving directory `/root/netdata'
make[1]: Leaving directory `/root/netdata'
 OK   

 --- Migrate configuration files for node.d.plugin and charts.d.plugin --- 
 --- Backup existing netdata configuration before installing it --- 
File '/usr/local/netdata/netdata/etc/netdata/statsd.d/example.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/node.d.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/health_email_recipients.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/python.d.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/charts.d.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/fping.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/stream.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/netdata.conf'  has been edited by user. Keeping it.
[/root/netdata]# cp -a /usr/local/netdata/netdata/etc/netdata/netdata.conf /usr/local/netdata/netdata/etc/netdata/netdata.conf.installer_backup..17939 
 OK   

File '/usr/local/netdata/netdata/etc/netdata/charts.d/postfix.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/charts.d/tomcat.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/charts.d/nginx.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/charts.d/load_average.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/charts.d/exim.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/charts.d/cpu_apps.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/charts.d/sensors.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/charts.d/example.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/charts.d/libreswan.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/charts.d/ap.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/charts.d/phpfpm.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/charts.d/mysql.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/charts.d/hddtemp.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/charts.d/apcupsd.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/charts.d/squid.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/charts.d/cpufreq.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/charts.d/mem_apps.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/charts.d/opensips.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/charts.d/apache.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/charts.d/nut.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/python.d/mdstat.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/python.d/retroshare.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/python.d/mongodb.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/python.d/dns_query_time.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/python.d/varnish.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/python.d/postfix.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/python.d/ovpn_status_log.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/python.d/tomcat.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/python.d/ipfs.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/python.d/nginx.conf'  has been edited by user. Keeping it.
[/root/netdata]# cp -a /usr/local/netdata/netdata/etc/netdata/python.d/nginx.conf /usr/local/netdata/netdata/etc/netdata/python.d/nginx.conf.installer_backup..17939 
 OK   

File '/usr/local/netdata/netdata/etc/netdata/python.d/elasticsearch.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/python.d/smartd_log.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/python.d/rabbitmq.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/python.d/couchdb.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/python.d/exim.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/python.d/sensors.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/python.d/example.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/python.d/ntpd.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/python.d/springboot.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/python.d/ceph.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/python.d/phpfpm.conf'  has been edited by user. Keeping it.
[/root/netdata]# cp -a /usr/local/netdata/netdata/etc/netdata/python.d/phpfpm.conf /usr/local/netdata/netdata/etc/netdata/python.d/phpfpm.conf.installer_backup..17939 
 OK   

File '/usr/local/netdata/netdata/etc/netdata/python.d/chrony.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/python.d/nginx_plus.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/python.d/memcached.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/python.d/go_expvar.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/python.d/isc_dhcpd.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/python.d/powerdns.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/python.d/mysql.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/python.d/hddtemp.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/python.d/squid.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/python.d/fail2ban.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/python.d/cpufreq.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/python.d/web_log.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/python.d/redis.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/python.d/postgres.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/python.d/dnsdist.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/python.d/beanstalk.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/python.d/bind_rndc.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/python.d/haproxy.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/python.d/samba.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/python.d/nsd.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/python.d/apache.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/python.d/dovecot.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/python.d/freeradius.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/health.d/mdstat.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/health.d/retroshare.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/health.d/mongodb.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/health.d/disks.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/health.d/net.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/health.d/varnish.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/health.d/named.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/health.d/lighttpd.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/health.d/ipfs.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/health.d/nginx.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/health.d/elasticsearch.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/health.d/memory.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/health.d/couchdb.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/health.d/btrfs.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/health.d/zfs.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/health.d/tcp_conn.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/health.d/netfilter.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/health.d/ceph.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/health.d/ram.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/health.d/swap.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/health.d/fping.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/health.d/cpu.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/health.d/nginx_plus.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/health.d/tcp_resets.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/health.d/beanstalkd.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/health.d/memcached.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/health.d/tcp_listen.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/health.d/backend.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/health.d/isc_dhcpd.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/health.d/qos.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/health.d/mysql.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/health.d/tcp_orphans.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/health.d/squid.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/health.d/ipc.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/health.d/web_log.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/health.d/redis.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/health.d/postgres.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/health.d/bind_rndc.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/health.d/entropy.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/health.d/tcp_mem.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/health.d/haproxy.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/health.d/udp_errors.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/health.d/ipmi.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/health.d/apache.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/health.d/softnet.conf' is stock version.
File '/usr/local/netdata/netdata/etc/netdata/apps_groups.conf'  has been edited by user. Keeping it.
[/root/netdata]# cp -a /usr/local/netdata/netdata/etc/netdata/apps_groups.conf /usr/local/netdata/netdata/etc/netdata/apps_groups.conf.installer_backup..17939 
 OK   

File '/usr/local/netdata/netdata/etc/netdata/health_alarm_notify.conf' is stock version.
 --- Install netdata --- 
[/root/netdata]# make install 
Making install in charts.d
make[1]: Entering directory `/root/netdata/charts.d'
make[2]: Entering directory `/root/netdata/charts.d'
make[2]: Nothing to be done for `install-exec-am'.
 /usr/bin/mkdir -p '/usr/local/netdata/netdata/usr/libexec/netdata/charts.d'
 /usr/bin/install -c -m 644 README.md ap.chart.sh apcupsd.chart.sh apache.chart.sh cpu_apps.chart.sh cpufreq.chart.sh example.chart.sh exim.chart.sh hddtemp.chart.sh libreswan.chart.sh load_average.chart.sh mem_apps.chart.sh mysql.chart.sh nginx.chart.sh nut.chart.sh opensips.chart.sh phpfpm.chart.sh postfix.chart.sh sensors.chart.sh squid.chart.sh tomcat.chart.sh '/usr/local/netdata/netdata/usr/libexec/netdata/charts.d'
make[2]: Leaving directory `/root/netdata/charts.d'
make[1]: Leaving directory `/root/netdata/charts.d'
Making install in conf.d
make[1]: Entering directory `/root/netdata/conf.d'
make[2]: Entering directory `/root/netdata/conf.d'
make[2]: Nothing to be done for `install-exec-am'.
 /usr/bin/mkdir -p '/usr/local/netdata/netdata/etc/netdata/charts.d'
 /usr/bin/install -c -m 644 charts.d/apache.conf charts.d/apcupsd.conf charts.d/cpufreq.conf charts.d/exim.conf charts.d/libreswan.conf charts.d/load_average.conf charts.d/mysql.conf charts.d/nut.conf charts.d/phpfpm.conf charts.d/sensors.conf charts.d/tomcat.conf charts.d/ap.conf charts.d/cpu_apps.conf charts.d/example.conf charts.d/hddtemp.conf charts.d/mem_apps.conf charts.d/nginx.conf charts.d/opensips.conf charts.d/postfix.conf charts.d/squid.conf '/usr/local/netdata/netdata/etc/netdata/charts.d'
 /usr/bin/mkdir -p '/usr/local/netdata/netdata/etc/netdata'
 /usr/bin/install -c -m 644 apps_groups.conf charts.d.conf fping.conf node.d.conf python.d.conf health_alarm_notify.conf health_email_recipients.conf stream.conf '/usr/local/netdata/netdata/etc/netdata'
 /usr/bin/mkdir -p '/usr/local/netdata/netdata/etc/netdata/health.d'
 /usr/bin/install -c -m 644 health.d/apache.conf health.d/backend.conf health.d/beanstalkd.conf health.d/bind_rndc.conf health.d/btrfs.conf health.d/ceph.conf health.d/cpu.conf health.d/couchdb.conf health.d/disks.conf health.d/elasticsearch.conf health.d/entropy.conf health.d/fping.conf health.d/fronius.conf health.d/haproxy.conf health.d/httpcheck.conf health.d/ipc.conf health.d/ipfs.conf health.d/ipmi.conf health.d/isc_dhcpd.conf health.d/lighttpd.conf health.d/mdstat.conf health.d/memcached.conf health.d/memory.conf health.d/mongodb.conf health.d/mysql.conf health.d/named.conf health.d/net.conf health.d/netfilter.conf health.d/nginx.conf health.d/nginx_plus.conf health.d/portcheck.conf health.d/postgres.conf health.d/qos.conf health.d/ram.conf health.d/redis.conf health.d/retroshare.conf health.d/softnet.conf health.d/squid.conf health.d/stiebeleltron.conf health.d/swap.conf '/usr/local/netdata/netdata/etc/netdata/health.d'
 /usr/bin/install -c -m 644 health.d/tcp_conn.conf health.d/tcp_listen.conf health.d/tcp_mem.conf health.d/tcp_orphans.conf health.d/tcp_resets.conf health.d/udp_errors.conf health.d/varnish.conf health.d/web_log.conf health.d/zfs.conf '/usr/local/netdata/netdata/etc/netdata/health.d'
 /usr/bin/mkdir -p '/usr/local/netdata/netdata/etc/netdata/node.d'
 /usr/bin/install -c -m 644 node.d/README.md node.d/fronius.conf.md node.d/named.conf.md node.d/sma_webbox.conf.md node.d/snmp.conf.md node.d/stiebeleltron.conf.md '/usr/local/netdata/netdata/etc/netdata/node.d'
 /usr/bin/mkdir -p '/usr/local/netdata/netdata/etc/netdata/python.d'
 /usr/bin/install -c -m 644 python.d/apache.conf python.d/beanstalk.conf python.d/bind_rndc.conf python.d/ceph.conf python.d/chrony.conf python.d/couchdb.conf python.d/cpufreq.conf python.d/dns_query_time.conf python.d/dnsdist.conf python.d/dovecot.conf python.d/elasticsearch.conf python.d/example.conf python.d/exim.conf python.d/fail2ban.conf python.d/freeradius.conf python.d/go_expvar.conf python.d/haproxy.conf python.d/hddtemp.conf python.d/httpcheck.conf python.d/icecast.conf python.d/ipfs.conf python.d/isc_dhcpd.conf python.d/mdstat.conf python.d/memcached.conf python.d/mongodb.conf python.d/mysql.conf python.d/nginx.conf python.d/nginx_plus.conf python.d/nsd.conf python.d/ntpd.conf python.d/ovpn_status_log.conf python.d/phpfpm.conf python.d/portcheck.conf python.d/postfix.conf python.d/postgres.conf python.d/powerdns.conf python.d/rabbitmq.conf python.d/redis.conf python.d/retroshare.conf python.d/samba.conf '/usr/local/netdata/netdata/etc/netdata/python.d'
 /usr/bin/install -c -m 644 python.d/sensors.conf python.d/springboot.conf python.d/squid.conf python.d/smartd_log.conf python.d/tomcat.conf python.d/traefik.conf python.d/varnish.conf python.d/web_log.conf '/usr/local/netdata/netdata/etc/netdata/python.d'
 /usr/bin/mkdir -p '/usr/local/netdata/netdata/etc/netdata/statsd.d'
 /usr/bin/install -c -m 644 statsd.d/example.conf '/usr/local/netdata/netdata/etc/netdata/statsd.d'
make[2]: Leaving directory `/root/netdata/conf.d'
make[1]: Leaving directory `/root/netdata/conf.d'
Making install in diagrams
make[1]: Entering directory `/root/netdata/diagrams'
make[2]: Entering directory `/root/netdata/diagrams'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/netdata/diagrams'
make[1]: Leaving directory `/root/netdata/diagrams'
Making install in makeself
make[1]: Entering directory `/root/netdata/makeself'
make[2]: Entering directory `/root/netdata/makeself'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/netdata/makeself'
make[1]: Leaving directory `/root/netdata/makeself'
Making install in node.d
make[1]: Entering directory `/root/netdata/node.d'
make[2]: Entering directory `/root/netdata/node.d'
make[2]: Nothing to be done for `install-exec-am'.
 /usr/bin/mkdir -p '/usr/local/netdata/netdata/usr/libexec/netdata/node.d'
 /usr/bin/install -c -m 644 README.md named.node.js fronius.node.js sma_webbox.node.js snmp.node.js stiebeleltron.node.js '/usr/local/netdata/netdata/usr/libexec/netdata/node.d'
 /usr/bin/mkdir -p '/usr/local/netdata/netdata/usr/libexec/netdata/node.d/node_modules'
 /usr/bin/install -c -m 644 node_modules/netdata.js node_modules/extend.js node_modules/pixl-xml.js node_modules/net-snmp.js node_modules/asn1-ber.js '/usr/local/netdata/netdata/usr/libexec/netdata/node.d/node_modules'
 /usr/bin/mkdir -p '/usr/local/netdata/netdata/usr/libexec/netdata/node.d/node_modules/lib/ber'
 /usr/bin/install -c -m 644 node_modules/lib/ber/index.js node_modules/lib/ber/errors.js node_modules/lib/ber/reader.js node_modules/lib/ber/types.js node_modules/lib/ber/writer.js '/usr/local/netdata/netdata/usr/libexec/netdata/node.d/node_modules/lib/ber'
make[2]: Leaving directory `/root/netdata/node.d'
make[1]: Leaving directory `/root/netdata/node.d'
Making install in plugins.d
make[1]: Entering directory `/root/netdata/plugins.d'
make[2]: Entering directory `/root/netdata/plugins.d'
make[2]: Nothing to be done for `install-exec-am'.
 /usr/bin/mkdir -p '/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d'
 /usr/bin/install -c -m 644 README.md '/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d'
 /usr/bin/mkdir -p '/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d'
 /usr/bin/install -c alarm-email.sh alarm-notify.sh alarm-test.sh cgroup-name.sh cgroup-network-helper.sh charts.d.dryrun-helper.sh charts.d.plugin fping.plugin node.d.plugin python.d.plugin tc-qos-helper.sh loopsleepms.sh.inc '/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d'
make[2]: Leaving directory `/root/netdata/plugins.d'
make[1]: Leaving directory `/root/netdata/plugins.d'
Making install in python.d
make[1]: Entering directory `/root/netdata/python.d'
make[2]: Entering directory `/root/netdata/python.d'
make[2]: Nothing to be done for `install-exec-am'.
 /usr/bin/mkdir -p '/usr/local/netdata/netdata/usr/libexec/netdata/python.d/python_modules/bases'
 /usr/bin/install -c -m 644 python_modules/bases/__init__.py python_modules/bases/charts.py python_modules/bases/collection.py python_modules/bases/loaders.py python_modules/bases/loggers.py '/usr/local/netdata/netdata/usr/libexec/netdata/python.d/python_modules/bases'
 /usr/bin/mkdir -p '/usr/local/netdata/netdata/usr/libexec/netdata/python.d/python_modules/bases/FrameworkServices'
 /usr/bin/install -c -m 644 python_modules/bases/FrameworkServices/__init__.py python_modules/bases/FrameworkServices/ExecutableService.py python_modules/bases/FrameworkServices/LogService.py python_modules/bases/FrameworkServices/MySQLService.py python_modules/bases/FrameworkServices/SimpleService.py python_modules/bases/FrameworkServices/SocketService.py python_modules/bases/FrameworkServices/UrlService.py '/usr/local/netdata/netdata/usr/libexec/netdata/python.d/python_modules/bases/FrameworkServices'
 /usr/bin/mkdir -p '/usr/local/netdata/netdata/usr/libexec/netdata/python.d'
 /usr/bin/install -c -m 644 README.md apache.chart.py beanstalk.chart.py bind_rndc.chart.py ceph.chart.py chrony.chart.py couchdb.chart.py cpufreq.chart.py cpuidle.chart.py dns_query_time.chart.py dnsdist.chart.py dovecot.chart.py elasticsearch.chart.py example.chart.py exim.chart.py fail2ban.chart.py freeradius.chart.py go_expvar.chart.py haproxy.chart.py hddtemp.chart.py httpcheck.chart.py icecast.chart.py ipfs.chart.py isc_dhcpd.chart.py mdstat.chart.py memcached.chart.py mongodb.chart.py mysql.chart.py nginx.chart.py nginx_plus.chart.py nsd.chart.py ntpd.chart.py ovpn_status_log.chart.py phpfpm.chart.py portcheck.chart.py postfix.chart.py postgres.chart.py powerdns.chart.py rabbitmq.chart.py redis.chart.py '/usr/local/netdata/netdata/usr/libexec/netdata/python.d'
 /usr/bin/install -c -m 644 retroshare.chart.py samba.chart.py sensors.chart.py springboot.chart.py squid.chart.py smartd_log.chart.py tomcat.chart.py traefik.chart.py varnish.chart.py web_log.chart.py '/usr/local/netdata/netdata/usr/libexec/netdata/python.d'
 /usr/bin/mkdir -p '/usr/local/netdata/netdata/usr/libexec/netdata/python.d'
 /usr/bin/install -c python-modules-installer.sh '/usr/local/netdata/netdata/usr/libexec/netdata/python.d'
 /usr/bin/mkdir -p '/usr/local/netdata/netdata/usr/libexec/netdata/python.d/python_modules/urllib3'
 /usr/bin/install -c -m 644 python_modules/urllib3/__init__.py python_modules/urllib3/_collections.py python_modules/urllib3/connection.py python_modules/urllib3/connectionpool.py python_modules/urllib3/exceptions.py python_modules/urllib3/fields.py python_modules/urllib3/filepost.py python_modules/urllib3/response.py python_modules/urllib3/poolmanager.py python_modules/urllib3/request.py '/usr/local/netdata/netdata/usr/libexec/netdata/python.d/python_modules/urllib3'
 /usr/bin/mkdir -p '/usr/local/netdata/netdata/usr/libexec/netdata/python.d/python_modules/urllib3/packages/backports'
 /usr/bin/install -c -m 644 python_modules/urllib3/packages/backports/__init__.py python_modules/urllib3/packages/backports/makefile.py '/usr/local/netdata/netdata/usr/libexec/netdata/python.d/python_modules/urllib3/packages/backports'
 /usr/bin/mkdir -p '/usr/local/netdata/netdata/usr/libexec/netdata/python.d/python_modules/urllib3/contrib'
 /usr/bin/install -c -m 644 python_modules/urllib3/contrib/__init__.py python_modules/urllib3/contrib/appengine.py python_modules/urllib3/contrib/ntlmpool.py python_modules/urllib3/contrib/pyopenssl.py python_modules/urllib3/contrib/securetransport.py python_modules/urllib3/contrib/socks.py '/usr/local/netdata/netdata/usr/libexec/netdata/python.d/python_modules/urllib3/contrib'
 /usr/bin/mkdir -p '/usr/local/netdata/netdata/usr/libexec/netdata/python.d/python_modules/urllib3/packages'
 /usr/bin/install -c -m 644 python_modules/urllib3/packages/__init__.py python_modules/urllib3/packages/ordered_dict.py python_modules/urllib3/packages/six.py '/usr/local/netdata/netdata/usr/libexec/netdata/python.d/python_modules/urllib3/packages'
 /usr/bin/mkdir -p '/usr/local/netdata/netdata/usr/libexec/netdata/python.d/python_modules/urllib3/contrib/_securetransport'
 /usr/bin/install -c -m 644 python_modules/urllib3/contrib/_securetransport/__init__.py python_modules/urllib3/contrib/_securetransport/bindings.py python_modules/urllib3/contrib/_securetransport/low_level.py '/usr/local/netdata/netdata/usr/libexec/netdata/python.d/python_modules/urllib3/contrib/_securetransport'
 /usr/bin/mkdir -p '/usr/local/netdata/netdata/usr/libexec/netdata/python.d/python_modules/urllib3/packages/ssl_match_hostname'
 /usr/bin/install -c -m 644 python_modules/urllib3/packages/ssl_match_hostname/__init__.py python_modules/urllib3/packages/ssl_match_hostname/_implementation.py '/usr/local/netdata/netdata/usr/libexec/netdata/python.d/python_modules/urllib3/packages/ssl_match_hostname'
 /usr/bin/mkdir -p '/usr/local/netdata/netdata/usr/libexec/netdata/python.d/python_modules/urllib3/util'
 /usr/bin/install -c -m 644 python_modules/urllib3/util/__init__.py python_modules/urllib3/util/connection.py python_modules/urllib3/util/request.py python_modules/urllib3/util/response.py python_modules/urllib3/util/retry.py python_modules/urllib3/util/selectors.py python_modules/urllib3/util/ssl_.py python_modules/urllib3/util/timeout.py python_modules/urllib3/util/url.py python_modules/urllib3/util/wait.py '/usr/local/netdata/netdata/usr/libexec/netdata/python.d/python_modules/urllib3/util'
 /usr/bin/mkdir -p '/usr/local/netdata/netdata/usr/libexec/netdata/python.d/python_modules'
 /usr/bin/install -c -m 644 python_modules/__init__.py python_modules/base.py '/usr/local/netdata/netdata/usr/libexec/netdata/python.d/python_modules'
 /usr/bin/mkdir -p '/usr/local/netdata/netdata/usr/libexec/netdata/python.d/python_modules/pyyaml2'
 /usr/bin/install -c -m 644 python_modules/pyyaml2/__init__.py python_modules/pyyaml2/composer.py python_modules/pyyaml2/constructor.py python_modules/pyyaml2/cyaml.py python_modules/pyyaml2/dumper.py python_modules/pyyaml2/emitter.py python_modules/pyyaml2/error.py python_modules/pyyaml2/events.py python_modules/pyyaml2/loader.py python_modules/pyyaml2/nodes.py python_modules/pyyaml2/parser.py python_modules/pyyaml2/reader.py python_modules/pyyaml2/representer.py python_modules/pyyaml2/resolver.py python_modules/pyyaml2/scanner.py python_modules/pyyaml2/serializer.py python_modules/pyyaml2/tokens.py '/usr/local/netdata/netdata/usr/libexec/netdata/python.d/python_modules/pyyaml2'
 /usr/bin/mkdir -p '/usr/local/netdata/netdata/usr/libexec/netdata/python.d/python_modules/pyyaml3'
 /usr/bin/install -c -m 644 python_modules/pyyaml3/__init__.py python_modules/pyyaml3/composer.py python_modules/pyyaml3/constructor.py python_modules/pyyaml3/cyaml.py python_modules/pyyaml3/dumper.py python_modules/pyyaml3/emitter.py python_modules/pyyaml3/error.py python_modules/pyyaml3/events.py python_modules/pyyaml3/loader.py python_modules/pyyaml3/nodes.py python_modules/pyyaml3/parser.py python_modules/pyyaml3/reader.py python_modules/pyyaml3/representer.py python_modules/pyyaml3/resolver.py python_modules/pyyaml3/scanner.py python_modules/pyyaml3/serializer.py python_modules/pyyaml3/tokens.py '/usr/local/netdata/netdata/usr/libexec/netdata/python.d/python_modules/pyyaml3'
 /usr/bin/mkdir -p '/usr/local/netdata/netdata/usr/libexec/netdata/python.d/python_modules/third_party'
 /usr/bin/install -c -m 644 python_modules/third_party/__init__.py python_modules/third_party/ordereddict.py python_modules/third_party/lm_sensors.py '/usr/local/netdata/netdata/usr/libexec/netdata/python.d/python_modules/third_party'
make[2]: Leaving directory `/root/netdata/python.d'
make[1]: Leaving directory `/root/netdata/python.d'
Making install in src
make[1]: Entering directory `/root/netdata/src'
make[2]: Entering directory `/root/netdata/src'
 /usr/bin/mkdir -p '/usr/local/netdata/netdata/usr/sbin'
  /usr/bin/install -c netdata '/usr/local/netdata/netdata/usr/sbin'
 /usr/bin/mkdir -p '/usr/local/netdata/netdata/var/cache/netdata'
 /usr/bin/install -c -m 644 .keep '/usr/local/netdata/netdata/var/cache/netdata'
 /usr/bin/mkdir -p '/usr/local/netdata/netdata/var/log/netdata'
 /usr/bin/install -c -m 644 .keep '/usr/local/netdata/netdata/var/log/netdata'
 /usr/bin/mkdir -p '/usr/local/netdata/netdata/var/lib/netdata/registry'
 /usr/bin/install -c -m 644 .keep '/usr/local/netdata/netdata/var/lib/netdata/registry'
 /usr/bin/mkdir -p '/usr/local/netdata/netdata/var/lib/netdata'
 /usr/bin/install -c -m 644 .keep '/usr/local/netdata/netdata/var/lib/netdata'
 /usr/bin/mkdir -p '/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d'
  /usr/bin/install -c apps.plugin freeipmi.plugin cgroup-network '/usr/local/netdata/netdata/usr/libexec/netdata/plugins.d'
make[2]: Leaving directory `/root/netdata/src'
make[1]: Leaving directory `/root/netdata/src'
Making install in system
make[1]: Entering directory `/root/netdata/system'
make[2]: Entering directory `/root/netdata/system'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/netdata/system'
make[1]: Leaving directory `/root/netdata/system'
Making install in web
make[1]: Entering directory `/root/netdata/web'
if test -d "../.git"; then \
        git --git-dir="../.git" log -n 1 --format=%H; \
fi > version.txt.tmp
test -s version.txt.tmp || echo 0 > version.txt.tmp
mv version.txt.tmp version.txt
make[2]: Entering directory `/root/netdata/web'
make[2]: Nothing to be done for `install-exec-am'.
if test -d "../.git"; then \
        git --git-dir="../.git" log -n 1 --format=%H; \
fi > version.txt.tmp
test -s version.txt.tmp || echo 0 > version.txt.tmp
mv version.txt.tmp version.txt
 /usr/bin/mkdir -p '/usr/local/netdata/netdata/usr/share/netdata/web'
 /usr/bin/install -c -m 644 demo.html demo2.html demosites.html demosites2.html dashboard.html dashboard.js dashboard_info.js dashboard_info_custom_example.js dashboard.css dashboard.slate.css favicon.ico goto-host-from-alarm.html index.html infographic.html netdata-swagger.yaml netdata-swagger.json robots.txt refresh-badges.js registry.html sitemap.xml tv.html version.txt '/usr/local/netdata/netdata/usr/share/netdata/web'
 /usr/bin/mkdir -p '/usr/local/netdata/netdata/usr/share/netdata/web/css'
 /usr/bin/install -c -m 644 css/morris-0.5.1.css css/bootstrap-3.3.7.css css/bootstrap-theme-3.3.7.min.css css/bootstrap-slate-flat-3.3.7.css css/bootstrap-slider-10.0.0.min.css css/bootstrap-toggle-2.2.2.min.css css/c3-0.4.18.min.css '/usr/local/netdata/netdata/usr/share/netdata/web/css'
 /usr/bin/mkdir -p '/usr/local/netdata/netdata/usr/share/netdata/web/.well-known/dnt'
 /usr/bin/install -c -m 644 .well-known/dnt/cookies '/usr/local/netdata/netdata/usr/share/netdata/web/.well-known/dnt'
 /usr/bin/mkdir -p '/usr/local/netdata/netdata/usr/share/netdata/web/fonts'
 /usr/bin/install -c -m 644 fonts/glyphicons-halflings-regular.eot fonts/glyphicons-halflings-regular.svg fonts/glyphicons-halflings-regular.ttf fonts/glyphicons-halflings-regular.woff fonts/glyphicons-halflings-regular.woff2 '/usr/local/netdata/netdata/usr/share/netdata/web/fonts'
 /usr/bin/mkdir -p '/usr/local/netdata/netdata/usr/share/netdata/web/images'
 /usr/bin/install -c -m 644 images/alert-128-orange.png images/alert-128-red.png images/alert-multi-size-orange.ico images/alert-multi-size-red.ico images/animated.gif images/check-mark-2-128-green.png images/check-mark-2-multi-size-green.ico images/post.png images/seo-performance-16.png images/seo-performance-24.png images/seo-performance-32.png images/seo-performance-48.png images/seo-performance-64.png images/seo-performance-72.png images/seo-performance-114.png images/seo-performance-128.png images/seo-performance-256.png images/seo-performance-512.png images/seo-performance-multi-size.ico images/seo-performance-multi-size.icns '/usr/local/netdata/netdata/usr/share/netdata/web/images'
 /usr/bin/mkdir -p '/usr/local/netdata/netdata/usr/share/netdata/web/lib'
 /usr/bin/install -c -m 644 lib/bootstrap-3.3.7.min.js lib/bootstrap-slider-10.0.0.min.js lib/bootstrap-table-1.11.0.min.js lib/bootstrap-table-export-1.11.0.min.js lib/bootstrap-toggle-2.2.2.min.js lib/clipboard-polyfill-be05dad.js lib/c3-0.4.18.min.js lib/d3-4.12.2.min.js lib/d3pie-0.2.1-netdata-3.js lib/dygraph-c91c859.min.js lib/dygraph-smooth-plotter-c91c859.js lib/fontawesome-all-5.0.1.min.js lib/gauge-1.3.2.min.js lib/jquery-2.2.4.min.js lib/jquery.easypiechart-97b5824.min.js lib/jquery.peity-3.2.0.min.js lib/jquery.sparkline-2.1.2.min.js lib/lz-string-1.4.4.min.js lib/morris-0.5.1.min.js lib/pako-1.0.6.min.js lib/perfect-scrollbar-0.6.15.min.js lib/raphael-2.2.4-min.js lib/tableExport-1.6.0.min.js '/usr/local/netdata/netdata/usr/share/netdata/web/lib'
 /usr/bin/mkdir -p '/usr/local/netdata/netdata/usr/share/netdata/web/old'
 /usr/bin/install -c -m 644 old/datasource.html old/index.html old/index.js old/netdata.js old/theme.css '/usr/local/netdata/netdata/usr/share/netdata/web/old'
make[2]: Leaving directory `/root/netdata/web'
make[1]: Leaving directory `/root/netdata/web'
Making install in contrib
make[1]: Entering directory `/root/netdata/contrib'
make[2]: Entering directory `/root/netdata/contrib'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/netdata/contrib'
make[1]: Leaving directory `/root/netdata/contrib'
Making install in tests
make[1]: Entering directory `/root/netdata/tests'
make[2]: Entering directory `/root/netdata/tests'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/netdata/tests'
make[1]: Leaving directory `/root/netdata/tests'
make[1]: Entering directory `/root/netdata'
make[2]: Entering directory `/root/netdata'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/netdata'
make[1]: Leaving directory `/root/netdata'
 OK   

 --- Restore user edited netdata configuration files --- 
[/root/netdata]# cp -a /usr/local/netdata/netdata/etc/netdata/netdata.conf.installer_backup..17939 /usr/local/netdata/netdata/etc/netdata/netdata.conf 
 OK   

[/root/netdata]# rm -f /usr/local/netdata/netdata/etc/netdata/netdata.conf.installer_backup..17939 
 OK   

[/root/netdata]# cp -a /usr/local/netdata/netdata/etc/netdata/python.d/nginx.conf.installer_backup..17939 /usr/local/netdata/netdata/etc/netdata/python.d/nginx.conf 
 OK   

[/root/netdata]# rm -f /usr/local/netdata/netdata/etc/netdata/python.d/nginx.conf.installer_backup..17939 
 OK   

[/root/netdata]# cp -a /usr/local/netdata/netdata/etc/netdata/python.d/phpfpm.conf.installer_backup..17939 /usr/local/netdata/netdata/etc/netdata/python.d/phpfpm.conf 
 OK   

[/root/netdata]# rm -f /usr/local/netdata/netdata/etc/netdata/python.d/phpfpm.conf.installer_backup..17939 
 OK   

[/root/netdata]# cp -a /usr/local/netdata/netdata/etc/netdata/apps_groups.conf.installer_backup..17939 /usr/local/netdata/netdata/etc/netdata/apps_groups.conf 
 OK   

[/root/netdata]# rm -f /usr/local/netdata/netdata/etc/netdata/apps_groups.conf.installer_backup..17939 
 OK   

 --- Fix generated files permissions --- 
[/root/netdata]# find ./system/ -type f -a \! -name \*.in -a \! -name Makefile\* -a \! -name \*.conf -a \! -name \*.service -a \! -name \*.logrotate -exec chmod 755 \{\} \; 
 OK   

 --- Add user netdata to required user groups --- 
Group 'netdata' already exists.
User 'netdata' already exists.
Group 'docker' does not exist.
User 'netdata' is already in group 'nginx'.
Group 'varnish' does not exist.
User 'netdata' is already in group 'haproxy'.
User 'netdata' is already in group 'adm'.
Group 'nsd' does not exist.
Group 'proxy' does not exist.
Group 'squid' does not exist.
Group 'ceph' does not exist.
 --- Install logrotate configuration for netdata --- 
[/root/netdata]# chmod 644 /etc/logrotate.d/netdata 
 OK   

 --- Read installation options from netdata.conf --- 

    Permissions
    - netdata user     : netdata
    - netdata group    : netdata
    - web files user   : netdata
    - web files group  : netdata
    - root user        : root

    Directories
    - netdata conf dir : /usr/local/netdata/netdata/etc/netdata
    - netdata log dir  : /usr/local/netdata/netdata/var/log/netdata
    - netdata run dir  : /usr/local/netdata/netdata/var/run
    - netdata lib dir  : /usr/local/netdata/netdata/var/lib/netdata
    - netdata web dir  : /usr/local/netdata/netdata/usr/share/netdata/web
    - netdata cache dir: /usr/local/netdata/netdata/var/cache/netdata

    Other
    - netdata port     : 19999

 --- Fix permissions of netdata directories (using user 'netdata') --- 
[/root/netdata]# chown -R root:netdata /usr/local/netdata/netdata/etc/netdata 
 OK   

[/root/netdata]# find /usr/local/netdata/netdata/etc/netdata -type f -exec chmod 0640 \{\} \; 
 OK   

[/root/netdata]# find /usr/local/netdata/netdata/etc/netdata -type d -exec chmod 0755 \{\} \; 
 OK   

[/root/netdata]# chown -R netdata:netdata /usr/local/netdata/netdata/usr/share/netdata/web 
 OK   

[/root/netdata]# find /usr/local/netdata/netdata/usr/share/netdata/web -type f -exec chmod 0664 \{\} \; 
 OK   

[/root/netdata]# find /usr/local/netdata/netdata/usr/share/netdata/web -type d -exec chmod 0775 \{\} \; 
 OK   

[/root/netdata]# chown -R netdata:netdata /usr/local/netdata/netdata/var/lib/netdata 
 OK   

[/root/netdata]# chown -R netdata:netdata /usr/local/netdata/netdata/var/cache/netdata 
 OK   

[/root/netdata]# chown -R netdata:netdata /usr/local/netdata/netdata/var/log/netdata 
 OK   

[/root/netdata]# chmod 755 /usr/local/netdata/netdata/var/log/netdata 
 OK   

[/root/netdata]# chown netdata:root /usr/local/netdata/netdata/var/log/netdata 
 OK   

[/root/netdata]# chown -R root /usr/local/netdata/netdata/usr/libexec/netdata 
 OK   

[/root/netdata]# find /usr/local/netdata/netdata/usr/libexec/netdata -type d -exec chmod 0755 \{\} \; 
 OK   

[/root/netdata]# find /usr/local/netdata/netdata/usr/libexec/netdata -type f -exec chmod 0644 \{\} \; 
 OK   

[/root/netdata]# find /usr/local/netdata/netdata/usr/libexec/netdata -type f -a -name \*.plugin -exec chmod 0755 \{\} \; 
 OK   

[/root/netdata]# find /usr/local/netdata/netdata/usr/libexec/netdata -type f -a -name \*.sh -exec chmod 0755 \{\} \; 
 OK   

[/root/netdata]# chown root:netdata /usr/local/netdata/netdata/usr/libexec/netdata/plugins.d/apps.plugin 
 OK   

[/root/netdata]# chmod 0750 /usr/local/netdata/netdata/usr/libexec/netdata/plugins.d/apps.plugin 
 OK   

[/root/netdata]# setcap cap_dac_read_search\,cap_sys_ptrace+ep /usr/local/netdata/netdata/usr/libexec/netdata/plugins.d/apps.plugin 
 OK   

[/root/netdata]# chown root:netdata /usr/local/netdata/netdata/usr/libexec/netdata/plugins.d/freeipmi.plugin 
 OK   

[/root/netdata]# chmod 4750 /usr/local/netdata/netdata/usr/libexec/netdata/plugins.d/freeipmi.plugin 
 OK   

[/root/netdata]# chown root:netdata /usr/local/netdata/netdata/usr/libexec/netdata/plugins.d/cgroup-network 
 OK   

[/root/netdata]# chmod 4750 /usr/local/netdata/netdata/usr/libexec/netdata/plugins.d/cgroup-network 
 OK   

[/root/netdata]# chown root /usr/local/netdata/netdata/usr/libexec/netdata/plugins.d/cgroup-network-helper.sh 
 OK   

[/root/netdata]# chmod 0550 /usr/local/netdata/netdata/usr/libexec/netdata/plugins.d/cgroup-network-helper.sh 
 OK   

[/root/netdata]# chmod a+rX /usr/local/netdata/netdata/usr/libexec 
 OK   

[/root/netdata]# chmod a+rX /usr/local/netdata/netdata/usr/share/netdata 
 OK   

 --- Install netdata at system init --- 
file '/etc/systemd/system/netdata.service' already exists.
 --- Start netdata --- 
[/root/netdata]# /usr/bin/systemctl stop netdata 
 OK   

[/root/netdata]# /usr/bin/systemctl restart netdata 
 OK   

OK. NetData Started!

 --- Check KSM (kernel memory deduper) --- 
 --- Check version.txt --- 
 --- Check apps.plugin --- 
 --- Generate netdata-uninstaller.sh --- 
 --- Basic netdata instructions --- 

netdata by default listens on all IPs on port 19999,
so you can access it with:

  http://this.machine.ip:19999/

To stop netdata run:

  systemctl stop netdata

To start netdata run:

  systemctl start netdata


Uninstall script generated: ./netdata-uninstaller.sh
Update script generated   : ./netdata-updater.sh

netdata-updater.sh can work from cron. It will trigger an email from cron
only if it fails (it does not print anything when it can update netdata).
Run this to automatically check and install netdata updates once per day:

sudo ln -s /root/netdata/netdata-updater.sh /etc/cron.daily/netdata-updater

 --- We are done! --- 

  ^
  |.-.   .-.   .-.   .-.   .-.   .  netdata                          .-.   .-
  |   '-'   '-'   '-'   '-'   '-'   is installed and running now!  -'   '-'  
  +----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+--->

  enjoy real-time performance and health monitoring...

[root@local netdata]#