Ad Widget

Collapse

Problem Monitoring Postgresql with Zabbix-Agent2 5.4.1

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sergio.roman
    Junior Member
    • Dec 2021
    • 7

    #1

    Problem Monitoring Postgresql with Zabbix-Agent2 5.4.1

    I have upgraded my zabbix server from 5.2. to 5.4. when I tried to upgrade zabbix-agent2 from version 5.2.3 to 5.4.1 on a red hat 8 server with postgresql 13. It shows me these error messages with postgresql in the zabbix agent log:

    2022/06/29 10:37:40.447001 [Postgres] Connection failed: failed to connect to `host=localhost user=zabbix_mon database=sonarqube`: hostname resolving error (lookup localhost: no such host).
    2022/06/29 10:37:40.447069 cannot accept incoming connection: accept tcp [::]:10050: accept4: too many open files
    2022/06/29 10:37:40.447116 cannot accept incoming connection: accept tcp [::]:10050: accept4: too many open files
    2022/06/29 10:37:40.447130 cannot accept incoming connection: accept tcp [::]:10050: accept4: too many open files

    I have tried to use a later version of the zabbix 2 agent such as 6.0.6, but it continues to give me the same error.

    How can I solve this problem?
  • vladimir_lv
    Senior Member
    • May 2022
    • 240

    #2
    Here is described a similar issue, which is unfortunately still not resolved:

    Comment

    Working...