Development Process
The following steps are required for adding SNMP support to the custom application. These steps are assuming that the application is a Java application and SNMP API library is the FriendlySNMP library.
1. Gather requirements and prepare a list of parameters which the application will present in a MIB browser. Define parameters type: scalar, table or notification. Define parameters access level: read-only or read-write.
2. Develop MIB file with all parameters prepared in a previous step. Validate the MIB file using free online validators:
Using different validators might be beneficial to fix errors. Very often the error message produced by validators makes no sense for not experienced SNMP developer. Running multiple validators will give you different error messages explaining the error in different words. This will help you to understand the error and fix it.
3. Generate Java MIB file using AgenPro tool. See Acronyms section for this tool references. The AgenPro takes MIB file as an input and generates Java MIB file. This Java file depends on SNMP4J library. This Java file could be used in the custom application to access MIB parameters.
4. Generate Java friendly MIB file using FriendlyPro. The FriendlyPro takes Java MIB file generated by AgenPro as an input and generates Java friendly MIB file. This Java friendly MIB file could be used in the custom application to access MIB parameters using friendliness of the FriendlySNMP library.