diff --git a/snmpd/Dockerfile b/snmpd/Dockerfile new file mode 100644 index 0000000..e209f64 --- /dev/null +++ b/snmpd/Dockerfile @@ -0,0 +1,9 @@ +ARG BUILD_FROM +FROM $BUILD_FROM + +ENV LANG C.UTF-8 + +RUN apk add --no-cache net-snmp +RUN sed -i 's/^agentAddress.*/agentAddress udp:161/' /etc/snmp/snmpd.conf + +CMD [ "/usr/sbin/snmpd -fD" ] diff --git a/snmpd/README.md b/snmpd/README.md new file mode 100644 index 0000000..51f36cb --- /dev/null +++ b/snmpd/README.md @@ -0,0 +1,3 @@ +## SNMP server + +[SNMP](https://en.wikipedia.org/wiki/Simple_Network_Management_Protocol) server for hass.io. diff --git a/snmpd/config.json b/snmpd/config.json new file mode 100644 index 0000000..6ee3169 --- /dev/null +++ b/snmpd/config.json @@ -0,0 +1,13 @@ +{ + "name": "SNMP", + "version": "0.1.0", + "slug": "snmpd", + "description": "SNMP server", + "startup": "before", + "boot": "auto", + "ports": { + "161/udp": 161 + }, + "options": {}, + "schema": {} +} \ No newline at end of file