Add custom mib support
Add mibs to the docker container using -v /my/mib/dir:/mibs This is a bit untested...so we'll see how it goes.
This commit is contained in:
parent
fe74b228ce
commit
37a28b100b
@ -6,4 +6,6 @@ RUN echo 'disableAuthorization yes' > /etc/snmp/snmptrapd.conf
|
||||
|
||||
EXPOSE 162
|
||||
|
||||
CMD ["snmptrapd","-L","o","-f"]
|
||||
VOLUME ["/mibs"]
|
||||
|
||||
CMD ["snmptrapd","-L","o","-f","-M","/mibs"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user