summaryrefslogtreecommitdiffstats
path: root/frontends/php/queue.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-01-15 08:21:02 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-01-15 08:21:02 +0000
commit15b84090305640db312b39c8be647669eb0b5265 (patch)
tree2cefea49bb302b18f946f415c4e89a2b8f72e74e /frontends/php/queue.php
parent2497838d3b5277b74caa07247315019475c063a1 (diff)
downloadzabbix-15b84090305640db312b39c8be647669eb0b5265.tar.gz
zabbix-15b84090305640db312b39c8be647669eb0b5265.tar.xz
zabbix-15b84090305640db312b39c8be647669eb0b5265.zip
Finished changed related to host.available
git-svn-id: svn://svn.zabbix.com/trunk@1608 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/queue.php')
-rw-r--r--frontends/php/queue.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/queue.php b/frontends/php/queue.php
index 2686b9f8..5b8a961d 100644
--- a/frontends/php/queue.php
+++ b/frontends/php/queue.php
@@ -41,7 +41,7 @@
<?php
$now=time();
- $result=DBselect("select i.itemid, i.nextcheck, i.description, h.host,h.hostid from items i,hosts h where i.status=0 and i.type not in (2) and h.status=0 and i.hostid=h.hostid and i.nextcheck<$now and i.key_<>'status' order by i.nextcheck");
+ $result=DBselect("select i.itemid, i.nextcheck, i.description, h.host,h.hostid from items i,hosts h where i.status=0 and i.type not in (2) and h.status=".HOST_STATUS_MONITORED." and i.hostid=h.hostid and i.nextcheck<$now and i.key_<>'status' order by i.nextcheck");
table_begin();
table_header(array(S_NEXT_CHECK,S_HOST,S_DESCRIPTION));
$col=0;