Commit ff9d9dec authored by Ori Pekelman's avatar Ori Pekelman

Some grammar and typos

parent 0819e27a
......@@ -31,7 +31,7 @@ Usage examples:
cp -R ~/platformsh-zabbix-template/zabbix <YOUR-PROJECT-PATH>/
```
2. Add `zabbix` database:
2. Add a `zabbix` database:
- `.platform/services.yaml`:
```yaml
mysqldb:
......@@ -66,7 +66,7 @@ Usage examples:
- gettext
```
4. Add install script for [Platform.sh CLI](https://docs.platform.sh/development/cli.html) to `build` hook in `.platform.app.yaml`:
4. Add the install script for [Platform.sh CLI](https://docs.platform.sh/development/cli.html) to `build` hook in `.platform.app.yaml`:
```yaml
hooks:
build: |
......@@ -74,7 +74,7 @@ Usage examples:
curl -sS https://platform.sh/cli/installer | php
```
5. Add zabbix install scripts to `build` and `deploy` hooks in `.platform.app.yaml`:
5. Add the zabbix install scripts to the `build` and `deploy` hooks in `.platform.app.yaml`:
```yaml
hooks:
build: |
......@@ -89,7 +89,7 @@ Usage examples:
/app/zabbix/scripts/start-zabbix.sh
```
6. Add `zabbix/configs` mount in `.platform.app.yaml`:
6. Add a `zabbix/configs` mount in `.platform.app.yaml`:
```yaml
mounts:
...
......@@ -98,14 +98,14 @@ Usage examples:
source_path: zabbix-configs
```
7. Update PHP configs in `.platform.app.yaml`:
7. Update the PHP configuration in `.platform.app.yaml`:
```yaml
variables:
php:
max_input_time: 300
```
8. Add `zabbix` web location in `.platform.app.yaml` (please make sure it is the first one in the locations list):
8. Add a `zabbix` web location in `.platform.app.yaml` (please make sure it is the first one in the locations list):
```yaml
web:
locations:
......@@ -117,7 +117,7 @@ Usage examples:
...
```
9. If Varnish is used on your project, please make sure all the requests to Zabbix UI are bypass it and are served directly by PHP. Please update `.platform/routes.yaml` in order to achieve this:
9. If Varnish is used on your project, please make sure all requests to the Zabbix UI bypass it and are served directly by PHP. Please update `.platform/routes.yaml` in order to achieve this:
```yaml
https://{default}/zabbix/:
type: upstream
......@@ -137,7 +137,7 @@ Usage examples:
gordalina/cachetool: "^5.0"
```
11. For each Platform.sh services which needs to be monitored by Zabbix add `status_<service>` relationship in `.platform.app.yaml`. It should point to the existing service endpoints:
11. For each Platform.sh service which needs to be monitored by Zabbix add `status_<service>` relationship in `.platform.app.yaml`. It should point to the existing service endpoints:
```yaml
relationships:
...
......@@ -146,7 +146,7 @@ Usage examples:
status_redis: rediscache:redis
```
12. If Varnish is used on your project, and you want to collect is metrics in Zabbix:
12. If Varnish is used on your project, and you want to collect its metrics in Zabbix:
- Add `varnish-stats` app to your project:
```bash
cp -R ~/platformsh-zabbix-template/varnish-stats <YOUR-PROJECT-PATH>/
......@@ -175,7 +175,7 @@ Usage examples:
git push platform master
```
14. Once the changes are deploy you should be able to open [https://your-project-domain/zabbix/](https://project-domain/zabbix/) and login using default credentials:
14. Once the changes are deployed you should be able to open [https://your-project-domain/zabbix/](https://project-domain/zabbix/) and login using default credentials:
- Username: Admin
- Password: zabbix
......@@ -188,7 +188,7 @@ Usage examples:
- Provide a new password
- Click "Update" button
2. Import "Platform.sh by ContextualCode" Zabbix template:
2. Import the "Platform.sh by ContextualCode" Zabbix template:
- From the left navigation open "Configuration" -> "Templates"
- Click "Import" button (top right)
- Use [`zabbix/templates/platformsh-by-contextualcode.yml`](https://gitlab.com/contextualcode/platformsh-zabbix-template/-/raw/master/zabbix/templates/platformsh-by-contextualcode.yml) as "Import file"
......@@ -214,7 +214,7 @@ And for each of the metrics you can access the historical data by clicking on "G
## Notifications and alerts
Besides letting monitoring the metrics Zabbix also provides capabilities to send out notifications and alerts when a metric matches the specific conditions.
Besides allowing for monitoring Zabbix provides capabilities to send out notifications and alerts when a metric matches specific conditions.
Some additional configuration is required, in order to use Zabbix alerts and notifications:
......@@ -237,7 +237,7 @@ Some additional configuration is required, in order to use Zabbix alerts and not
- Enable "Enabled" checkbox
- Click "Update"
Now the media types are set, and the notifications are enabled. And we are ready to setup the first notification.
Now media types are set, and the notifications are enabled. And we are ready to setup the first notification.
Let's set up a notification for the case when there is less than 500MB of free persistent storage space:
......@@ -261,4 +261,4 @@ After the trigger is added, each time when there is less than 500MB of available
```bash
platform ssh -A app
dd if=/dev/zero of=/app/zabbix/configs/output.dat bs=512M count=1
```
\ No newline at end of file
```
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment