summaryrefslogtreecommitdiffstats
path: root/frontends/php/queue.php
diff options
context:
space:
mode:
authoralex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-10-26 17:45:48 +0000
committeralex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-10-26 17:45:48 +0000
commit07fc6a96b22fb233d6c74ba91af5df40cb026001 (patch)
treefd20c9e3a5f69b6ce4df4fc5772cc55f067e2332 /frontends/php/queue.php
parent05a2d7e2aa1fc17fc7011ec96a203c586f0ed2d8 (diff)
downloadzabbix-07fc6a96b22fb233d6c74ba91af5df40cb026001.tar.gz
zabbix-07fc6a96b22fb233d6c74ba91af5df40cb026001.tar.xz
zabbix-07fc6a96b22fb233d6c74ba91af5df40cb026001.zip
- [ZBX-107] do not display log related items in the queue (Alexei)
[svn merge -r4903:4923 svn://svn.zabbix.com/branches/1.4] git-svn-id: svn://svn.zabbix.com/trunk@4924 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/queue.php')
-rw-r--r--frontends/php/queue.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/frontends/php/queue.php b/frontends/php/queue.php
index 0a1302ed..5320a9b4 100644
--- a/frontends/php/queue.php
+++ b/frontends/php/queue.php
@@ -76,6 +76,7 @@ include_once "include/page_header.php";
" and ((h.status=".HOST_STATUS_MONITORED." and h.available != ".HOST_AVAILABLE_FALSE.") ".
" or (h.status=".HOST_STATUS_MONITORED." and h.available=".HOST_AVAILABLE_FALSE." and h.disable_until<=$now)) ".
" and i.hostid=h.hostid and i.nextcheck<$now and i.key_ not in ('status','icmpping','icmppingsec','zabbix[log]') ".
+ " and i.value_type not in (".ITEM_VALUE_TYPE_LOG.") ".
" and h.hostid in (".get_accessible_hosts_by_user($USER_DETAILS,PERM_READ_ONLY,null,null,get_current_nodeid()).")".
// " and h.hostid in (".get_accessible_hosts_by_user($USER_DETAILS,PERM_READ_ONLY,null,null,$ZBX_LOCALNODEID).")".
// " and ".DBin_node('h.hostid', $ZBX_LOCALNODEID).