Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
607 B
PHP
Raw Permalink Normal View History

2020-02-12 08:26:02 +01:00
<?php
2020-09-21 15:40:17 +02:00
2020-02-12 08:26:02 +01:00
$unitlen = 10;
$bigdescrlen = 9;
$smalldescrlen = 9;
$dostack = 0;
$printtotal = 0;
$unit_text = 'Changes';
$colours = 'psychedelic';
$rrd_list = [];
$rrd_filename = Rrd::name($device['hostname'], ['app', 'puppet-agent', $app->app_id, 'changes']);
2020-02-12 08:26:02 +01:00
$array = [
'total',
];
2021-03-28 17:25:30 -05:00
if (Rrd::checkRrdExists($rrd_filename)) {
2020-02-12 08:26:02 +01:00
foreach ($array as $ds) {
$rrd_list[] = [
'filename' => $rrd_filename,
'descr' => $ds,
'ds' => $ds,
];
}
} else {
echo "file missing: $file";
}
require 'includes/html/graphs/generic_multi_line_exact_numbers.inc.php';