Good Morning,
Currently in our environment we are using Zabbix to monitor a number of end points. There is an issue that causes communication issues and the units log these entries in /var/log.
So I setup a task
system.run["grep -c ConnectionError /var/log/file.log"] and pre processing of simple change. Occasional timeouts are not out of the ordinary. So I setup a dummy host to do an aggregate check.
sum(last_foreach(/*/system.run["grep -c ConnectError /var/log/file.log"]?[group="endpoints"],5m))
(This isn't exact I wanted to keep proprietary info out but the syntax is sound.)
Anyway the host item on the endpoint works. and that aggregate calculation on the host worked when we had 6.0 when Zabbix was upgraded to 6.2 that aggregate calculation broke.
I now get the following error:
Any input would be appreciated.
Currently in our environment we are using Zabbix to monitor a number of end points. There is an issue that causes communication issues and the units log these entries in /var/log.
So I setup a task
system.run["grep -c ConnectionError /var/log/file.log"] and pre processing of simple change. Occasional timeouts are not out of the ordinary. So I setup a dummy host to do an aggregate check.
sum(last_foreach(/*/system.run["grep -c ConnectError /var/log/file.log"]?[group="endpoints"],5m))
(This isn't exact I wanted to keep proprietary info out but the syntax is sound.)
Anyway the host item on the endpoint works. and that aggregate calculation on the host worked when we had 6.0 when Zabbix was upgraded to 6.2 that aggregate calculation broke.
I now get the following error:
- Cannot evaluate expression: no input data for function at "sum(last_foreach(/*/system.run["grep -c ConnectError /var/log/file.log"]?[group="endpoints"],5m))"
Any input would be appreciated.
Comment