diff options
author | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-05-15 10:06:22 +0000 |
---|---|---|
committer | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-05-15 10:06:22 +0000 |
commit | 2bd2a0b597912994b44aaaba0d097549cbefd49c (patch) | |
tree | c557188a0ccff743418ed973b81becfa018770f6 /frontends/php/chart3.php | |
parent | 4894534baa0876a46909fb4429093a2289a4d9ef (diff) | |
download | zabbix-2bd2a0b597912994b44aaaba0d097549cbefd49c.tar.gz zabbix-2bd2a0b597912994b44aaaba0d097549cbefd49c.tar.xz zabbix-2bd2a0b597912994b44aaaba0d097549cbefd49c.zip |
- finished WEB monitoring (Eugene)
- tested WEB monitoring (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@4137 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/chart3.php')
-rw-r--r-- | frontends/php/chart3.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/frontends/php/chart3.php b/frontends/php/chart3.php index 06261a5f..b5637aca 100644 --- a/frontends/php/chart3.php +++ b/frontends/php/chart3.php @@ -70,6 +70,8 @@ include_once "include/page_header.php"; $graph->SetHeader($host["host"].":".get_request("name","")); + unset($host, $denyed_hosts); + if(isset($_REQUEST["period"])) $graph->SetPeriod($_REQUEST["period"]); if(isset($_REQUEST["from"])) $graph->SetFrom($_REQUEST["from"]); if(isset($_REQUEST["stime"])) $graph->SetSTime($_REQUEST["stime"]); @@ -84,7 +86,7 @@ include_once "include/page_header.php"; $graph->SetYAxisMin(get_request("yaxismin" ,0.00)); $graph->SetYAxisMax(get_request("yaxismax" ,100.00)); - foreach($items as $gitem) + foreach($items as $id => $gitem) { $graph->AddItem( $gitem["itemid"], @@ -95,6 +97,8 @@ include_once "include/page_header.php"; $gitem["type"], $gitem["periods_cnt"] ); + + unset($items[$id]); } $graph->Draw(); ?> |