An SNMP agent answers queries on port 161/UDP; traps go to 162/UDP. Routers, switches, printers, UPS units and servers report values such as load, interface counters and system description to Zabbix, LibreNMS or Nagios this way. SNMPv1 and v2c are protected only by a community string (common default: public) sent in cleartext; SNMPv3 adds authentication and encryption.
Do not open it to the internet. Allow only the monitoring server's IP, change community strings or better use SNMPv3, and disable write access. With Net-SNMP, agentaddress udp:127.0.0.1:161 binds the service to localhost. Open SNMP agents are abused for reflection attacks.
Typical: monitoring shows "timeout" because UDP 161 is filtered or the community string is wrong. Since UDP has no connection handshake, only a real SNMP query gives a reliable result.
Check
snmpget -v2c -c public router.example.com 1.3.6.1.2.1.1.1.0