librenms-librenms/html/includes/graphs/device/screenos_sessions.inc.php
2015-07-11 16:12:35 +02:00

27 lines
614 B
PHP

<?php
$file = $config['rrd_dir'].'/'.$device['hostname'].'/'.safename('screenos_sessions.rrd');
$rrd_list[0]['filename'] = $file;
$rrd_list[0]['descr'] = 'Maxiumum';
$rrd_list[0]['ds'] = 'max';
$rrd_list[1]['filename'] = $file;
$rrd_list[1]['descr'] = 'Allocated';
$rrd_list[1]['ds'] = 'allocate';
$rrd_list[2]['filename'] = $file;
$rrd_list[2]['descr'] = 'Failed';
$rrd_list[2]['ds'] = 'failed';
if ($_GET['debug']) {
print_r($rrd_list);
}
$colours = 'mixed';
$nototal = 1;
$unit_text = 'Sessions';
$scale_min = '0';
require 'includes/graphs/generic_multi_line.inc.php';