THIS WILL BE ONE OF THE LAST RELEASES OF THE MIBS FOR NET-SNMP.
During the OpenBSD 5.1 development cycle, I committed the CARP MIB to the base OpenBSD snmpd. The kernel sensor MIB has been in the base snmpd for a few releases now. That leaves the pf MIB which was committed to 5.1-current some weeks ago and will be present in the 5.2 release.
So, you've got a few options.
- Want to still run Net-SNMP with the extra MIBS? Go to the SNMP MIBs page and follow the directions. No change from previous versions. However, make plans to migrate away from Net-SNMP for OpenBSD 5.2.
- Only use the CARP or kernel sensors MIB? Use the base snmpd(8). There's no configuration necessary, just run the daemon. The MIB files are in /usr/share/snmp/mibs/ (The pf MIB file is present there, but the implementation is not part of snmpd(8) in 5.1). You should also read my guide on what's changed between the Net-SNMP and snmpd(8) implementations of the MIBs.
- Want to use the base snmpd(8) but still have a requirement for Net-SNMP? See my blog post on using both together.