Debug School

shashank
shashank

Posted on

getting postgres service down in zabbix

i am attaching PostgreSQL by Zabbix agent template to postgres server.
i have done following steps:
created postgres user with password
created /var/lib zabbix with zabbix ownership and copied postgresql folder in /var/lib/zabbix/ location

copied template_db_postgresql.conf file to /etc/zabbix/zabbix_agentd.d/ location
all the data is showing on zabbix dashboard like replication status lag in second all data is showing but the PostgreSQL: Service is down alert showing on dashboard and ping status is 0.
service and port is up and running on server.

how this can be resolved? is there any other thing pending to do.
in macros
pg host is 127.0.0.1
port is 5440
pg db is postgres
and also provided zabbix user name in macros

Top comments (1)

Collapse
 
rajesh_kumar profile image
Rajesh Kumar