newdevice: Add CPU and memory for Entera devices #5974

* Add CPU and memory for Entera devices

* Renaming file for consistency

* split -> explode

* Added graphs to overview page, changed oid used for CPU, and added storage

* Remove uneeded code

* Fixed storage
This commit is contained in:
David Bell
2017-02-23 23:01:56 +00:00
committed by Neil Lathwood
parent 3512b19e2b
commit 3e01de724f
9 changed files with 711 additions and 1 deletions

View File

@@ -8,7 +8,7 @@ foreach (dbFetchRows('SELECT * FROM storage WHERE device_id = ?', array($device[
$descr = $storage['storage_descr'];
$mib = $storage['storage_mib'];
echo 'Storage '. $descr .': ';
echo 'Storage '. $descr .': ' . $mib . "\n\n\n\n";
$rrd_name = array('storage', $mib, $descr);
$rrd_def = RrdDefinition::make()