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

Filter partitioned tables from LLD Rule Discover PostgreSQL Databases #155

Open
mjtrangoni opened this issue Nov 24, 2019 · 0 comments
Open

Comments

@mjtrangoni
Copy link

Hi @cavaliercoder,

I am monitoring a PSQL 11.5 Server with partitioning configured pg_partman, and I am seeing some problems with the stats collector since yesterday.

I guess, this has to do with the fact, that your Zabbix templates get every table (the partitioned tables too) over the Discovery Rule Discover PostgreSQL Databases.

See,

 2019-11-23 17:01:13.648 CET [20651] LOG:  using stale statistics instead of current ones because stats collector is not responding
2019-11-23 17:01:13.648 CET [20651] STATEMENT:  SELECT n_tup_ins FROM pg_stat_all_tables WHERE relname = $1
2019-11-23 17:01:23.491 CET [2944] LOG:  using stale statistics instead of current ones because stats collector is not responding
2019-11-23 17:01:23.764 CET [20688] LOG:  using stale statistics instead of current ones because stats collector is not responding
2019-11-23 17:01:23.764 CET [20688] STATEMENT:  SELECT n_tup_upd FROM pg_stat_all_tables WHERE relname = $1

Is there any way of filtering all the partitioned tables from the Discovery Rule results?

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

1 participant