summaryrefslogtreecommitdiffstats
path: root/frontends/php/queue.php
diff options
context:
space:
mode:
authoralex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-08-28 17:46:12 +0000
committeralex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-08-28 17:46:12 +0000
commitdf93e082f228286304046d3631527e2804f73666 (patch)
tree5a13a29b7dd7761668005751760b466748cbc2ed /frontends/php/queue.php
parent356e021b4ca585bb730a6fda1854e6c93d9d5733 (diff)
downloadzabbix-df93e082f228286304046d3631527e2804f73666.tar.gz
zabbix-df93e082f228286304046d3631527e2804f73666.tar.xz
zabbix-df93e082f228286304046d3631527e2804f73666.zip
- [ZBX-24] fixed Queue to show status of current node only (Alexei)
[svn merge -r4690:4693 svn://svn.zabbix.com/branches/1.4] git-svn-id: svn://svn.zabbix.com/trunk@4695 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/queue.php')
-rw-r--r--frontends/php/queue.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/frontends/php/queue.php b/frontends/php/queue.php
index 20ad52c1..b3c9f744 100644
--- a/frontends/php/queue.php
+++ b/frontends/php/queue.php
@@ -75,6 +75,9 @@ include_once "include/page_header.php";
" 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 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).
+ " and ".DBin_node('h.hostid', get_current_nodeid()).
" order by i.nextcheck,h.host,i.description,i.key_");
$table = new CTableInfo(S_THE_QUEUE_IS_EMPTY);