SNAMP represents a protocol bridge between manageable IT resources with different monitoring&management protocols and your monitoring&management software. SNAMP can help you to reduce the management costs for the complex IT infrastructure.


  • CPU Arch: x86/x64 (ARM is untested)
  • Runtime: Java SE 8 or higher (Oracle HotSpot or OpenJDK is recommended but not required)
  • OS: Ubuntu (Server) 12.04 or higher, Windows 7/8/10, Windows Server 2003/2012, RedHat, OpenSUSE, CentOS
  • RAM: 2Gb or higher

For developers

  • Maven
  • JDK 8 or higher (Oracle HotSpot or OpenJDK is recommended but not required)

How to build

First, you should build SNAMP using Development profile. After, you can switch to Release profile and build SNAMP Distribution Package.

Third-party repositories

SNAMP uses the following third-party repositories:

You can do this automatically using maven utility or IDE. Generally, you need to pass

-Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true -Djsse.enableSNIExtension=false

to the maven process when first importing the project.

If you use IntelliJ IDEA 15/2016/2017 as IDE - follow the instructions:

  1. Open File -> Settings menu
  2. Find Build, Execution, Deployment -> Build Tools -> Maven -> Runner
  3. Paste JVM args described above into VM Options text box
  4. Go to Maven Projects tab
  5. Select snamp module
  6. Execute clean action
  7. Execute validate action

Note: Please verify that IntelliJ IDEA correctly recognized Maven Home (M2_HOME environment variable)

Also, you can do this without IDE with the following command:

cd <snamp-project-dir>/third-party-libs/bundlized/snmp4j
export MAVEN_OPTS="-Xmx512m -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true -Djsse.enableSNIExtension=false"
mvn clean package

Running tests

SNAMP project contains two category of tests:

  • Unit tests located in their bundles and running at test phase
  • Integration tests located in module osgi-tests

It is necessary to install all OSGi bundles into local Maven repository before running integration tests. Therefore, integration tests can be executed at site build phase of osgi-tests project


SNAM project provides the following Maven profiles:

  • Development profile disables all unit and integrations tests in the project
  • Release profile enables to assembly final SNAMP Distribution package on top of Apache Karaf container
  • Remote Debug enables breakpoints for debug session in integration tests
  • Webconsole live test for testing SNAMP Web Console from IDE (see WebConsoleTest)


To enable integration tests with OpenStack you should install DevStack on virtual machine:

  • Install DevStack
  • su - stack
  • cd devstack
  • source openrc
  • cd ..
  • Create key pair named snamp-key in OpenStack Horizon (Compute tab) using username demo and password secret
  • Test profile for Senlin (in file cirros-cluster-profile.yaml):
type: os.nova.server
version: 1.0
  name: cirros_server
  flavor: 1
  image: "cirros-0.3.5-x86_64-disk"
  key_name: snamp-key
   - network: private
    test_key: test_value
  user_data: |
    echo 'hello, world' > /tmp/test_file
  • openstack cluster profile create --spec-file cirros-cluster-profile.yaml ProfileForTests
  • Back to Horizon and create cluster using this profile