Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

psql: symbol lookup error: psql: undefined symbol: PQconnectdbParams #32

Open
a320321wb opened this issue Jun 28, 2016 · 1 comment
Open

Comments

@a320321wb
Copy link

a320321wb commented Jun 28, 2016

Dear all
In zabbix_server, I try to run
zabbix_get -sIP -k db.list.discovery[/etc/zabbix/monitor_scripts]
but the server displays
psql: symbol lookup error: psql: undefined symbol: PQconnectdbParams

@jason5858
Copy link

The key of Discovery rules of "DB Name list" includes two necessary parameters as below:

db.list.discovery[{$PGSCRIPTDIR},{$PGSCRIPT_CONFDIR}]

With only {$PGSCRIPTDIR} parameter, zabbix_get command can not get the value of db.list.discovery.

So please also check the parameter {$PGSCRIPT_CONFDIR},
and execute the zabbix_get command again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants