Add test for snmp v2 traps
This commit is contained in:
parent
48a15a87f1
commit
7d70325125
2 changed files with 160 additions and 0 deletions
|
|
@ -150,6 +150,8 @@ RUN echo "agentaddress 127.0.0.1" >> /etc/snmp/snmpd.conf
|
|||
RUN echo "rwcommunity public localhost" >> /etc/snmp/snmpd.conf
|
||||
RUN echo "agentxsocket unix:/var/run/snmp.sock" >> /etc/snmp/snmpd.conf
|
||||
RUN echo "agentxperms 777 777" >> /etc/snmp/snmpd.conf
|
||||
RUN echo "trap2sink localhost public 162" >> /etc/snmp/snmpd.conf
|
||||
RUN echo "disableAuthorization yes" >> /etc/snmp/snmptrapd.conf
|
||||
|
||||
# Dont need to expose restconf ports for internal tests
|
||||
#EXPOSE 80/tcp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue