O/S : Ubuntu 18.04.2
1. 라이브러리 설치
1 2 3 |
xinet@xinet:~$ sudo apt-get install autoconf autoconf-archive autogen automake \ cmake libelf-dev libjson-c-dev libjudy-dev liblz4-dev libmnl-dev libssl-dev \ libuv1-dev pkg-config python3-pymongo uuid-dev zlib1g-dev |
2. netdata 다운로드 및 설치 진행
1 2 3 4 5 6 7 |
xinet@xinet:~$ wget https://github.com/netdata/netdata/releases/download/v1.30.0/netdata-v1.30.0.tar.gz xinet@xinet:~$ tar xvfz netdata-v1.30.0.tar.gz xinet@xinet:~$ cd netdata-v1.30.0/ xinet@xinet:~/netdata-v1.30.0$ sudo bash netdata-installer.sh |
3. nvidia 모니터링 할수 있게 config 수정
1 2 3 4 5 6 |
xinet@xinet:~/netdata-v1.30.0$ cd /etc/netdata/ xinet@xinet:/etc/netdata$ sudo ./edit-config python.d.conf ### 주석해제 nvidia_smi: yes |
4. nvidia 모니터링 주기 설정
1 2 3 4 5 |
xinet@xinet:/etc/netdata$ sudo ./edit-config python.d/nvidia_smi.conf loop_mode: yes poll_seconds: 1 |
5. 서비스 시작
1 2 3 4 5 6 7 |
xinet@xinet:/etc/netdata$ systemctl restart netdata ==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units === Authentication is required to restart 'netdata.service'. Authenticating as: xinet Password: ==== AUTHENTICATION COMPLETE === xinet@xinet:/etc/netdata$ |
6. 방화벽에서 19999 포트 허용