zabbix6入门到精通(3) 预处理

配置 — 主机


文件系统主项目
vfs.fs.get

测试一下


添加预处理
$[?(@.fsname == ‘/’)]
$[0].inodes.pfree
JSONPath参照:
https://www.zabbix.com/documentation/6.0/zh/manual/config/items/preprocessing/jsonpath_functionality



本文介绍了如何在Zabbix6中使用预处理功能,重点讲解了主机文件系统的配置,如主项目vfs.fs.get,并通过$[?(&@.fsname==/)]$[0].inodes.pfree的示例测试了JSONPath表达式。
zabbix6入门到精通(3) 预处理

配置 — 主机


文件系统主项目
vfs.fs.get

测试一下


添加预处理
$[?(@.fsname == ‘/’)]
$[0].inodes.pfree
JSONPath参照:
https://www.zabbix.com/documentation/6.0/zh/manual/config/items/preprocessing/jsonpath_functionality



2770
2570

被折叠的 条评论
为什么被折叠?