ModSnmp Manual v3.15 - 1.4. Quick setup guide
To configure ModSnmp, you must perform at least the following steps:
Modbus Interface. Configure the Modbus interface(s) to be used to communicate with the Modbus device(s) (see Section 4, “Modbus Interfaces”).
Device Type. Configure the type(s) of Modbus device to be used (see Section 5, “Device Types” and Section 6, “Object Types”).
Device. Define the Modbus device(s) to be used (see Section 7, “Devices”).
MIB File. Generate an MIB file and load it into the SNMP manager (see Section 10, “MIB File”).
You may also want to change some of the following settings:
SNMP User. As is conventional for SNMP agents, ModSnmp is configured by default to use 'public' as the user-name/community-string that it accepts in requests from SNMP managers. For security reasons, you should delete the 'public' user and use less well-known user names. (see Section 3, “SNMP Users”).
Logging. You will probably want to send log output to a file instead of the terminal (see Section 11, “Logging”).
Tracing. Once you have dealt with any configuration problems, you may want to disable tracing of SNMP and Modbus messages (see Section 12, “Tracing”);
SNMP Interface. ModSnmp can receive SNMP requests on alternative or additional interfaces (see Section 2, “SNMP Interfaces”).
Constant OIDs. These may be used to provide fixed system identification to the SNMP manager (see Section 8, “Constant OID Settings”).
MIB Settings. You can modify some of the header information in the MIB file (see Section 10, “MIB File”). You may need to do this if you are running more than instance of ModSnmp.
Click the Run button to start ModSnmp listening for and processing SNMP requests. Click the Run button again if you want to stop ModSnmp.