Skip to content

Commit

Permalink
Merge pull request #251 from newrelic/chore/postgres
Browse files Browse the repository at this point in the history
chore(preInstall): fix info
  • Loading branch information
jbeveland27 authored Mar 9, 2021
2 parents e50259f + 3b2f5b3 commit c4b73d4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions recipes/newrelic/infrastructure/ohi/postgres/debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,17 @@ inputVars:

preInstall:
info: |2
To capture data from the RabbitMQ integration, you'll first need to meet these prerequisites:
To capture data from the PostgreSQL integration, you'll first need to meet these prerequisites:
- PostgreSQL version requirement (see https://docs.newrelic.com/docs/integrations/host-integrations/host-integrations-list/postgresql-monitoring-integration#comp-req)
- User with READ permissions
To create a new user, use these commands as reference (Note: username,
password, and similar user-specific values must be replaced):
> CREATE USER newrelic WITH PASSWORD 'PASSWORD'
> GRANT SELECT ON pg_stat_database TO newrelic
> GRANT SELECT ON pg_stat_database_conflicts TO newrelic
> GRANT SELECT ON pg_stat_bgwriter TO newrelic
> CREATE USER new_relic WITH PASSWORD 'PASSWORD';
> GRANT SELECT ON pg_stat_database TO new_relic;
> GRANT SELECT ON pg_stat_database_conflicts TO new_relic;
> GRANT SELECT ON pg_stat_bgwriter TO new_relic;
install:
version: "3"
Expand Down
10 changes: 5 additions & 5 deletions recipes/newrelic/infrastructure/ohi/postgres/rhel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,17 @@ inputVars:

preInstall:
info: |2
To capture data from the RabbitMQ integration, you'll first need to meet these prerequisites:
To capture data from the PostgreSQL integration, you'll first need to meet these prerequisites:
- PostgreSQL version requirement (see https://docs.newrelic.com/docs/integrations/host-integrations/host-integrations-list/postgresql-monitoring-integration#comp-req)
- User with READ permissions
To create a new user, use these commands as reference (Note: username,
password, and similar user-specific values must be replaced):
> CREATE USER newrelic WITH PASSWORD 'PASSWORD'
> GRANT SELECT ON pg_stat_database TO newrelic
> GRANT SELECT ON pg_stat_database_conflicts TO newrelic
> GRANT SELECT ON pg_stat_bgwriter TO newrelic
> CREATE USER new_relic WITH PASSWORD 'PASSWORD';
> GRANT SELECT ON pg_stat_database TO new_relic;
> GRANT SELECT ON pg_stat_database_conflicts TO new_relic;
> GRANT SELECT ON pg_stat_bgwriter TO new_relic;
install:
version: "3"
Expand Down

0 comments on commit c4b73d4

Please sign in to comment.