2010-08-11 11:11:09 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
#$device = device_by_id_cache($id);
|
|
|
|
|
|
|
|
include("includes/graphs/common.inc.php");
|
|
|
|
|
|
|
|
$file = $config['rrd_dir'] . "/" . $device['hostname'] . "/" . safename("screenos_sessions.rrd");
|
|
|
|
|
|
|
|
$rrd_list[0]['filename'] = $file;
|
|
|
|
$rrd_list[0]['descr'] = "Maxiumum";
|
2011-09-21 11:59:59 +00:00
|
|
|
$rrd_list[0]['ds'] = "max";
|
2010-08-11 11:11:09 +00:00
|
|
|
|
|
|
|
$rrd_list[1]['filename'] = $file;
|
|
|
|
$rrd_list[1]['descr'] = "Allocated";
|
2011-09-21 11:59:59 +00:00
|
|
|
$rrd_list[1]['ds'] = "allocate";
|
2010-08-11 11:11:09 +00:00
|
|
|
|
|
|
|
$rrd_list[2]['filename'] = $file;
|
|
|
|
$rrd_list[2]['descr'] = "Failed";
|
2011-09-21 11:59:59 +00:00
|
|
|
$rrd_list[2]['ds'] = "failed";
|
2010-08-11 11:11:09 +00:00
|
|
|
|
2011-09-20 09:55:11 +00:00
|
|
|
if ($_GET['debug']) { print_r($rrd_list); }
|
2010-08-11 11:11:09 +00:00
|
|
|
|
|
|
|
$colours = "mixed";
|
|
|
|
$nototal = 1;
|
|
|
|
$unit_text = "Sessions";
|
|
|
|
$scale_min = "0";
|
|
|
|
|
2011-03-17 13:35:25 +00:00
|
|
|
include("includes/graphs/generic_multi_line.inc.php");
|
2010-08-11 11:11:09 +00:00
|
|
|
|
2011-03-17 13:35:25 +00:00
|
|
|
?>
|