ASterisk with SNMP support

hallo,

I have read a lot about SNMP support for Asterisk.
How should I configure it? simply enable in res_snmp.conf?
how does it function? what features does this functionality have?
I’d like to use this feature for NAGIOS.

I 'll be grateful for any tip.

warm regard
Yelena