모니터링/Ntopng

ntopng 서비스 관리 IP 추가하기

bigju 2022. 5. 31. 09:00

 

1. 관리 폴더 생성

 

 cd /etc/ntopng/ //폴더 이동

 mkdir ntopng.conf.d // 폴더 생성
 
 

2. 관리 인터페이스 및 IP 작성

2-1. vi ens33.conf

 --daemon
--community
--data-dir=/home/ntopng
--http-port=3000

--dns-mode=1
--capture-direction=1


--interface=ens33   //서버에 적용된 인터페이스 사용
--local-networks="192.168.127./24,10.10.10.0/32"  // 관리 IP 관리 



#--max-num-hosts | -x <default: 131072>
#--max-num-flows | -S <default: 131072>
--max-num-hosts=150000
--max-num-flows=300000
 
 

3. 권한 설정

 

chown ntopng:ntopng ens33.conf 
 
 

4. 서비스 재시작

 

systemctl restart ntopng.service
 
 

5. 확인

 


 

Big Ju
ntopng 서비스 관리