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:
Adam Amstrong
2010-08-05 23:00:35 +00:00
parent 693b56e6a9
commit 86f0647ded
5 changed files with 13 additions and 13 deletions

View File

@@ -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");
?>