mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* docker app: polling - RRD dataset and fields value mismatch RRD dataset definitions and fields array keys passed to data_update have to be in the same order. There is no match based on key before building the rrdtool update command. Fixes mem_perc ending as NaN because it ended with a value above 100 as it was given mem_limit bytes value. * docker app - remove misleading divider The mem_perc and cpu_usage are already in percent, no need to divide them by a hundred. The values were then made into milli percent or micro percent.
7 lines
88 B
PHP
7 lines
88 B
PHP
<?php
|
|
|
|
$unit_text = 'CPU (%)';
|
|
$rrdVar = 'cpu_usage';
|
|
|
|
require 'docker-common.inc.php';
|