server netdata 이용한 centos 모니터링

2020.01.25 16:58

엘카 조회 수:2305

bash

bash <(curl -Ss https://my-netdata.io/kickstart.sh)

 

 

 

vi /etc/httpd/conf/httpd.conf

<VirtualHost *:80>

    RewriteEngine On

    ProxyRequests Off

    ProxyPreserveHost On

 

    ServerName ?

 

    <Proxy *>

        Require all granted

    </Proxy>

 

    ProxyPass "/" "http://localhost:19999/" connectiontimeout=5 timeout=30 keepalive=on

    ProxyPassReverse "/" "http://localhost:19999/"

 

    #ErrorLog ${APACHE_LOG_DIR}/netdata-error.log

    #CustomLog ${APACHE_LOG_DIR}/netdata-access.log combined

</VirtualHost>

 

 

 

 

 

https://docs.netdata.cloud/docs/running-behind-apache/

vi /etc/netdata/netdata.conf

[web]

    enable gzip compression = no

    bind to = 127.0.0.1

[global]

    access log = none