mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
poller output cleanups (i think we should start to put some colour in here, to make it all sexypants)
git-svn-id: http://www.observium.org/svn/observer/trunk@1649 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -2,13 +2,13 @@
|
||||
|
||||
$storage_cache = array();
|
||||
|
||||
echo("Storage: ");
|
||||
#echo("Storage: ");
|
||||
|
||||
$query = "SELECT * FROM storage WHERE device_id = '" . $device['device_id'] . "'";
|
||||
$storage_data = mysql_query($query);
|
||||
while($storage = mysql_fetch_array($storage_data)) {
|
||||
|
||||
echo($storage['storage_descr'] . ": ");
|
||||
echo("Storage ".$storage['storage_descr'] . ": ");
|
||||
|
||||
$storage_rrd = $config['rrd_dir'] . "/" . $device['hostname'] . "/" . safename("storage-" . $storage['storage_mib'] . "-" . safename($storage['storage_descr']) . ".rrd");
|
||||
|
||||
@@ -52,10 +52,10 @@ while($storage = mysql_fetch_array($storage_data)) {
|
||||
if($debug) { echo("$update_query\n"); }
|
||||
mysql_query($update_query);
|
||||
|
||||
echo("\n");
|
||||
|
||||
}
|
||||
|
||||
unset($storage);
|
||||
|
||||
echo("\n");
|
||||
|
||||
?>
|
||||
|
Reference in New Issue
Block a user