Update Fast-Ping-Check.md (#10022)

Fixed documentation formatting issues
This commit is contained in:
TheGreatDoc
2019-03-25 10:07:04 +01:00
committed by PipoCanaja
parent 5535768d25
commit 8f718f5c78

View File

@@ -18,12 +18,12 @@ to run ping checks as quickly as possible without increasing snmp load on your d
### Setting the ping check to 1 minute ### Setting the ping check to 1 minute
1. Change the ping_rrd_step setting in config.php 1. Change the ping_rrd_step setting in config.php
```php ```
$config['ping_rrd_step'] = 60; $config['ping_rrd_step'] = 60;
``` ```
2. Update the rrd files to change the step (step is hardcoded at file creation in rrd files) 2. Update the rrd files to change the step (step is hardcoded at file creation in rrd files)
```bash ```
./scripts/rrdstep.php -h all ./scripts/rrdstep.php -h all
``` ```
@@ -41,12 +41,12 @@ We add two entries, but add a delay before one.
>Alerts are only run every minute, so you will have to modify them as well. Remove the original alerts.php entry. >Alerts are only run every minute, so you will have to modify them as well. Remove the original alerts.php entry.
1. Set ping_rrd_step 1. Set ping_rrd_step
```php ```
$config['ping_rrd_step'] = 30; $config['ping_rrd_step'] = 30;
``` ```
2. Update the rrd files 2. Update the rrd files
```bash ```
./scripts/rrdstep.php -h all ./scripts/rrdstep.php -h all
``` ```