From f4071accf03abf288b80530284abea72cbda92c3 Mon Sep 17 00:00:00 2001 From: osmiy Date: Wed, 4 Apr 2007 11:33:08 +0000 Subject: - added frontend-side support of external checks. (Eugene) git-svn-id: svn://svn.zabbix.com/trunk@3974 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/queue.php | 44 ++++++++++++++++++++++++-------------------- 1 file changed, 24 insertions(+), 20 deletions(-) (limited to 'frontends/php/queue.php') diff --git a/frontends/php/queue.php b/frontends/php/queue.php index b0a8753f..b9fe734b 100644 --- a/frontends/php/queue.php +++ b/frontends/php/queue.php @@ -54,9 +54,22 @@ include_once "include/page_header.php"; setHeader(array(S_ITEMS,S_5_SECONDS,S_10_SECONDS,S_30_SECONDS,S_1_MINUTE,S_5_MINUTES,S_MORE_THAN_5_MINUTES)); - $a=array( - S_ZABBIX_AGENT => ITEM_TYPE_ZABBIX, - S_ZABBIX_AGENT_ACTIVE => ITEM_TYPE_ZABBIX_ACTIVE, - S_SNMPV1_AGENT => ITEM_TYPE_SNMPV1, - S_SNMPV2_AGENT => ITEM_TYPE_SNMPV2C, - S_SNMPV3_AGENT => ITEM_TYPE_SNMPV3, - S_SIMPLE_CHECK => ITEM_TYPE_SIMPLE, - S_ZABBIX_INTERNAL => ITEM_TYPE_INTERNAL, - S_ZABBIX_AGGREGATE => ITEM_TYPE_AGGREGATE - ); - foreach($a as $name => $type) + foreach($item_types as $type) { - $elements=array($name,$sec_5[$type],$sec_10[$type], + $elements=array(item_type2str($type),$sec_5[$type],$sec_10[$type], new CCol($sec_30[$type],"warning"), new CCol($sec_60[$type],"average"), new CCol($sec_300[$type],"high"), -- cgit