View the Project on GitHub 1and1/snmpman

SNMPMAN

The SNMPMAN is a command-line application that simulates SNMP-capable devices and was developed to be usable within Unit-Tests. It may be used to test traffic monitoring applications that execute SNMP queries. Due to to the lack of flexibility in already existing alternatives, it was developed by the 1&1 Internet AG to offer a flexible and extendable alternative. Development of SNMPMAN is ongoing and its features will be enhanced over time.

Multiple SNMP agents may be started at once and will run in parallel. These agents will return the data as specified in a textual walk file. This file may be created by querying a real device. It is also possible to define and query multiple device types at once. This device type configuration may contain policies on how to dynamically change the query responses. E.g. the response of an ifInOctets may be incremented with each query to simulate traffic. Several variable modifiers are already in existence for different data types.

Also checkout the SNMPMAN GitHub IO page here!

Installation

Prerequisites

Execution

To execute an instance of the SNMPMAN you have to start the execution script and specify a value for the -c or --configuration option that lists the path to the configuration YAML file that will loaded during execution.

Configuration

The SNMPMAN can be configured in two main YAML files ...

You can find some YAML example configuration files within the test resources of this project in the directory

../src/test/resources/configuration

The third component of the configuration are the walk files for the agents as specified in the agent configuration.

This is a basic overview and more information will be provided on the projects Wiki pages.

Contributing

To contribute, use the GitHub way - fork, hack, and submit a pull request!