Index: /trunk/ippMonitor/raw/czartool_labels.php
===================================================================
--- /trunk/ippMonitor/raw/czartool_labels.php	(revision 40861)
+++ /trunk/ippMonitor/raw/czartool_labels.php	(revision 40862)
@@ -944,5 +944,5 @@
     foreach ($servers as &$server) {
 
-        getServerStatus($db, $server, $alive, $running);
+        getServerStatus($db,$proj, $server, $alive, $running);
 
         echo "<tr>\n";
@@ -1036,7 +1036,7 @@
 #
 ###########################################################################
-function getServerStatus($db, $server, &$alive, &$running) {
-
-    $sql = "SELECT alive, running FROM servers WHERE server LIKE '$server' ORDER BY timestamp DESC LIMIT 1";
+function getServerStatus($db,$proj, $server, &$alive, &$running) {
+
+    $sql = "SELECT alive, running FROM science_servers WHERE server LIKE '$server' AND telescope LIKE '$proj' ORDER BY timestamp DESC LIMIT 1";
     if($debug){echo "$sql<br>";}
 
