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

[Bug]: Default job for postgresql doesn't include the netdata user #14628

Closed
cakrit opened this issue Feb 28, 2023 · 2 comments · Fixed by netdata/go.d.plugin#1104
Closed

[Bug]: Default job for postgresql doesn't include the netdata user #14628

cakrit opened this issue Feb 28, 2023 · 2 comments · Fixed by netdata/go.d.plugin#1104
Labels
area/collectors Everything related to data collection bug needs triage Issues which need to be manually labelled

Comments

@cakrit
Copy link
Contributor

cakrit commented Feb 28, 2023

Bug description

@ilyam8 / @shyamvalsan

As mentioned in https://community.netdata.cloud/t/postgresql-documentation-leads-to-errors/3907/2
https://github.com/netdata/go.d.plugin/blob/master/modules/postgres/README.md instructs users to add user netdata to postresql, but our default jobs use user postgres instead.

Either instruct users to grant the privileges to user postgres, or use the netdata user in the config.

The documentation needs an update regardless of the decision, as it also includes a code snippet with the jobs that shows postgres as the user.

Expected behavior

Steps to reproduce

Installation method

kickstart.sh

System info

-

Netdata build info

-

Additional info

No response

@cakrit cakrit added bug needs triage Issues which need to be manually labelled area/collectors Everything related to data collection labels Feb 28, 2023
@netdata-community-bot
Copy link

This issue has been mentioned on the Netdata Community Forums. There might be relevant details there:

https://community.netdata.cloud/t/postgresql-documentation-leads-to-errors/3907/3

@ilyam8
Copy link
Member

ilyam8 commented Feb 28, 2023

postgres user is superuser, no need to add privileges to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/collectors Everything related to data collection bug needs triage Issues which need to be manually labelled
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants