mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
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:
@@ -839,11 +839,6 @@ class Device extends BaseModel
|
||||
return $this->belongsToMany(self::class, 'device_relationships', 'child_device_id', 'parent_device_id');
|
||||
}
|
||||
|
||||
public function perf(): HasMany
|
||||
{
|
||||
return $this->hasMany(\App\Models\DevicePerf::class, 'device_id');
|
||||
}
|
||||
|
||||
public function ports(): HasMany
|
||||
{
|
||||
return $this->hasMany(\App\Models\Port::class, 'device_id', 'device_id');
|
||||
|
Reference in New Issue
Block a user