IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 41026


Ignore:
Timestamp:
Nov 3, 2019, 6:07:44 PM (7 years ago)
Author:
cclin33
Message:

minor update for localhost test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ccl_branches/ipp-20190806/ippMonitor/raw/czartool_labels.php

    r41003 r41026  
    8080
    8181$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);
    96102
    97103$pass = $ID['pass'];
     
    299305      showPingStatus($HOST_GATEWAY_SECONDARY, $DBNAME_GATEWAY_SECONDARY);
    300306
    301 #      showPingStatus($HOST_APACHE1, $DBNAME_APACHE1);
     307      showPingStatus($HOST_APACHE1, $DBNAME_APACHE1);
    302308      showPingStatus($HOST_APACHE2, $DBNAME_APACHE2);
    303309      showPingStatus($HOST_APACHE3, $DBNAME_APACHE3);
     
    11411147function showDatabaseStatus($Host, $User, $Password, $DatabaseName) {
    11421148    #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");
    11441151    if (PEAR::isError($db)) {
    11451152        echo "<tr><td>$DatabaseName</td><td bgcolor=\"red\">MySQL DB connection error</td></tr>";
Note: See TracChangeset for help on using the changeset viewer.