I've been given the task of taking various status bits from an embedded RF device and asked to turn them into SNMP Traps. I have the SNMP library but I lack the knowledge on where to get or create the OIDs. Here's an snmptrap as a point of reference:
snmptrap -v 2c -c public 192.168.1.1:162 \ .188.8.131.52.184.108.40.206.5.3 .220.127.116.11.18.104.22.168.5.3 \ ifIndex i 2 ifAdminStatus i 1 ifOperStatus i 1
Normally I'm on the receiving end of these traps and rely on the manufacturer-provided MIBs. So I'd get .22.214.171.124.126.96.36.199.5.3 from the MIB file and add the necessary parameters to send. Now, I think I'm the guy creating the MIBs. How do I go about doing this?