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

Documentation suggestion #135

Open
OrangeDog opened this issue Jan 17, 2019 · 1 comment
Open

Documentation suggestion #135

OrangeDog opened this issue Jan 17, 2019 · 1 comment

Comments

@OrangeDog
Copy link
Collaborator

Can't find the source to make a PR so...

When creating a role for zabbiz-agent to use, the simplest way to achieve the correct permissions is to make it a member of the default pg_monitor role.

CREATE ROLE zabbix WITH LOGIN IN ROLE pg_monitor;

Uisng the name zabbix also means that peer authentication can be used in a default installation, without having to configure pg_ident.conf.

@cavaliercoder
Copy link
Collaborator

Very cool! pg_monitor did not exist prior to PostgreSQL 10. Definitely would like to include this in the docs.

It's been a while since I compiled the docs, but I recall their being advice against using peer auth at the time. I'll look into this again.

If you'd like to submit a PR, documentation is in the gh-pages branch of this repo.

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