Skip to content

Commit

Permalink
[upd] adds some description
Browse files Browse the repository at this point in the history
  • Loading branch information
Carrol Cox committed Jul 28, 2020
1 parent b6c4ba1 commit 56e3059
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
*.retry

*.bak
*.gho
*.ori
*.orig
*.tmp
*.log
58 changes: 58 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# About

Ansible role `ansible-pganalyze-collector`
Install, setup and run pganalyze-collector for PostgreSQL as systemd service for VM and BareMetal servers..

pganalyze-collector is SaaS monitoring agent for PostgreSQL.

## Requirements

- postgresql
- systemd

## Role variables

### Defaults

```yaml
dpkg_force_overwrite_configs: false

pganalyze_package: pganalyze-collector
pganalyze_version: latest

pganalyze_user: pganalyze
pganalyze_group: pganalyze

pganalyze_service_state: restarted

pganalyze_api_key: "YOUR_ORGANIZATION_APIKEY"
pganalize_server_api_key: "CURRENT_SERVER_APIKEY"
pganalyze_db_name: "*"
pganalyze_db_user: "{{ pganalyze_user }}"
pganalyze_db_password: ""

pganalyze_servers:
- name: "{{ ansible_hostname }}"
api_key: "{{ pganalize_server_api_key }}"
db_name: "{{ pganalyze_db_name }}"
db_username: "{{ pganalyze_db_user }}"
db_password: "{{ pganalyze_db_password }}"
db_host: 127.0.0.1
db_port: 5432
```
## Dependencies
-
## Example playbook
```yaml
- hosts: servers
roles:
- role: ansible-pganalyze-collector
```
## License
MIT

0 comments on commit 56e3059

Please sign in to comment.