1.
comment 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
...
Code Block
...
language java
...
check process snmpd with pidfile "/var/run/snmpd.pid"
...
start program = "/etc/init.d/snmpd start"
...
stop program = "/etc/init.d/snmpd stop"
...
{code}
...
Turn off the
snmpd
process:
...
Code Block
...
language java
...
chkconfig snmpd off
...
- Reboot the CSN
...
- .
After the reboot finishes, verify that port 161
...
is not listening.
Code Block language java netstat -an | grep 161
Info | ||
---|---|---|
| ||
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. |
...