test snmp
This commit is contained in:
parent
42b1ecf73c
commit
e43d0f2bfb
9
snmpd/Dockerfile
Normal file
9
snmpd/Dockerfile
Normal 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
3
snmpd/README.md
Normal 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
13
snmpd/config.json
Normal 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": {}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user