Files
librenms-librenms/includes/html/graphs/device/netstat_ip_forward.inc.php

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
449 B
PHP
Raw Normal View History

2015-05-19 19:58:46 +02:00
<?php
$rrd_filename = Rrd::name($device['hostname'], 'netstats-ip_forward');
2015-05-19 19:58:46 +02:00
$stats = ['ipCidrRouteNumber' => []];
$i = 0;
foreach ($stats as $stat => $array) {
$i++;
$rrd_list[$i]['filename'] = $rrd_filename;
$rrd_list[$i]['descr'] = str_replace('ip', '', $stat);
$rrd_list[$i]['ds'] = $stat;
}
$colours = 'mixed';
$scale_min = '0';
$nototal = 1;
$simple_rrd = true;
require 'includes/html/graphs/generic_multi_line.inc.php';