0
我创建的返回格式等的值的外部检查:的zabbix触发表达外部检查
File System Storage Percent:12.34
这有可能创建检查值> 50%的触发?
{my_host:my_external_check.py.str(File System Storage Percent:50.00)}=1
我看到了正则表达式存在,但它不返回找到的值。
我创建的返回格式等的值的外部检查:的zabbix触发表达外部检查
File System Storage Percent:12.34
这有可能创建检查值> 50%的触发?
{my_host:my_external_check.py.str(File System Storage Percent:50.00)}=1
我看到了正则表达式存在,但它不返回找到的值。
更改脚本,并且不需要额外的文本返回值 - 像12.34
。然后你可以使用通常的zabbix触发功能last()
,min()
,avg()
,max()
等。