File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
snmp-exporter-config-generator Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,12 @@ RUN git init && \
23
23
24
24
RUN file-rename -- 's/\. my$//' v2/*.my
25
25
26
+ WORKDIR /build/generator/juniper
27
+ RUN curl -LO 'https://www.juniper.net/documentation/software/junos/junos194/juniper-mibs-19.4R3.11.tgz' && \
28
+ tar xf juniper-mibs-*.tgz
29
+
30
+ RUN file-rename -- 's/\. txt$//' JuniperMibs/*.txt
31
+
26
32
FROM public.ecr.aws/ubuntu/ubuntu:jammy
27
33
28
34
RUN apt-get update -qq && \
@@ -32,6 +38,7 @@ RUN apt-get update -qq && \
32
38
COPY --from=build /build/generator/generator /opt/snmp-exporter/bin/
33
39
COPY --from=build /build/generator/mibs/ /usr/share/snmp/mibs/
34
40
COPY --from=build /build/generator/cisco/v2/ /usr/share/snmp/mibs/
41
+ COPY --from=build /build/generator/juniper/JuniperMibs/ /usr/share/snmp/mibs/
35
42
COPY --from=build /usr/share/snmp/mibs/ /usr/share/snmp/mibs/
36
43
COPY --from=build /var/lib/mibs/ /var/lib/mibs/
37
44
You can’t perform that action at this time.
0 commit comments