'pseudowires']; print_optionbar_start(); echo 'Pseudowires » '; if ($vars['view'] == 'detail') { echo ''; } echo ' | '; if ($vars['view'] == 'minigraphs') { echo ''; } print_optionbar_end(); echo '
| " . $pw_a['cpwVcID'] . ' | ' . generate_device_link($pw_a) . ' | ' . generate_port_link($pw_a) . " | " . generate_device_link($pw_b) . ' | ' . generate_port_link($pw_b) . ' | |
| " . $pw_a['ifAlias'] . ' | ' . $pw_b['ifAlias'] . ' | ||||
| "; if ($pw_a) { $pw_a['width'] = '150'; $pw_a['height'] = '30'; $pw_a['from'] = \LibreNMS\Config::get('time.day'); $pw_a['to'] = \LibreNMS\Config::get('time.now'); $pw_a['bg'] = $bg; $types = ['bits', 'upkts', 'errors']; foreach ($types as $graph_type) { $pw_a['graph_type'] = 'port_' . $graph_type; print_port_thumbnail($pw_a); } } echo ' | '; if ($pw_b) { $pw_b['width'] = '150'; $pw_b['height'] = '30'; $pw_b['from'] = \LibreNMS\Config::get('time.day'); $pw_b['to'] = \LibreNMS\Config::get('time.now'); $pw_b['bg'] = $bg; $types = ['bits', 'upkts', 'errors']; foreach ($types as $graph_type) { $pw_b['graph_type'] = 'port_' . $graph_type; print_port_thumbnail($pw_b); } } echo ' | ||||