mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Rebased
This commit is contained in:
@@ -19,9 +19,7 @@ foreach (dbFetchRows('SELECT * FROM storage WHERE device_id = ?', array($device[
|
||||
// FIXME Generic poller goes here if we ever have a discovery module which uses it.
|
||||
}
|
||||
|
||||
if ($debug) {
|
||||
print_r($storage);
|
||||
}
|
||||
d_echo($storage);
|
||||
|
||||
if ($storage['size']) {
|
||||
$percent = round(($storage['used'] / $storage['size'] * 100));
|
||||
|
Reference in New Issue
Block a user