Ad Widget

Collapse

cant find postgres location (asuming Zabbix is using that postgres)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Molusco
    Junior Member
    • Dec 2019
    • 20

    #1

    cant find postgres location (asuming Zabbix is using that postgres)

    Hi, I need to connect with the zabbix database, I asume that is using postgres because I found this lines in history

    Code:
    yum -y zabbix-server-pgsql zabbix-web-pgsql zabbix-agent mod_ssl
    yum -y install zabbix-server-pgsql zabbix-web-pgsql zabbix-agent mod_ssl
    I have tried multiple commands tring to find the postgres directory without success, I can get data via zabbix api, but I need to connect with the database, and it seems that I need to modify pg_hba.conf to allow my other machine to connect to the zabbix.

    I cant even check the status of the postgres service...

    Any ideas where or how I can find this file?
    CentOS Linux 7 (Core)
Working...