librenms-librenms/includes/html/graphs/application/puppet-agent_changes.inc.php
SourceDoctor 53dc564ef5 Puppet Agent Monitoring (#10827)
* puppet agent monitoring

* change position of last run graph

* device overview panel

* updating documentation

* mouseover for Overview Dashboard

* adding blank line for code climate
2020-02-12 08:26:02 +01:00

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';