Documentation

SNMP Cisco IOS Howto

Enabling SNMP on Cisco IOS

conf t
access-list 20 permit <observer.ip>
access-list 20 permit <another.ip>
snmp-server community <community-string> RW 20
end
wr

Change the access list number (in this example 20) to something else if you're already using 20.