Sign inSign up

xeemetric/snmp-simulator

By xeemetric

Updated almost 10 years ago

A simple SNMP Simulator driven by agent's snmpwalk

Image
0

10K+

Dockerfile
FROM python:2.7

MAINTAINER Dmitry Korobitsin <https://github.com/korobitsin>

COPY . /tmp/simulator/

RUN set -x \
    && pip install /tmp/simulator \
    && mv /tmp/simulator/tests/cisco_2801.walk / \
    && rm -rf /tmp/simulator

EXPOSE 161/udp

CMD ["snmp-simulator", "-s", "--host", "0.0.0.0", "--port", "161", "--walk_file", "cisco_2801.walk"]