Files
librenms-librenms/includes/html/graphs/application/smart_runtime.inc.php
SourceDoctor a9cc36bc7f smart -power on hour - view fix (#10466)
* smart id9 view fix

* Update smart.inc.php

* Update smart_runtime.inc.php

* Update smart.inc.php
2019-08-07 07:32:25 -05:00

25 lines
596 B
PHP

<?php
$name = 'smart_id9';
$app_id = $app['app_id'];
$unit_text = '';
$unitlen = 20;
$bigdescrlen = 15;
$smalldescrlen = 15;
$colours = 'mega';
$dostack = 0;
$printtotal = 0;
$addarea = 1;
$transparency = 15;
$rrd_filename = rrd_name($device['hostname'], array('app', $name, $app_id, $vars['disk']));
if (rrdtool_check_rrd_exists($rrd_filename)) {
$rrd_list[]=array(
'filename' => $rrd_filename,
'descr' => 'Power On Hours',
'ds' => 'id9',
);
}
require 'includes/html/graphs/generic_multi_line_exact_numbers.inc.php';