zabbix自定义监控项数据类型错误

问题描述

  监控cpu使用率,脚本获取的值是浮点型  zabbix创建监控项时没有选数据类型,导致监控数据有问题。

 查看 zabbix-server 日志:

 10553:20190703:203016.768 error reason for "db01-master:cpushiyonglu" changed: Value "25.4" of type "string" is not suitable for value type "Numeric (unsigned)"

问题解决

  修改监控项数据类型,监控数据正常。

原文地址:https://www.cnblogs.com/root0/p/11128913.html