Steps to reproduce:
- Install PostgreSQL 13 primary and standby instance, add them with agent2 template.
- Navigate to items of standby host.
- Change filter to not supported.
- You will see PostgreSQL by Zabbix agent 2: PostgreSQL: Get WAL
not supported because it gives the error Cannot fetch data: ERROR: recovery is in progress (SQLSTATE 55000)
Or from the standby host with zabbix agent2:
In the template "PostgreSQL by user parameters" the item works correctly because recovery state is checked before query.