|
@@ -10,7 +10,8 @@ RUN wget http://repo.zabbix.com/zabbix/3.0/debian/pool/main/z/zabbix-release/zab
|
10
|
10
|
dpkg -i /tmp/zabbix.deb
|
11
|
11
|
|
12
|
12
|
RUN apt-get update && apt-get -y install\
|
13
|
|
- zabbix-server-pgsql &&\
|
|
13
|
+ zabbix-server-pgsql\
|
|
14
|
+ snmp &&\
|
14
|
15
|
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
15
|
16
|
|
16
|
17
|
RUN chown -R zabbix:zabbix /etc/zabbix &&\
|
|
@@ -22,6 +23,9 @@ RUN rm -rf /var/log/* &&\
|
22
|
23
|
chown zabbix:zabbix /var/log/zabbix/ &&\
|
23
|
24
|
ln -s /dev/stdout /var/log/zabbix/zabbix_server.log
|
24
|
25
|
|
|
26
|
+RUN chmod u+s /usr/bin/fping &&\
|
|
27
|
+ chmod u+s /usr/bin/fping6
|
|
28
|
+
|
25
|
29
|
COPY ./zabbix_server.conf /etc/zabbix/zabbix_server.conf
|
26
|
30
|
|
27
|
31
|
COPY ./vars-vars /etc/vars-vars
|