Ad Widget

Collapse

Zabbix with remote postgres

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • b4ster
    Junior Member
    • Mar 2024
    • 5

    #1

    Zabbix with remote postgres

    Hi, maybe someone will have a clue what is going on:

    I can connect via psql to remote DB as per:

    Click image for larger version

Name:	image.png
Views:	265
Size:	21.7 KB
ID:	479971

    But on frontend I get:

    Click image for larger version

Name:	image.png
Views:	228
Size:	71.8 KB
ID:	479972
    Click image for larger version

Name:	image.png
Views:	218
Size:	958.6 KB
ID:	479973

  • Hamardaban
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2019
    • 2713

    #2
    Have you installed pgsql php extension?​

    Comment

    • b4ster
      Junior Member
      • Mar 2024
      • 5

      #3
      yes, I had php-pgsql installed, even tried adding extension=php_pgsql.so to php.ini

      but what solved my issue was installing pgadmin on zabbix server, connecting it to zabdb without issues, and then zabbix setup successfully connected to remote db

      RESOLVED

      Comment

      • cyber
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • Dec 2006
        • 4807

        #4
        Installing pgadmin probably updated something on your server, thus fixing your issue... I doubt there is anything in zabbix server that really relates to pgadmin.

        Comment


        • Hamardaban
          Hamardaban commented
          Editing a comment
          I totally agree! But apparently the man did not want to understand the reasons....
      Working...