diff --git a/includes/html/pages/device/overview.inc.php b/includes/html/pages/device/overview.inc.php index 97b0c9295e..95a2f0d224 100644 --- a/includes/html/pages/device/overview.inc.php +++ b/includes/html/pages/device/overview.inc.php @@ -30,6 +30,10 @@ if ($device['os'] == 'cimc') { require 'overview/cimc.inc.php'; } +if ($device['os'] == 'ping') { + require 'overview/ping.inc.php'; +} + echo '
'; + + $graph = \App\Http\Controllers\Device\Tabs\OverviewController::setGraphWidth([ + 'device' => DeviceCache::getPrimary()->device_id, + 'type' => 'device_ping_perf', + 'from' => \LibreNMS\Config::get('time.day'), + 'legend' => 'yes', + 'popup_title' => DeviceCache::getPrimary()->hostname . ' - Ping Response', + ]); + + echo \LibreNMS\Util\Url::graphPopup($graph, \LibreNMS\Util\Url::lazyGraphTag($graph), $perf_url); + echo ' | +