mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
20 lines
514 B
PHP
20 lines
514 B
PHP
![]() |
<?php
|
||
|
|
||
|
$name = 'mojo_cape_submit';
|
||
|
$unit_text = 'Changed Hashes';
|
||
|
$colours = 'psychedelic';
|
||
|
$descr = 'Change Count';
|
||
|
$ds = 'hash_changed';
|
||
|
|
||
|
if (isset($vars['slug'])) {
|
||
|
$filename = Rrd::name($device['hostname'], ['app', $name, $app->app_id, 'slugs___-___' . $vars['slug']]);
|
||
|
} else {
|
||
|
$filename = Rrd::name($device['hostname'], ['app', $name, $app->app_id]);
|
||
|
}
|
||
|
|
||
|
if (! Rrd::checkRrdExists($filename)) {
|
||
|
d_echo('RRD "' . $filename . '" not found');
|
||
|
}
|
||
|
|
||
|
require 'includes/html/graphs/generic_stats.inc.php';
|