Advertising:

Compilar el modulo zabbix module docker.so

From Zabbix-ES
Jump to navigation Jump to search

Compilar el modulo zabbix_module_docker.so

ORIGEN: https://github.com/monitoringartist/zabbix-docker-monitoring#compilation
[root@zbxssoo02 src]# git clone -b 4.2.2 --depth 1 https://git.zabbix.com/scm/zbx/zabbix.git /usr/src/zabbix
[root@zbxssoo02 zabbix]# cd /usr/src/zabbix
[root@zbxssoo02 zabbix]# ./bootstrap.sh
[root@zbxssoo02 zabbix]# ./configure --enable-agent
[root@zbxssoo02 zabbix]# mkdir src/modules/zabbix_module_docker
[root@zbxssoo02 zabbix]# cd src/modules/zabbix_module_docker
[root@zbxssoo02 zabbix_module_docker]# wget https://raw.githubusercontent.com/monitoringartist/zabbix-docker-monitoring/master/src/modules/zabbix_module_docker/zabbix_module_docker.c
[root@zbxssoo02 zabbix_module_docker]# wget https://raw.githubusercontent.com/monitoringartist/zabbix-docker-monitoring/master/src/modules/zabbix_module_docker/Makefile
[root@zbxssoo02 zabbix_module_docker]# make