Skip to content

Commit

Permalink
Merge branch 'main' into smtp_formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
rasika-chivate authored Dec 11, 2023
2 parents cd431e8 + 54b8cfe commit 3932fc5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/get-started/alerting.md
Original file line number Diff line number Diff line change
Expand Up @@ -341,14 +341,14 @@ After upgrading to PMM 2.31, make sure to manually migrate any alert rules that

The default command for migrating rules is:
```yaml
*python ia_migration.py -u admin -p admin*
python3 ia_migration.py -u admin -p admin
```
To see all the available options, check the scrip help using `ia_migration.py -h`

##### Script prerequisites

- Python version 3.x, which you can download from [Python Downloads centre](https://www.python.org/downloads/).
- [Requests library](https://requests.readthedocs.io/en/latest/user/install/#install), which you can install with the following command: ```pip install requests```.
- [Requests library](https://requests.readthedocs.io/en/latest/user/install/#install), which you can install with the following command: ```pip3 install requests```.

!!! caution alert alert-warning "Important"
The script sets all migrated alert rules to Active. Make sure to silence any alerts that should not be firing.
Expand Down
2 changes: 1 addition & 1 deletion docs/setting-up/server/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ docker cp <containerId>:/srv /target/host/directory
docker run --rm --volumes-from pmm-data -it percona/pmm-server:2 chown -R postgres:postgres /srv/postgres14 && \
docker run --rm --volumes-from pmm-data -it percona/pmm-server:2 chown -R pmm:pmm /srv/prometheus && \
docker run --rm --volumes-from pmm-data -it percona/pmm-server:2 chown -R pmm:pmm /srv/victoriametrics && \
docker run --rm --volumes-from pmm-data -it percona/pmm-server:2 chown -R postgres:postgres /srv/logs/postgresql.log
docker run --rm --volumes-from pmm-data -it percona/pmm-server:2 chown -R postgres:postgres /srv/logs/postgresql14.log
```
8. Start the image.
Expand Down

0 comments on commit 3932fc5

Please sign in to comment.