mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Update Fast-Ping-Check.md (#10022)
Fixed documentation formatting issues
This commit is contained in:
@@ -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
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user