You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add device ICMP statistics for alerting (librenms#17041)
* Add packet loss column to the devices table
* Local fix to allow me to roll bac schema
* Create a new device_stats table to store dynamic stats for devices. Initial data is some RTT and packet loss stats/
* Formatting fix
* Update DB schema
* Remove unneeded migration
* Remove refernce to device loss column
* Added some documentation around the averaging factor option
* Update to use LibrenmsConfig
* Add drop if exists on schema migration
* Remove duplicate code
* Include the device ID when creating a new devicestats object
* Allow nulls in stats columns
* Refactor DeviceStats to extend DeviceRelatedModel
Updated DeviceStats to extend DeviceRelatedModel and removed the device relationship method.
* Remove unused BelongsTo import in DeviceStats
* Change ping RTT and loss fields to nullable
* Added the device_stats to the alert entities documentat
---------
Co-authored-by: Tony Murray <[email protected]>
Copy file name to clipboardExpand all lines: lang/en/settings.php
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2364,6 +2364,10 @@
2364
2364
'description' => 'Show devices dependecies on location map',
2365
2365
'help' => 'Show links between devices on the location map based on parent dependencies',
2366
2366
],
2367
+
'device_stats_avg_factor' => [
2368
+
'description' => 'Averaging factor',
2369
+
'help' => 'We calculate a moving average using an exponential weighted moving average function. This is the factor used by the function to control how much the current value affects the average. Values closer to 1 will make the average change quicker.',
0 commit comments