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

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sfuhrm authored Jan 9, 2024
1 parent 28ecc2c commit 66afd25
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,12 @@ There's an experimental docker image available that can be used to simulate SNMP
Available configuration options:

* `SNMPMAN_CONFIG`: The location of the default configuration can be changed using the env var `SNMPMAN_CONFIG`, it defaults to a
sample config at `/snmpman/etc/configuration.yaml`.
sample config at `/snmpman/etc/configuration.yaml` if you're not specifying thie config file. Instead of providing a
full-blown config, you can also let the docker entrypoint create a config for you with the following
env vars.
* `SNMPMAN_PORT`: The UDP port to bind to, from the perspective of the docker container. Only gets written if `SNMPMAN_CONFIG` is not set.
* `SNMPMAN_COMMUNITY`: The SNMP community to use for authentication. Only gets written if `SNMPMAN_CONFIG` is not set.
* `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.

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

Expand Down

0 comments on commit 66afd25

Please sign in to comment.