$page["title"] = "Information about monitoring server"; $page["file"] = "queue.php"; include "include/config.inc.php"; show_header($page["title"],10,0); ?> if(!check_right("Host","R",0)) { show_table_header("No permissions !"); show_footer(); exit; } ?> show_table_header("QUEUE OF ITEMS TO BE UPDATED"); ?> $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 h.status=0 and i.hostid=h.hostid and i.nextcheck<$now and i.key_<>'status' order by i.nextcheck"); echo "
| Next time to check | Host | Description |
| ".date("m.d.Y H:i:s",$row["nextcheck"])." | "; echo "".$row["host"]." | "; echo "".$row["description"]." | "; echo "