zabbix4.2.5常见问题指南
一、zabbix配置postgres监控
rpm -ivh https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-7-x86_64/pgdg-centos95-9.5-3.noarch.rpm yum install -y postgresql95-libs # 已经安装可忽略 yum -y install libconfig # 已经安装可忽略
下载并导入 postgresql 监控模板:
链接:https://github.com/cavaliercoder/libzbxpgsql/tree/master/templates
[root@WW-SYG-DB1 zabbix]# tail -f zabbix_agentd.log 15149:20191029:130437.572 cannot load module "libzbxpgsql.so": /usr/local/zabbix/lib/libzbxpgsql.so: undefined symbol: __zbx_zbx_snprintf 15149:20191029:130437.572 loading modules failed, exiting... 15177:20191029:130447.616 Starting Zabbix Agent [192.168.10.11]. Zabbix 4.2.5 (revision 2c0e4d1d39). 15177:20191029:130447.616 **** Enabled features **** 15177:20191029:130447.616 IPv6 support: YES 15177:20191029:130447.616 TLS support: YES 15177:20191029:130447.616 **************************
参考:https://support.zabbix.com/browse/ZBX-16028
下载:https://support.zabbix.com/secure/attachment/89260/89260_libzbxpgsql.so