I have been trying to setup snmp monitoring to virtual machines hosted in oracle cloud. However I cannot seem to actually get any other remote hosts to connect.
This is for an Ubuntu 20.04 instance.
Things I've checked:
- Is 161 udp open on the attached security groups, other ports are also open and working.
- Is 161 open on iptables.
- Can I connect to snmpd locally? Yes I can using the private address from the same instance, but not using the private address from another instance in the same subnet. I cannot have the instance hit itself via the public address. Testing was done with snmpwalk.
- Check that snmpd is listening on 0.0.0.0 and not 127.0.0.1
$ sudo netstat -ulnp | grep 161
udp 0 0 0.0.0.0:161 0.0.0.0:* 876/snmpd
I really am out of ideas here, do they, OCI, just not allow any traffic on 161 udp?