Both open-source firewall platforms bundle Net-SNMP and expose the same toggle under Services in their web UI.
In the web UI, go to Services > SNMP and check Enable to start the daemon; both platforms use this same menu structure.
Change the community string from the default before saving, especially if the firewall's management interface is reachable from more than a single trusted host.
Both platforms report standard interface and system health through Net-SNMP's core MIBs, plus pfSense/OPNsense-specific state table and firewall rule-hit counters.