SNMPv3开发--简单使用
SNMPv3开发–简单使用
REF: https://blog.csdn.net/yyw794/article/details/78091545
区别
REF:https://developer.aliyun.com/article/1446192
源码获取
REF:https://www.net-snmp.org/download.html
wget https://downloads.sourceforge.net/project/net-snmp/net-snmp/$(NET_SNMP_VER)/net-snmp-$(NET_SNMP_VER).tar.gz
编译选项
REF:http://blog.chinaunix.net/uid-9255716-id-133545.html
基础命令
REF:https://docs.oracle.com/cd/E75432_01/html/E71066/snmpcmd-1.html#scrolltoc
基础配置:
cat /etc/snmp/snmpd.conf
syslocation "CSDN"
syscontact Admin <admin@example.com>
sysservices 72rocommunity public 127.0.0.1createUser v3user SHA "AuthPass123" AES "PrivPass123"
rouser v3user authPriv .1.3.6.1.2.1.1 #只读权限,无法访问相关标准节点
测试
可以采取iReasoning MIB Browser专业版本(可以试用一个月)