Wingpath to cease trading on 25 October 2025
From 25 October 2025 we will no longer be selling licences for our software products (ModSnmp, ModMultiSim, Modsak, ModSlaveSim, ModMaster and ModTest).
The website will remain operational until at least 2027 for reference purposes, and for the registration and transfer of product licences.
ModSnmp Manual v3.15 - 13.1. Command line options
ModSnmp can be passed the name of a settings file on the command line. For example:
java -jar modsnmp3.15.jar config.xml
This is optional when running interactively, but is required when running as a server.
To get ModSnmp to "run" automatically (i.e. connect to the Modbus devices and listen for SNMP requests), pass the -auto option on the command line:
java -jar modsnmp3.15.jar -auto config.xml
Note that the -auto option must come
after
modsnmp3.15.jar
.
To run ModSnmp without a GUI, pass the -nogui option on the command line. The -nogui option implies -auto, so the command normally used to run ModSnmp as a server looks like:
java -jar modsnmp3.15.jar -nogui config.xml
Note that the -nogui option must come
after
modsnmp3.15.jar
.
When ModSnmp is started with the -auto or -nogui option, it will automatically start listening for SNMP requests and also attempt to connect to the Modbus devices. If a non-fatal error occurs when attempting to connect a Modbus device (or if the connection is lost), ModSnmp will periodically try again to connect.