티스토리 뷰
반응형
# snmp 목록 확인
yum list | grep snmp
# snmp 설치
sudo yum -y install net-snmp.x86_64
sudo yum -y install net-snmp-utils.x86_64
# 설정
sudo vim /etc/snmp/snmpd.conf
# restart
service snmpd restart
# 상태 확인
netstat -na | grep udp
# snmp 통신 체크
snmpwalk -v 2c -c public localhost system
snmpwalk -v [securityModel] -c [community] [ip] [oid]
# 부팅시에도 활성화
systemctl enable snmpd
# oid - https://oidref.com/1.3.6.1.2.1.1.9.1.3
1.3.6.1.2.1.1.9.1.3
iso(1) identified-organization(3) dod(6) internet(1) mgmt(2) mib-2(1) system(1) sysORTable(9) sysOREntry(1) sysORDescr(3)
반응형
'개발 이야기' 카테고리의 다른 글
CentOS에 Redis 설치 (0) | 2021.05.25 |
---|---|
docker error iptables: No chain/target/match by that name. (0) | 2021.05.25 |
centos > docker > mariadb 설치 (0) | 2021.05.18 |
nohup [프로세스] 1>/dev/null 2>&1 & (0) | 2021.05.11 |
delphi indy ftp + ssl option (0) | 2020.06.04 |
댓글