Improved Latency graph (#15940)

* Improved Latency graph
Store loss+jitter info in rrd instead of database
New graph icmp_perf (legacy ping_perf still valid referencing part of the newer data)
Delete device_perf table

* Change loss to an area so it is more visible

* Style fixes

* Cleanups from phpstan & tests

* exit_code fix

* Remove alert usage of device_perf

* Don't use magic __get

* Add test for bulkPing
Add host to previous tests

* style fixes

* Fix issue fping error responses
This commit is contained in:
Tony Murray
2024-04-18 09:57:01 -05:00
committed by GitHub
parent 4cce4f082e
commit 49f8269262
38 changed files with 466 additions and 495 deletions

View File

@@ -66,9 +66,6 @@ been up for 30344 seconds`.
- ping avg (if icmp enabled): `$alert->ping_avg`
- debug (array)
- poller_name - name of poller (for distributed setups)
- If `$config['debug']['run_trace] = true;` is set then this will contain:
- traceroute (if enabled you will receive traceroute output): `$alert->debug['traceroute']`
- traceroute_output (if the traceroute fails this will contain why): `$alert->debug['traceroute_output']`
- Title for the Alert: `$alert->title`
- Time Elapsed, Only available on recovery (`$alert->state == 0`): `$alert->elapsed`
- Rule Builder (the actual rule) (use `{!! $alert->builder !!}`): `$alert->builder`

View File

@@ -246,17 +246,6 @@ lnms config:set icmp_check false
If you would like to do this on a per device basis then you can do so
under Device -> Edit -> Misc -> Disable ICMP Test? On
#### traceroute
LibreNMS uses traceroute to record debug information
when a device is down due to icmp AND you have
`lnms config:set debug.run_trace true` set.
!!! setting "external/binaries"
```bash
lnms config:set traceroute /usr/bin/traceroute
```
#### SNMP
SNMP program locations.