initial commit; version 22.5.12042
This commit is contained in:
30
html/includes/graphs/application/openvpn_bits.inc.php
Normal file
30
html/includes/graphs/application/openvpn_bits.inc.php
Normal file
@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Observium
|
||||
*
|
||||
* This file is part of Observium.
|
||||
*
|
||||
* @package observium
|
||||
* @subpackage graphs
|
||||
* @copyright (C) 2006-2013 Adam Armstrong, (C) 2013-2019 Observium Limited
|
||||
*
|
||||
*/
|
||||
|
||||
include_once($config['html_dir']."/includes/graphs/common.inc.php");
|
||||
|
||||
$openvpn_rrd = get_rrd_path($device, "app-openvpn-" . $app['app_instance'] . ".rrd");
|
||||
|
||||
if (rrd_is_file($openvpn_rrd))
|
||||
{
|
||||
$rrd_filename = $openvpn_rrd;
|
||||
}
|
||||
|
||||
$multiplier = 8;
|
||||
|
||||
$ds_in = "bytesin";
|
||||
$ds_out = "bytesout";
|
||||
|
||||
include($config['html_dir']."/includes/graphs/generic_data.inc.php");
|
||||
|
||||
// EOF
|
Reference in New Issue
Block a user