I am looking to calculate the number of items returned within an active agent item which returns the output of a powershell script to zabbix. The returned data samples are shown below.
Should return a value of 1
Should return a value of 2
I have tried creating a new calculated item but am not sure the syntax to extract the value. I have tried using
but the value returned is always 1. When trying
the syntax is invalid so I am stumped.
I have tried creating a new calculated item but am not sure the syntax to extract the value. I have tried using
Code:
count(//Locked.Account.Users,30s,)
Code:
count_foreach(\*\Locked.Account.Users,30s)
Comment