监控项的预处理“JSONPath”参数写错了,没有取到值。参考下官网案例去修改3 JSONPath 功能 (zabbix.com)
使用Template DB MSSQL by ODBC监控MSSQL,图形里显示没用数据,CPU、内存、硬盘等监控是有效的,如下图:
最新数据里有报错:
Preprocessing failed for: [{"object_name":"MSSQL$MSSQLSERVER_DEV:Access Methods","counter_name":"AU cleanup batches/sec","i...
1.
Failed: cannot extract value from json by path
"$[?(@.object_name=='SQLServer:SQL Statistics' &&
@.counter_name=='Auto-Param Attempts/sec')].cntr_value.first()": no data
matches the specified path
找了好久没找到问题的原因,请大神帮忙看下,谢谢!
错误信息