Files
librenms-librenms/includes/html/graphs/application/smart_runtime.inc.php

26 lines
555 B
PHP
Raw Normal View History

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