The small container image is designed specifically for testing SNMP connections.
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!
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!
| Variable | Options | Default |
|---|---|---|
| SNMP_COMMUNITY | -- | public |
| SNMP_LOCATION | -- | -- |
| SNMP_CONTACT | -- | -- |
| 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 | -- | -- |
If SNMP_LOCATION or SNMP_CONTACT are not set, they may be writable.
Run:
docker run -d --rm --name snmpd -p 5161:161/udp testainers/snmpd-container:latestTest:
snmpwalk -v2c -c public 127.0.0.1:5161 .Build:
docker build . --no-cache -t snmpd-containerRun:
docker run -d --rm --name snmpd -p 5161:161/udp \
-e SNMP_V3_USER_TYPE=rwuser \
-e SNMP_V3_USER=testainers \
-e SNMP_V3_AUTH_PWD=authpass \
-e SNMP_V3_PRIV_PWD=privpass \
snmpd-containerTest:
snmpwalk -v3 -On -u testainers -l authPriv \
-a SHA -A authpass \
-x AES -X privpass \
localhost:5161 .1.3.6.1.2.1.1snmpset -v3 -u testainers -l authPriv \
-a SHA -A authpass \
-x AES -X privpass \
localhost:5161 .1.3.6.1.2.1.1.4.0 s "admin@testainers.com"snmpget -v3 -u testainers -l authPriv \
-a SHA -A authpass \
-x AES -X privpass \
localhost:5161 .1.3.6.1.2.1.1.4.0Access:
docker exec -it snmpd sh
