问题描述 监控cpu使用率,脚本获取的值是浮点型 zabbix创建监控项时没有选数据类型,导致监控数据有问题. 查看 zabbix-server 日志: ::203016.768 error reason for "db01-master:cpushiyonglu" changed: Value "25.4" of type "string" is not suitable for value type "Numeric (unsig
监控mysql存活 1.配置agent自定义参数 vi /usr/local/zabbix/etc/zabbix_agentd.conf Include=/usr/local/zabbix/etc/zabbix_agentd.conf.d/ cd /usr/local/zabbix/etc/zabbix_agentd.conf.d vi userparameter.conf UserParameter=mysql.check_mysql_status,sh /usr/local/zabbix/e