Allow ping checks to be ran separately from polling (#8821)

Allows ping checks at intervals not tied to the poller.  Pointless if you are not alerting on device status.
I updated the rrdstep.php script to treat ping-perf files separately and made it so it only converts if needed.

Docs here: https://docs.librenms.org/Extensions/Fast-Ping-Check/

DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
This commit is contained in:
Tony Murray
2018-07-30 16:58:38 -05:00
committed by Neil Lathwood
parent 344dfb9797
commit 9bc0c542a5
20 changed files with 864 additions and 112 deletions

View File

@@ -472,6 +472,7 @@ devices:
- { Field: override_sysLocation, Type: tinyint(1), 'Null': true, Extra: '', Default: '0' }
- { Field: notes, Type: text, 'Null': true, Extra: '' }
- { Field: port_association_mode, Type: int(11), 'Null': false, Extra: '', Default: '1' }
- { Field: max_depth, Type: int(11), 'Null': false, Extra: '', Default: '0' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [device_id], Unique: true, Type: BTREE }
status: { Name: status, Columns: [status], Unique: false, Type: BTREE }