Browse Source

added snmp support

tags/v1.2.1^0
Robin Thoni 6 years ago
parent
commit
3a5ed3f588
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      zabbix/Dockerfile

+ 3
- 1
zabbix/Dockerfile View File

@@ -8,11 +8,13 @@ RUN apt-get update && apt-get -y install\
8 8
 
9 9
 ARG ZABBIX_VERSION=3.4
10 10
 
11
+RUN sed -i 's/main/main non-free/' /etc/apt/sources.list
12
+
11 13
 RUN wget http://repo.zabbix.com/zabbix/${ZABBIX_VERSION}/debian/pool/main/z/zabbix-release/zabbix-release_${ZABBIX_VERSION}-1+jessie_all.deb -O /tmp/zabbix.deb &&\
12 14
     dpkg -i /tmp/zabbix.deb
13 15
 
14 16
 RUN apt-get update && apt-get -y install\
15
-        zabbix-server-pgsql zabbix-get\
17
+        zabbix-server-pgsql zabbix-get snmp snmp-mibs-downloader\
16 18
         snmp &&\
17 19
         apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
18 20
 

Loading…
Cancel
Save