mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Socket Statistic Application cleanup and application page graph fixes. (#15845)
This commit is contained in:
@@ -1,18 +1,5 @@
|
||||
<?php
|
||||
|
||||
require_once 'includes/ss-shared.inc.php';
|
||||
$netid = 'mptcp';
|
||||
|
||||
$socket_type = 'mptcp';
|
||||
$rrdArray = [];
|
||||
|
||||
if (array_key_exists($socket_type, $ss_socket_states_mapper)) {
|
||||
$local_ss_socket_states_mapper = $ss_socket_states_mapper[$socket_type];
|
||||
} else {
|
||||
$local_ss_socket_states_mapper = $ss_socket_states_mapper['default'];
|
||||
}
|
||||
|
||||
foreach ($local_ss_socket_states_mapper as $socket_state => $socket_state_clean_name) {
|
||||
$rrdArray[$socket_type][$socket_state_clean_name] = ['descr' => $socket_state_clean_name];
|
||||
}
|
||||
|
||||
require 'ss-common.inc.php';
|
||||
require 'ss-netid-common.inc.php';
|
||||
|
Reference in New Issue
Block a user