변군이글루
[VMware] ESXi 7.x에서 SNMP 활성화 본문
ESXi 7.x에서 SNMP 활성화
SNMP 현재 설정 확인
[root@esxi-111:~] esxcli system snmp get
Authentication:
Communities:
Enable: false
Engineid:
Hwsrc: indications
Largestorage: true
Loglevel: warning
Notraps:
Port: 161
Privacy:
Remoteusers:
Syscontact:
Syslocation:
Targets:
Users:
V3targets:
SNMP 공장 초기화
[root@esxi-111:~] esxcli system snmp set -r
SNMP 설정
[root@esxi-111:~] esxcli system snmp set -c communityname123!@#
[root@esxi-111:~] esxcli system snmp set -p 161
[root@esxi-111:~] esxcli system snmp set -L "aws ap-northeast-2(seoul) regions"
[root@esxi-111:~] esxcli system snmp set -C admin@email.com
SNMP 서비스 시작
[root@esxi-111:~] esxcli system snmp set -e yes
snmp 호출 테스트(for zabbix)
$ snmpwalk -v2c -c communityname123!@# 111.111.111.111 system.sysObjectID.0
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.6876.4.1
$ snmpwalk -v2c -c communityname123!@# 111.111.111.111 system
$ snmpwalk -v2c -c communityname123!@# 111.111.111.111
'* 리눅스' 카테고리의 다른 글
[zabbix] Zabbix Message template 변경 (0) | 2021.02.10 |
---|---|
[VMware] ESXi 7.x에서 호스트 서버 시간 설정 (0) | 2021.02.04 |
[VMware] ESXi 7.x에서 SNMP 활성화 (0) | 2021.02.04 |
[Ubuntu] 우분투 기본 에디터 변경하기 (0) | 2021.02.01 |
[명령어] history 명령어 (1) | 2021.01.28 |
[GIT] 깃 태그(git tag) 생성, 삭제 (0) | 2021.01.27 |