"/etc/snmp/snmpd.conf" on cumulus 3.4.x should not be edit?


root@virtswitch1:~# cat /etc/os-release
NAME="Cumulus Linux"
VERSION_ID=3.4.1
VERSION="Cumulus Linux 3.4.1"
PRETTY_NAME="Cumulus Linux"
ID=cumulus-linux
ID_LIKE=debian
CPE_NAME=cpe:/o:cumulusnetworks:cumulus_linux:3.4.1
HOME_URL="http://www.cumulusnetworks.com/";
SUPPORT_URL="http://support.cumulusnetworks.com/";

root@virtswitch1:~# cat /etc/snmp/snmpd.conf
#### Auto-generated config file: do not edit. ####
agentAddress 127.0.0.1
agentxperms 777 777 snmp snmp
agentxsocket /var/agentx/master
createUser _snmptrapusernameX
iquerySecName _snmptrapusernameX
master agentx
monitor -r 60 -o laNames -o laErrMessage "laTable" laErrorFlag != 0
pass -p 10 1.3.6.1.2.1.1.1 /usr/share/snmp/sysDescr_pass.py
pass_persist 1.2.840.10006.300.43 /usr/share/snmp/ieee8023_lag_pp.py
pass_persist 1.3.6.1.2.1.17 /usr/share/snmp/bridge_pp.py
pass_persist 1.3.6.1.2.1.31.1.1.1.18 /usr/share/snmp/snmpifAlias_pp.py
pass_persist 1.3.6.1.2.1.47 /usr/share/snmp/entity_pp.py
pass_persist 1.3.6.1.2.1.99 /usr/share/snmp/entity_sensor_pp.py
pass_persist 1.3.6.1.4.1.40310.1 /usr/share/snmp/resq_pp.py
pass_persist 1.3.6.1.4.1.40310.2 /usr/share/snmp/cl_drop_cntrs_pp.py
rouser _snmptrapusernameX
sysObjectID 1.3.6.1.4.1.40310
sysServices 72

The head of the /etc/snmp/snmpd.conf shows "#### Auto-generated config file: do not edit. ####", so what is the recommended way to modify snmpd configuration? NCLU?

1 reply

Userlevel 3
Yes, NCLU would be the best way. You can read about how to do so in the user guide.

Reply