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

D-Bus connection problem #147

Open
DRVTiny opened this issue Jun 27, 2019 · 2 comments
Open

D-Bus connection problem #147

DRVTiny opened this issue Jun 27, 2019 · 2 comments

Comments

@DRVTiny
Copy link

DRVTiny commented Jun 27, 2019

Hi!

I was trying to get database tables list in JSON. and i've got it,. but at the end of the output was:

process 15867: arguments to dbus_connection_unref() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 2776.
This is normally a bug in some application using the D-Bus library.
  D-Bus not built with -rdynamic so unable to print a backtrace
Aborted

In fact, Zabbix did no create any items related to tables from the appropriate discovery. So i think this is a problem.
My OS is:
CentOS Linux release 7.4.1708 (Core)
I've installed libzbxpgsql-1.1.0-1.x86_64 rpm package

Maybe i need to compile module by myself?

All in all thank you very much for a good work! This module is the best solution for PostgreSQL monitoring i've ever seen.

@cavaliercoder
Copy link
Collaborator

Thanks for the kind feedback! This module does not create any dbus connections (that I know of?) so I suspect the issue may lie elsewhere. Are you perhaps also using my systemd module? That module does connect to dbus.

Compiling the module yourself is usually and safe line of investigation.

@DRVTiny
Copy link
Author

DRVTiny commented Jun 27, 2019

Thank you for response!

Yes, i am using your module libzbxsystemd.so too :)
After compiling libzbxpg by hand, removing (temporary) suspected libzbxsystemd from LoadModule directives and restarting agent - all works good as i wish.
So... now i need to recompile libzbxsystemd and this issue may be closed anyway.
Thank you 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