Build instructions:
-
verify that both java and maven are installed on your system and set up correctly (
java --versionandmvn --versionwill check for them respectively) -
run the command
mvn package(in the top level directory containing the file pom.xml and the src folder) on the command line to create the executable jar filesnmp-prefix-matcher-1.0-SNAPSHOT-jar-with-dependencies.jarin the target folder -
If you want to add or remove trap-type-oid prefixes you must edit the file
snmp.ymlinsrc/main/resources/save the changes made and re-run themvn packagecommand
Run instructions:
- in the target folder run the command
java -jar snmp-prefix-matcher-1.0-SNAPSHOT-jar-with-dependencies.jarthis will start the application - to exit the program simply enter "exit" into the console.