storage fixes, moving things from graphing page, ironware dynamic memory pool (static!)

git-svn-id: http://www.observium.org/svn/observer/trunk@947 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2010-02-25 00:56:13 +00:00
parent 17fe4219c2
commit 81eb203abe
17 changed files with 138 additions and 30 deletions

View File

@@ -8,7 +8,7 @@ while($storage = mysql_fetch_array($storage_data)) {
echo($storage['storage_descr'] . ": ");
$storage_rrd = $config['rrd_dir'] . "/" . $device['hostname'] . "/" . safename("storage-" . $storage['storage_mib'] . "-" . $storage['storage_index'] . ".rrd");
$storage_rrd = $config['rrd_dir'] . "/" . $device['hostname'] . "/" . safename("storage-" . $storage['storage_mib'] . "-" . safename($storage['storage_descr']) . ".rrd");
if (!is_file($storage_rrd)) {
rrdtool_create($storage_rrd, "--step 300 \