You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 21, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,7 +87,12 @@ There's an experimental docker image available that can be used to simulate SNMP
87
87
Available configuration options:
88
88
89
89
*`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.
91
96
92
97
Sample call mounting a walk inside the container and binding the container towards the standard SNMP port 161:
0 commit comments