summaryrefslogtreecommitdiffstats
path: root/frontends/php/httpdetails.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-01-25 10:46:56 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-01-25 10:46:56 +0000
commit800ef4ec1472f443cbc7a69e0267071d33aae489 (patch)
tree21d9a491aa84c328127ce01687c641a15dd659b8 /frontends/php/httpdetails.php
parenta098eba611e1633be9a3b168cdbcf71751f0ae1a (diff)
downloadzabbix-800ef4ec1472f443cbc7a69e0267071d33aae489.tar.gz
zabbix-800ef4ec1472f443cbc7a69e0267071d33aae489.tar.xz
zabbix-800ef4ec1472f443cbc7a69e0267071d33aae489.zip
- fixed deletion of applications with httptests (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@3753 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/httpdetails.php')
-rw-r--r--frontends/php/httpdetails.php25
1 files changed, 18 insertions, 7 deletions
diff --git a/frontends/php/httpdetails.php b/frontends/php/httpdetails.php
index 64640731..cc324eba 100644
--- a/frontends/php/httpdetails.php
+++ b/frontends/php/httpdetails.php
@@ -59,24 +59,35 @@ include_once "include/page_header.php";
// TABLE
$table = new CTableInfo();
+ $table->SetHeader(array(S_STEP, 'Lastcheck', 'Speed', 'Time', 'Response code', 'Status'));
$db_httpsteps = DBselect('select * from httpstep where httptestid='.$httptest_data['httptestid'].' order by no');
while($httpstep_data = DBfetch($db_httpsteps))
{
$information = array(
- S_STEP, ': ',
- bold($httpstep_data['name']), BR,
- S_LAST_CHECK, ": TODO: TT || UNCNOWN", BR,// TODO!!!
- S_STATUS, ": TODO: FAIL || OK || UNCNOWN", BR // TODO!!!
+ bold($httpstep_data['name'])
);
- $chart1 = $chart2 = $chart3 = new CImg('chart3.php?period=3600&from=0&name=KEY_NAME&width=150&height=25');
+ $chart1 = $chart2 = $chart3 = '123.9 KBps';
- $table->AddRow(array($information, $chart1, $chart2, $chart3));
+ $table->AddRow(array($information, '10/12/07 12:30', $chart1, $chart2, $chart3, new CSpan('Failed','disabled')));
}
- $table->AddRow(array(bold('CONCLUSION'), $chart1, $chart2, $chart3));
+ $table->AddRow(array(bold('CONCLUSION'), 'Unknown', $chart1, $chart2, $chart3, new CSpan('Faild on step X fom Z', 'enabled')));
$table->Show();
+
+ $chart1 = $chart2 = $chart3 = new CImg('chart3.php?period=3600&from=0&name=KEY_NAME&height=150');
+
+ echo BR;
+
+ show_table_header('History'.' "'.bold($accessible_hosts['name']).'"');
+ $form = new CTableInfo();
+
+ $form->AddRow(array(bold('Speed per seconds') , new CCol($chart1, 'center')));
+ $form->AddRow(array(bold('Response time') , new CCol($chart1,'center')));
+
+ $form->Show();
+ navigation_bar("#",$to_save_request);
?>
<?php