Tony Murray 57650e4ffc Remove nfs requirement for distributed poller (with rrdtool 1.5+)
Use data_update instead of rrd_update/rrd_create and influx_update
Centralize rrd file check so we can check against a remote rrdcached server too
Use rrd_name() to generate rrd file names
2016-07-07 21:10:06 -05:00

25 lines
553 B
PHP

<?php
$units = 'b';
$total_units = 'B';
$colours_in = 'greens';
// $multiplier = "0";
$colours_out = 'blues';
$nototal = 1;
$ds_in = 'traf_in';
$ds_out = 'traf_out';
$graph_title .= '::bits';
$colour_line_in = '006600';
$colour_line_out = '000099';
$colour_area_in = 'CDEB8B';
$colour_area_out = 'C3D9FF';
$hostname = (isset($_GET['hostname']) ? $_GET['hostname'] : 'unknown');
$rrd_filename = rrd_name($device['hostname'], array('app', 'shoutcast', $app['app_id'], $hostname));
require 'includes/graphs/generic_data.inc.php';