librenms-librenms/html/includes/graphs/device/cipsec_flow_pkts.inc.php
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

20 lines
387 B
PHP

<?php
$rrd_filename = rrd_name($device['hostname'], 'cipsec_flow');
$ds_in = 'InPkts';
$ds_out = 'OutPkts';
$colour_area_in = 'AA66AA';
$colour_line_in = '330033';
$colour_area_out = 'FFDD88';
$colour_line_out = 'FF6600';
$colour_area_in_max = 'CC88CC';
$colour_area_out_max = 'FFEFAA';
$graph_max = 1;
$unit_text = 'Pkts ';
require 'includes/graphs/generic_duplex.inc.php';