Skip to content

Commit

Permalink
Update alerting.md (#1175)
Browse files Browse the repository at this point in the history
The "Migrate Alert Rules" commands (python and pip) were incorrect, since they didn't run on a stock PMM docker environment. Updated to python3 and pip3.
  • Loading branch information
guriandoro authored Dec 1, 2023
1 parent 8a8ba5f commit 9922bff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/get-started/alerting.md
Original file line number Diff line number Diff line change
Expand Up @@ -343,14 +343,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

0 comments on commit 9922bff

Please sign in to comment.