test snmp

This commit is contained in:
Paolo Asperti 2018-11-08 22:46:54 +01:00
parent 42b1ecf73c
commit e43d0f2bfb
3 changed files with 25 additions and 0 deletions

9
snmpd/Dockerfile Normal file
View File

@ -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" ]

3
snmpd/README.md Normal file
View File

@ -0,0 +1,3 @@
## SNMP server
[SNMP](https://en.wikipedia.org/wiki/Simple_Network_Management_Protocol) server for hass.io.

13
snmpd/config.json Normal file
View File

@ -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": {}
}