Create network usage dashboard widget (#7531)

* Add new dashboard widget system_network_status

* Add new dashboard widget system_network_status

* Initial working commit

* Fix max_points used twice

* Update system dashboard service to send network traffic

* Remove console logging used for debugging

* Remove interface check

* Return instead of exit on a dashboard widget

* Use default value instead of null coalescing operator

* Disable the details state (to be added later)

* Set to Line type only

* Update config.php

---------

Co-authored-by: FusionPBX <markjcrane@gmail.com>
This commit is contained in:
frytimo
2025-09-24 17:27:10 -03:00
committed by GitHub
parent c74cebf363
commit c9b76df627
5 changed files with 322 additions and 5 deletions

View File

@@ -14,7 +14,7 @@ class ws_client {
let message;
let switch_event;
try {
console.log(ev.data);
//console.log(ev.data);
message = JSON.parse(ev.data);
// check for authentication request
if (message.status_code === 407) {