ShrikantPaste
ShrikantPaste
I am facing similar issue, can i specify the passfile location explicitly in the connection string and also wanted to know if passfile should be on postgres server on which...
I also tried to change ownership of the file to zabbix user as well as root user, also tried coping the .pgpass file to root and /var/lib/zabbix folder on zabbix...
Selinux was blocking zabbix agent from reading .pgpass file after i disable selinux on the postgresql server which i was monitoring it has been able to update connect and update...
used following command semanage fcontext -a -t FILE_TYPE '/var/lib/zabbix/.pgpass' Where FILE_TYPE is as following zabbix_agent_exec_t, zabbix_agent_initrc_exec_t, zabbix_exec_t, zabbix_initrc_exec_t, zabbix_log_t, zabbix_script_exec_t, zabbix_tmp_t, zabbix_tmpfs_t, zabbix_var_run_t I ran the command using each file...