監控cpu使用率,腳本獲取的值是浮點型 zabbix建立監控項時沒有選數據類型,致使監控數據有問題。ui
查看 zabbix-server 日誌:spa
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)"
修改監控項數據類型,監控數據正常。日誌