Closed kunkanon closed 5 years ago
The solution to this issue is change that trigger: {Template DB PostgreSQL:proc.num[{$PG_PROCESS_NAME}].last()}=0 To: {Template DB PostgreSQL:proc.num[,,,{$PG_PROCESS_NAME}|postmaster].last()}=0
Only works in zabbix 4.0+
If you using a remote zabbix server to get information from postgreSQL process them can't retrive the data because it dont recover the prostgresql process, only from the zabbix user ( because it connect using the zabbix_agent to the remote server ).
[root@zabbix ~]# zabbix_get -s REMOTE_SERVER_IP -k proc.num[postgres] 0