Changeset 41026
- Timestamp:
- Nov 3, 2019, 6:07:44 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ccl_branches/ipp-20190806/ippMonitor/raw/czartool_labels.php
r41003 r41026 80 80 81 81 $servers=array( 82 #"addstar", 83 #"addstarlap", 84 "ippqub:stdscience_ws", 85 "cleanup", 86 #"detrend", 87 "distribution", 88 "pstamp", 89 # "update", 90 # "publishing", 91 "registration", 92 "stack", 93 # "deepstack", 94 "stdscience", 95 "summitcopy"); 82 ##### should be the same as Pantasks.pm #### 83 ##### standard pantasks ###### 84 "cleanup", 85 "distribution", 86 "pstamp", 87 "registration", 88 "stack", 89 "stdscience", 90 "summitcopy", 91 ##### additional pantasks ###### 92 # "addstar", 93 # "addstarlap", 94 # "deepstack", 95 # "detrend", 96 # "ippqub:stdscience_ws", 97 # "publishing", 98 # "replication", 99 # "update", 100 "temp" 101 ); 96 102 97 103 $pass = $ID['pass']; … … 299 305 showPingStatus($HOST_GATEWAY_SECONDARY, $DBNAME_GATEWAY_SECONDARY); 300 306 301 #showPingStatus($HOST_APACHE1, $DBNAME_APACHE1);307 showPingStatus($HOST_APACHE1, $DBNAME_APACHE1); 302 308 showPingStatus($HOST_APACHE2, $DBNAME_APACHE2); 303 309 showPingStatus($HOST_APACHE3, $DBNAME_APACHE3); … … 1141 1147 function showDatabaseStatus($Host, $User, $Password, $DatabaseName) { 1142 1148 #print "<br>$replHost, $replUser, $replPassword, $replDatabaseName<br/>"; 1143 $db = DB::connect("mysql://$User:$Password@$Host"); 1149 #$db = DB::connect("mysql://$User:$Password@$Host"); 1150 $db = DB::connect("mysqli://$User:$Password@$Host"); 1144 1151 if (PEAR::isError($db)) { 1145 1152 echo "<tr><td>$DatabaseName</td><td bgcolor=\"red\">MySQL DB connection error</td></tr>";
Note:
See TracChangeset
for help on using the changeset viewer.
