pg-monz / pg_monz

This is the Zabbix monitoring template for PostgreSQL Database.
Apache License 2.0
164 stars 81 forks source link

Cannot evaluate function item not supported #50

Open sxipper opened 5 years ago

sxipper commented 5 years ago

Hi

I don't know if this is a known issue, but following error seems to stop sending the alerts regarding Postgres.

  1. _Cannot evaluate expression: "Cannot evaluate function "test-vm-monitoring:psql.running[{$PGSCRIPTDIR},{$PGSCRIPTCONFDIR}].last(0)": item is not supported.".

  2. _Cannot evaluate expression: "Cannot evaluate function "test-vm-monitoring:psql.primary_server[{$PGSCRIPTDIR},{$PGSCRIPTCONFDIR}].last(#1)": item is not supported.".

https://i.imgur.com/eJBH7W6.png

pengbo0328 commented 5 years ago

Which version do you use?

sxipper commented 5 years ago

Zabbix 4.02 on Ubuntu 16 LTS PostgreSQL 10.6 Zabbix Agent 3.2 on Ubuntu 18.04.1

sxipper commented 5 years ago

Item key needs to be changed maybe?

sxipper commented 5 years ago

okay this is fixed.

pengbo0328 commented 5 years ago

Sorry for late response.

OK. If you have already resolved this issue, I will close this one.