Nagios and snmp

Hello,
i’d like to install snmp on linux and windows vista machines How can i do it?
Then i’d like to forward the traps to nagios. Is it possible and how to do?
Where can i find a doc please

Many thanks and regards
Thierry