mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
update HV::Monitor support to use generic_stats.inc.php (#14814)
This commit is contained in:
committed by
GitHub
parent
af61958dc9
commit
653da5a3f0
@@ -16,15 +16,12 @@ if (isset($vars['vmif'])) {
|
||||
$rrd_filename = Rrd::name($device['hostname'], ['app', $name, $app->app_id]);
|
||||
}
|
||||
|
||||
$rrd_list = [];
|
||||
if (Rrd::checkRrdExists($rrd_filename)) {
|
||||
$rrd_list[] = [
|
||||
'filename' => $rrd_filename,
|
||||
'descr' => 'Collisions',
|
||||
'ds' => 'coll',
|
||||
];
|
||||
$filename = $rrd_filename;
|
||||
$descr = 'Collisions';
|
||||
$ds = 'coll';
|
||||
} else {
|
||||
d_echo('RRD "' . $rrd_filename . '" not found');
|
||||
}
|
||||
|
||||
require 'includes/html/graphs/generic_multi_line.inc.php';
|
||||
require 'includes/html/graphs/generic_stats.inc.php';
|
||||
|
Reference in New Issue
Block a user