IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 41678 for trunk/ippMonitor


Ignore:
Timestamp:
Jul 1, 2021, 7:40:56 PM (5 years ago)
Author:
fairlamb
Message:

updating ippmonitor values (not sure they should be here)

Location:
trunk/ippMonitor/raw
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippMonitor/raw/czartool_labels.php

    r41677 r41678  
    278278createTableColumnHeader("Database");
    279279createTableColumnHeader("Status (sec behind master)");
    280 showDatabaseStatus($HOST_GPC1, $USER_GPC1, $PASSWORD_GPC1, $DBNAME_GPC1);
    281 showReplicationsStatus($REPL_HOST_GPC1, $REPL_USER_GPC1, $REPL_PASSWORD_GPC1, $REPL_DBNAME_GPC1);
    282 showReplicationsStatus($REPL_HOST_GPC1_SECONDARY, $REPL_USER_GPC1_SECONDARY, $REPL_PASSWORD_GPC1_SECONDARY, $REPL_DBNAME_GPC1_SECONDARY);
    283 showReplicationsStatus($REPL_HOST_GPC1_THIRD, $REPL_USER_GPC1_THIRD, $REPL_PASSWORD_GPC1_THIRD, $REPL_DBNAME_GPC1_THIRD);
    284 showDatabaseStatus($HOST_NEBULOUS, $USER_NEBULOUS, $PASSWORD_NEBULOUS, $DBNAME_NEBULOUS);
    285 showReplicationsStatus($REPL_HOST_NEBULOUS_SECONDARY, $REPL_USER_NEBULOUS_SECONDARY, $REPL_PASSWORD_NEBULOUS_SECONDARY, $REPL_DBNAME_NEBULOUS_SECONDARY);
    286 showReplicationsStatus($REPL_HOST_NEBULOUS_THIRD, $REPL_USER_NEBULOUS_THIRD, $REPL_PASSWORD_NEBULOUS_THIRD, $REPL_DBNAME_NEBULOUS_THIRD);
    287 showReplicationsStatus($REPL_HOST_NEBULOUS_FOURTH, $REPL_USER_NEBULOUS_FOURTH, $REPL_PASSWORD_NEBULOUS_FOURTH, $REPL_DBNAME_NEBULOUS_FOURTH);
    288 showReplicationsStatus($REPL_HOST_DATASTORE_SECONDARY, $REPL_USER_DATASTORE_SECONDARY, $REPL_PASSWORD_DATASTORE_SECONDARY, $REPL_DBNAME_DATASTORE_SECONDARY);
     280// gpc dbs
     281showDatabaseStatus($HOST_GPC1, $USER_GPC1, $PASSWORD_GPC1, $LABEL_GPC1);
     282showReplicationsStatus($REPL_HOST_GPC1, $REPL_USER_GPC1, $REPL_PASSWORD_GPC1, $REPL_LABEL_GPC1);
     283showReplicationsStatus($REPL_HOST_GPC1_SECONDARY, $REPL_USER_GPC1_SECONDARY, $REPL_PASSWORD_GPC1_SECONDARY, $REPL_LABEL_GPC1_SECONDARY);
     284showReplicationsStatus($REPL_HOST_GPC1_TERTIARY, $REPL_USER_GPC1_TERTIARY, $REPL_PASSWORD_GPC1_TERTIARY, $REPL_LABEL_GPC1_TERTIARY);
     285// nebulous dbs
     286showDatabaseStatus($HOST_NEBULOUS, $USER_NEBULOUS, $PASSWORD_NEBULOUS, $LABEL_NEBULOUS);
     287showReplicationsStatus($REPL_HOST_NEBULOUS, $REPL_USER_NEBULOUS, $REPL_PASSWORD_NEBULOUS, $REPL_LABEL_NEBULOUS);
     288showReplicationsStatus($REPL_HOST_NEBULOUS_SECONDARY, $REPL_USER_NEBULOUS_SECONDARY, $REPL_PASSWORD_NEBULOUS_SECONDARY, $REPL_LABEL_NEBULOUS_SECONDARY);
     289showReplicationsStatus($REPL_HOST_NEBULOUS_TERTIARY, $REPL_USER_NEBULOUS_TERTIARY, $REPL_PASSWORD_NEBULOUS_TERTIARY, $REPL_LABEL_NEBULOUS_TERTIARY);
     290// other dbs
     291showDatabaseStatus($HOST_PSTAMP, $USER_PSTAMP, $PASSWORD_PSTAMP, $LABEL_PSTAMP);
     292showReplicationsStatus($REPL_HOST_DATASTORE, $REPL_USER_DATASTORE, $REPL_PASSWORD_DATASTORE, $REPL_LABEL_DATASTORE);
    289293
    290294// timer finished
     
    316320createTableColumnHeader("Status");
    317321createTableColumnHeader("Loading time");
    318 showPingStatus($HOST_GATEWAY, $DBNAME_GATEWAY);
    319 showPingStatus($HOST_GATEWAY_SECONDARY, $DBNAME_GATEWAY_SECONDARY);
    320 showPingStatus($HOST_NAGIOS, $DBNAME_NAGIOS);
    321 showPingStatus($HOST_HOME, $DBNAME_HOME);
    322 showPingStatus($HOST_APACHE1, $DBNAME_APACHE1);
    323 showPingStatus($HOST_APACHE2, $DBNAME_APACHE2);
    324 showPingStatus($HOST_APACHE3, $DBNAME_APACHE3);
    325 showPingStatus($HOST_APACHE4, $DBNAME_APACHE4);
    326 showPingStatus($HOST_APACHE5, $DBNAME_APACHE5);
    327 showPingStatus($HOST_APACHE6, $DBNAME_APACHE6);
    328 showPingStatus($HOST_APACHE7, $DBNAME_APACHE7);
    329 showPingStatus($HOST_APACHE8, $DBNAME_APACHE8);
    330 showPingStatus($HOST_PROXY, $DBNAME_PROXY);
    331 showPingStatus($HOST_SVN, $DBNAME_SVN);
    332 showPingStatus($HOST_CONFLUENCE, $DBNAME_CONFLUENCE);
     322showPingStatus($HOST_GATEWAY, $LABEL_GATEWAY);
     323showPingStatus($HOST_GATEWAY_SECONDARY, $LABEL_GATEWAY_SECONDARY);
     324showPingStatus($HOST_PROXY, $LABEL_PROXY);
     325showPingStatus($HOST_APACHE1, $LABEL_APACHE1);
     326showPingStatus($HOST_APACHE2, $LABEL_APACHE2);
     327showPingStatus($HOST_APACHE3, $LABEL_APACHE3);
     328showPingStatus($HOST_APACHE4, $LABEL_APACHE4);
     329showPingStatus($HOST_APACHE5, $LABEL_APACHE5);
     330showPingStatus($HOST_APACHE6, $LABEL_APACHE6);
     331showPingStatus($HOST_APACHE_BACKUP1, $LABEL_APACHE_BACKUP1);
     332showPingStatus($HOST_APACHE_BACKUP2, $LABEL_APACHE_BACKUP2);
     333showPingStatus($HOST_HOME, $LABEL_HOME);
     334showPingStatus($HOST_HOME_BACKUP, $LABEL_HOME_BACKUP);
     335showPingStatus($HOST_NAGIOS, $LABEL_NAGIOS);
     336showPingStatus($HOST_SVN, $LABEL_SVN);
     337showPingStatus($HOST_CONFLUENCE, $LABEL_CONFLUENCE);
     338showPingStatus($HOST_MAILMAN, $LABEL_MAILMAN);
    333339//  echo "<td>ippc70 (apache node) <td> $PingStatus <td> 0 seconds ";  // comment out if ippc70 is back
    334340// timer finished
  • trunk/ippMonitor/raw/site.php

    r41677 r41678  
    44// values below are set based on the binary, etc paths.
    55
    6 $WWWHOST    = "ipp117.ifa.hawaii.edu";
     6$WWWHOST    = "ipp113.ifa.hawaii.edu";
    77
    88$PERLLIB    = "/data/ippc64.1/ippitc/psconfig/ipp-20170121.lin64/lib";
     
    4545$DELETION_DELAY  = 15;
    4646
    47 $HOST_NEBULOUS  = "nebulous.ipp.ifa.hawaii.edu";
    48 $USER_NEBULOUS  = "ippMonitor";
    49 $PASSWORD_NEBULOUS  = "ippMonitor";
    50 $DBNAME_NEBULOUS  = "ippdb11 nebulous master";
    51 
    52 $REPL_HOST_NEBULOUS_SECONDARY  = "ippdb06.IfA.Hawaii.Edu";
    53 $REPL_USER_NEBULOUS_SECONDARY  = "ippMonitor";
    54 $REPL_PASSWORD_NEBULOUS_SECONDARY  = "ippMonitor";
    55 $REPL_DBNAME_NEBULOUS_SECONDARY  = "ippdb06 nebulous repl2";
    56 
    57 $REPL_HOST_NEBULOUS_THIRD  = "ippdb12.IfA.Hawaii.Edu";
    58 $REPL_USER_NEBULOUS_THIRD  = "ippMonitor";
    59 $REPL_PASSWORD_NEBULOUS_THIRD  = "ippMonitor";
    60 $REPL_DBNAME_NEBULOUS_THIRD  = "ippdb12 nebulous repl3";
    61 
    62 $REPL_HOST_NEBULOUS_FOURTH  = "ippdb13.IfA.Hawaii.Edu";
    63 $REPL_USER_NEBULOUS_FOURTH  = "ippMonitor";
    64 $REPL_PASSWORD_NEBULOUS_FOURTH  = "ippMonitor";
    65 $REPL_DBNAME_NEBULOUS_FOURTH  = "ippdb13 nebulous repl4";
    66 
    67 $REPL_HOST_PSTAMP  = "ippc19.IfA.Hawaii.Edu";
    68 $REPL_USER_PSTAMP  = "ippMonitor";
    69 $REPL_PASSWORD_PSTAMP  = "ippMonitor";
    70 $REPL_DBNAME_PSTAMP  = "ippc19 (ippRequestServer)";
    71 
    72 $REPL_HOST_ISP  = "ippc17.IfA.Hawaii.Edu";
    73 $REPL_USER_ISP  = "ippMonitor";
    74 $REPL_PASSWORD_ISP  = "ippMonitor";
    75 $REPL_DBNAME_ISP  = "ippc17 (isp)";
    76 
    7747$HOST_GPC1  = "ippdb05.IfA.Hawaii.Edu";
    7848$USER_GPC1  = "ippMonitor";
    7949$PASSWORD_GPC1  = "ippMonitor";
    80 $DBNAME_GPC1  = "ippdb05 master db(czardb, gpc1, gpc2, ippadmin, ipptopsps, megacam, ssp, uip)";
     50$LABEL_GPC1  = "ippdb05 master db(czardb, gpc1, gpc2, ippadmin, ipptopsps, megacam, ssp, uip)";
    8151
    8252$REPL_HOST_GPC1  = "ippdb01.IfA.Hawaii.Edu";
    8353$REPL_USER_GPC1  = "ippMonitor";
    8454$REPL_PASSWORD_GPC1  = "ippMonitor";
    85 $REPL_DBNAME_GPC1  = "ippdb01 repl1 (czardb, gpc1, gpc2, ippadmin, ipptopsps, megacam, ssp, uip)";
     55$REPL_LABEL_GPC1  = "ippdb01 repl1 (czardb, gpc1, gpc2, ippadmin, ipptopsps, megacam, ssp, uip)";
    8656
    8757$REPL_HOST_GPC1_SECONDARY  = "ippdb09.IfA.Hawaii.Edu";
    8858$REPL_USER_GPC1_SECONDARY  = "ippMonitor";
    8959$REPL_PASSWORD_GPC1_SECONDARY  = "ippMonitor";
    90 $REPL_DBNAME_GPC1_SECONDARY  = "ippdb09 repl2 (czardb, gpc1, gpc2, ippadmin, ipptopsps, megacam, ssp, uip)";
     60$REPL_LABEL_GPC1_SECONDARY  = "ippdb09 repl2 (czardb, gpc1, gpc2, ippadmin, ipptopsps, megacam, ssp, uip)";
    9161
    92 $REPL_HOST_GPC1_THIRD = "ipp116.IfA.Hawaii.Edu";
    93 $REPL_USER_GPC1_THIRD = "ippMonitor";
    94 $REPL_PASSWORD_GPC1_THIRD = "ippMonitor";
    95 $REPL_DBNAME_GPC1_THIRD = "ipp116 repl3 (czardb, gpc1, gpc2, ippadmin, ipptopsps, megacam, ssp, uip)";
     62$REPL_HOST_GPC1_TERTIARY = "ipp116.IfA.Hawaii.Edu";
     63$REPL_USER_GPC1_TERTIARY = "ippMonitor";
     64$REPL_PASSWORD_GPC1_TERTIARY = "ippMonitor";
     65$REPL_LABEL_GPC1_TERTIARY = "ipp116 repl3 (czardb, gpc1, gpc2, ippadmin, ipptopsps, megacam, ssp, uip)";
    9666
    97 $REPL_HOST_DATASTORE_SECONDARY  = "ipp117.IfA.Hawaii.Edu";
    98 $REPL_USER_DATASTORE_SECONDARY  = "ipp";
    99 $REPL_PASSWORD_DATASTORE_SECONDARY  = "ipp";
    100 $REPL_DBNAME_DATASTORE_SECONDARY  = "ipp117 (datastore replicant)";
     67$HOST_NEBULOUS  = "nebulous.ipp.ifa.hawaii.edu";
     68$USER_NEBULOUS  = "ippMonitor";
     69$PASSWORD_NEBULOUS  = "ippMonitor";
     70$LABEL_NEBULOUS  = "ippdb11 nebulous master";
     71
     72$REPL_HOST_NEBULOUS = "ippdb06.IfA.Hawaii.Edu";
     73$REPL_USER_NEBULOUS = "ippMonitor";
     74$REPL_PASSWORD_NEBULOUS = "ippMonitor";
     75$REPL_LABEL_NEBULOUS = "ippdb06 nebulous repl1";
     76
     77$REPL_HOST_NEBULOUS_SECONDARY  = "ippdb12.IfA.Hawaii.Edu";
     78$REPL_USER_NEBULOUS_SECONDARY  = "ippMonitor";
     79$REPL_PASSWORD_NEBULOUS_SECONDARY  = "ippMonitor";
     80$REPL_LABEL_NEBULOUS_SECONDARY  = "ippdb12 nebulous repl2";
     81
     82$REPL_HOST_NEBULOUS_TERTIARY  = "ippdb13.IfA.Hawaii.Edu";
     83$REPL_USER_NEBULOUS_TERTIARY  = "ippMonitor";
     84$REPL_PASSWORD_NEBULOUS_TERTIARY  = "ippMonitor";
     85$REPL_LABEL_NEBULOUS_TERTIARY  = "ippdb13 nebulous repl3";
     86
     87$HOST_PSTAMP  = "ipp113.IfA.Hawaii.Edu";
     88$USER_PSTAMP  = "ipp";
     89$PASSWORD_PSTAMP  = "ipp";
     90$LABEL_PSTAMP  = "ipp113 (ippRequestServer)";
     91
     92$REPL_HOST_DATASTORE  = "ipp117.IfA.Hawaii.Edu";
     93$REPL_USER_DATASTORE  = "ipp";
     94$REPL_PASSWORD_DATASTORE  = "ipp";
     95$REPL_LABEL_DATASTORE  = "ipp117 (datastore replicant)";
    10196
    10297//Important machines that should be checked for accessibiltiy
    10398$HOST_GATEWAY  = "ipp113.IfA.Hawaii.Edu";
    104 $DBNAME_GATEWAY  = "ipp113 (gateway server)";
     99$LABEL_GATEWAY  = "ipp113 (gateway server)";
    105100
    106101$HOST_GATEWAY_SECONDARY  = "ipp117.IfA.Hawaii.Edu";
    107 $DBNAME_GATEWAY_SECONDARY  = "ipp117 (gateway backup)";
     102$LABEL_GATEWAY_SECONDARY  = "ipp117 (gateway backup)";
     103
     104$HOST_PROXY  = "ippops1.IfA.Hawaii.Edu";
     105$LABEL_PROXY  = "ippops1 (proxy server)";
    108106
    109107$HOST_APACHE1  = "ippc33.IfA.Hawaii.Edu";
    110 $DBNAME_APACHE1  = "ippc33 (apache node)";
     108$LABEL_APACHE1  = "ippc33 (apache node)";
    111109
    112110$HOST_APACHE2  = "ippc34.IfA.Hawaii.Edu";
    113 $DBNAME_APACHE2  = "ippc34 (apache node)";
     111$LABEL_APACHE2  = "ippc34 (apache node)";
    114112
    115113$HOST_APACHE3  = "ippc35.IfA.Hawaii.Edu";
    116 $DBNAME_APACHE3  = "ippc35 (apache node)";
     114$LABEL_APACHE3  = "ippc35 (apache node)";
    117115
    118116$HOST_APACHE4  = "ippc43.IfA.Hawaii.Edu";
    119 $DBNAME_APACHE4  = "ippc43 (apache node)";
     117$LABEL_APACHE4  = "ippc43 (apache node)";
    120118
    121119$HOST_APACHE5  = "ippc44.IfA.Hawaii.Edu";
    122 $DBNAME_APACHE5  = "ippc44 (apache node)";
     120$LABEL_APACHE5  = "ippc44 (apache node)";
    123121
    124122$HOST_APACHE6  = "ippc45.IfA.Hawaii.Edu";
    125 $DBNAME_APACHE6  = "ippc45 (apache node)";
     123$LABEL_APACHE6  = "ippc45 (apache node)";
    126124
    127 $HOST_APACHE7  = "ippc36.IfA.Hawaii.Edu";
    128 $DBNAME_APACHE7 = "ippc36 (backup apache)";
     125$HOST_APACHE_BACKUP1  = "ippc36.IfA.Hawaii.Edu";
     126$LABEL_APACHE_BACKUP1 = "ippc36 (backup apache)";
    129127
    130 $HOST_APACHE8  = "ippc46.IfA.Hawaii.Edu";
    131 $DBNAME_APACHE8 = "ippc46 (backup apache)";
     128$HOST_APACHE_BACKUP2  = "ippc46.IfA.Hawaii.Edu";
     129$LABEL_APACHE_BACKUP2 = "ippc46 (backup apache)";
    132130
    133 $HOST_PROXY  = "ippops1.IfA.Hawaii.Edu";
    134 $DBNAME_PROXY  = "ippops1 (proxy server)";
     131$HOST_HOME  = "ipphome0.IfA.Hawaii.Edu";
     132$LABEL_HOME  = "ipphome0 (ITC homedir)";
     133
     134$HOST_HOME_BACKUP  = "ipphome0.IfA.Hawaii.Edu";
     135$LABEL_HOME_BACKUP  = "ipphome0 (ITC homedir)";
     136
     137$HOST_NAGIOS  = "ipphome0.IfA.Hawaii.Edu";
     138$LABEL_NAGIOS  = "ipphome0 (nagios/ITC home backup)";
    135139
    136140$HOST_SVN  = "ippops4.IfA.Hawaii.Edu";
    137 $DBNAME_SVN  = "ippops4 (svn server)";
     141$LABEL_SVN  = "ippops4 (svn server)";
    138142
    139143$HOST_CONFLUENCE  = "ippops4.IfA.Hawaii.Edu";
    140 $DBNAME_CONFLUENCE  = "ippops4 (confluence/JIRA)";
     144$LABEL_CONFLUENCE  = "ippops4 (confluence/Jira)";
    141145
    142 $HOST_NAGIOS  = "ipphome0.IfA.Hawaii.Edu";
    143 $DBNAME_NAGIOS  = "ipphome0 (nagios/ITC home backup)";
    144 
    145 $HOST_HOME  = "ipphome0.IfA.Hawaii.Edu";
    146 $DBNAME_HOME  = "ipphome0 (ITC homedir)";
     146$HOST_MAILMAN  = "ippops3.IfA.Hawaii.Edu";
     147$LABEL_MAILMAN  = "ippops3 (mailman)";
    147148
    148149?>
Note: See TracChangeset for help on using the changeset viewer.