Use Cisco MIB to fetch CPU and Memory using Logstash

Seems your configuration is correct..
Please check the connection using snmpget from logstash machine...
Or there are some firewall rules to prevent the logstash IP to connect to the routers.
Or just use nc to check the port

nc -vvvv -u <cisco_router_ip> 161