mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* puppet agent monitoring * change position of last run graph * device overview panel * updating documentation * mouseover for Overview Dashboard * adding blank line for code climate
28 lines
666 B
PHP
28 lines
666 B
PHP
<?php
|
|
$unitlen = 10;
|
|
$bigdescrlen = 9;
|
|
$smalldescrlen = 9;
|
|
$dostack = 0;
|
|
$printtotal = 0;
|
|
$unit_text = 'Changes';
|
|
$colours = 'psychedelic';
|
|
$rrd_list = array();
|
|
|
|
$rrd_filename = rrd_name($device['hostname'], array('app', 'puppet-agent', $app['app_id'], 'changes'));
|
|
$array = array(
|
|
'total',
|
|
);
|
|
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
|
foreach ($array as $ds) {
|
|
$rrd_list[]=array(
|
|
'filename' => $rrd_filename,
|
|
'descr' => $ds,
|
|
'ds' => $ds,
|
|
);
|
|
}
|
|
} else {
|
|
echo "file missing: $file";
|
|
}
|
|
|
|
require 'includes/html/graphs/generic_multi_line_exact_numbers.inc.php';
|