OpenWRT uses UCI (/etc/config/snmpd) to generate the /etc/snmp/snmpd.conf , so you cannot simply edit this file and restart snmpd.

翻译:

OpenWRT利用UCI(/etc/config/snmpd)去生成snmp的配置文件/etc/snmp/snmpd.conf,因此你不能简单的编辑此文件,需要重启snmpd进程。

重新启动snmpd进程(./etc/init.d/S50snmpd  restart)后,会保存到配置文件/etc/snmp/snmpd.conf中去。

 

转载于:https://www.cnblogs.com/rohens-hbg/p/4987796.html

Logo

昇腾计算产业是基于昇腾系列(HUAWEI Ascend)处理器和基础软件构建的全栈 AI计算基础设施、行业应用及服务,https://devpress.csdn.net/organization/setting/general/146749包括昇腾系列处理器、系列硬件、CANN、AI计算框架、应用使能、开发工具链、管理运维工具、行业应用及服务等全产业链

更多推荐