2019. 4. 16. 10:25ㆍ시스템 구조 & 운영체제
https://webprogrammer.tistory.com/2587
[펌]리눅스 SNMP 설정
출처 : http://realforce111.tistory.com/37 리눅스에 SNMP를 설정하는 방법을 알아보겠습니다. # yum list | grep snmp SNMP 패키지 리스트 리스트를 보여 줍니다. # yum -y install net-snmp.x86_64 # yum -y in..
webprogrammer.tistory.com
# yum -y install net-snmp.x86_64
# yum -y install net-snmp-util.x86_64
https://linuxism.ustd.ip.or.kr/2245
linux - SNMP 설정(CentOS 5.6)
1. snmp 설치 - root 계정으로 접속 #yum -y install net-snmp net-snmp-utils snmpd 의 설정파일은 /etc/snmp/snmpd.conf 파일인에, yum 으로 최초로 설치되는 snmpd.conf 파일 안에는 뭔가가 아주 많이 들어 있..
linuxism.ustd.ip.or.kr
snmpd 재시작
# service snmpd restart
다른 방법
#/etc/init.d/snmpd start
방화벽 오픈 및 다른 곳에서 모니터링하기
snmp 는 UDP 161 포트를 사용하고,
snmp trap 은 UDP 162 포트를 사용한다.
iptable 설정(리눅스 방화벽)
#cd /etc/sysconfig
#vi iptables
-A INPUT -P udp --dport 161 -j ACCEPT
#service iptables restart
#netstat -nulp
'시스템 구조 & 운영체제' 카테고리의 다른 글
리눅스 부팅시 텍스트 모드로 전환 / 터미널로 실행 (0) | 2019.04.16 |
---|---|
윈도우 10 공유 폴더 접근 에러 (0) | 2019.04.16 |
centos7 mariadb php 연동 (0) | 2019.04.16 |
리눅스 strace (0) | 2019.04.15 |
리눅스 파일 속성 변경 명령어 chattr (0) | 2019.04.14 |