Skip to content

testainers/snmpd-container

Repository files navigation

Testainers snmpd-container

Build With Love Version Licence Build

The small container image is designed specifically for testing SNMP connections.

Funding

Your contribution will help drive the development of quality tools for the Flutter and Dart developer community. Any amount will be appreciated. Thank you for your continued support!

BuyMeACoffee

PIX

Sua contribuição ajudará a impulsionar o desenvolvimento de ferramentas de para a co munidade de desenvolvedores Flutter e Dart. Qualquer quantia será apreciada. Obrigado pelo seu apoio contínuo!

PIX


Environment Variables

Variable Options Default
SNMP_COMMUNITY -- public
SNMP_LOCATION -- At flying circus
SNMP_CONTACT -- Testainers [email protected]
SNMP_SERVICES -- 72
SNMP_V3_USER -- --
SNMP_V3_USER_TYPE rouser - rwuser rouser
SNMP_V3_AUTH_PROTOCOL MD5 - SHA SHA
SNMP_V3_AUTH_PWD -- --
SNMP_V3_PRIV_PROTOCOL DES - AES AES
SNMP_V3_PRIV_PWD -- --

How to Use

Only SNMPv2c

Run:

docker run -d --rm --name snmpd -p 5161:161/udp testainers/snmpd-container:latest

Test:

snmpwalk -v2c -c public 127.0.0.1:5161 .

Local Image Build

Build:

docker build . --no-cache -t snmpd-container

Run:

docker run -d --rm --name snmpd -p 5161:161/udp snmpd-container

Access:

docker exec -it snmpd sh