mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
16 lines
335 B
PHP
16 lines
335 B
PHP
<?php
|
|
require 'includes/graphs/common.inc.php';
|
|
|
|
$mysql_rrd = $config['rrd_dir'].'/proxmox/'.$vars['cluster'].'/'.$vars['vmid'].'_netif_'.$vars['port'].'.rrd';
|
|
|
|
if (is_file($mysql_rrd)) {
|
|
$rrd_filename = $mysql_rrd;
|
|
}
|
|
|
|
$multiplier = 8;
|
|
|
|
$ds_in = 'INOCTETS';
|
|
$ds_out = 'OUTOCTETS';
|
|
|
|
require 'includes/graphs/generic_data.inc.php';
|