Linux系统下开启SNMP-202304
systemctl stop firewalld.servicesystemctl status firewalld.servicesystemctl disable firewalld.service————————————————2、安装net-snmp(这里使用CentOS的yum命令在线安装)yum -y install net-snmpchkconfig snmpd on #设置开机启动service snmpd start #启动snmpd————————————————service snmpd restart #重启snmpnetstat -nlup |grep ":161" #检查snmp服务器是否运行,出现下面输出结果,说明snmp运行正常
页:
[1]