Skip to content
This repository was archived by the owner on Jun 21, 2024. It is now read-only.

Commit 66afd25

Browse files
authored
Update README.md
1 parent 28ecc2c commit 66afd25

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,12 @@ There's an experimental docker image available that can be used to simulate SNMP
8787
Available configuration options:
8888

8989
* `SNMPMAN_CONFIG`: The location of the default configuration can be changed using the env var `SNMPMAN_CONFIG`, it defaults to a
90-
sample config at `/snmpman/etc/configuration.yaml`.
90+
sample config at `/snmpman/etc/configuration.yaml` if you're not specifying thie config file. Instead of providing a
91+
full-blown config, you can also let the docker entrypoint create a config for you with the following
92+
env vars.
93+
* `SNMPMAN_PORT`: The UDP port to bind to, from the perspective of the docker container. Only gets written if `SNMPMAN_CONFIG` is not set.
94+
* `SNMPMAN_COMMUNITY`: The SNMP community to use for authentication. Only gets written if `SNMPMAN_CONFIG` is not set.
95+
* `SNMPMAN_WALK`: The location of the SNMP walk to provide via SNMP in the docker container filesystem (can be bind-mounted as a volume into the container). Only gets written if `SNMPMAN_CONFIG` is not set.
9196

9297
Sample call mounting a walk inside the container and binding the container towards the standard SNMP port 161:
9398

0 commit comments

Comments
 (0)