To disable SNMP on a CSN (prevent it from responding to SNMP requests), follow this process:
Comment out these three lines in this file:
/etc/monit.d/caringo-csn.monitrc
check process snmpd with pidfile "/var/run/snmpd.pid" start program = "/etc/init.d/snmpd start" stop program = "/etc/init.d/snmpd stop"
Turn off the
snmpd
process:chkconfig snmpd off
- Reboot the CSN.
After the reboot finishes, verify that port 161 is not listening.
netstat -an | grep 161
Note
Please be aware that this does not disable SNMP on the storage nodes themselves. This is specifically to stop responding to SNMP requests made to the CSN.