Changeset 41678 for trunk/ippMonitor
- Timestamp:
- Jul 1, 2021, 7:40:56 PM (5 years ago)
- Location:
- trunk/ippMonitor/raw
- Files:
-
- 2 edited
-
czartool_labels.php (modified) (2 diffs)
-
site.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippMonitor/raw/czartool_labels.php
r41677 r41678 278 278 createTableColumnHeader("Database"); 279 279 createTableColumnHeader("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 281 showDatabaseStatus($HOST_GPC1, $USER_GPC1, $PASSWORD_GPC1, $LABEL_GPC1); 282 showReplicationsStatus($REPL_HOST_GPC1, $REPL_USER_GPC1, $REPL_PASSWORD_GPC1, $REPL_LABEL_GPC1); 283 showReplicationsStatus($REPL_HOST_GPC1_SECONDARY, $REPL_USER_GPC1_SECONDARY, $REPL_PASSWORD_GPC1_SECONDARY, $REPL_LABEL_GPC1_SECONDARY); 284 showReplicationsStatus($REPL_HOST_GPC1_TERTIARY, $REPL_USER_GPC1_TERTIARY, $REPL_PASSWORD_GPC1_TERTIARY, $REPL_LABEL_GPC1_TERTIARY); 285 // nebulous dbs 286 showDatabaseStatus($HOST_NEBULOUS, $USER_NEBULOUS, $PASSWORD_NEBULOUS, $LABEL_NEBULOUS); 287 showReplicationsStatus($REPL_HOST_NEBULOUS, $REPL_USER_NEBULOUS, $REPL_PASSWORD_NEBULOUS, $REPL_LABEL_NEBULOUS); 288 showReplicationsStatus($REPL_HOST_NEBULOUS_SECONDARY, $REPL_USER_NEBULOUS_SECONDARY, $REPL_PASSWORD_NEBULOUS_SECONDARY, $REPL_LABEL_NEBULOUS_SECONDARY); 289 showReplicationsStatus($REPL_HOST_NEBULOUS_TERTIARY, $REPL_USER_NEBULOUS_TERTIARY, $REPL_PASSWORD_NEBULOUS_TERTIARY, $REPL_LABEL_NEBULOUS_TERTIARY); 290 // other dbs 291 showDatabaseStatus($HOST_PSTAMP, $USER_PSTAMP, $PASSWORD_PSTAMP, $LABEL_PSTAMP); 292 showReplicationsStatus($REPL_HOST_DATASTORE, $REPL_USER_DATASTORE, $REPL_PASSWORD_DATASTORE, $REPL_LABEL_DATASTORE); 289 293 290 294 // timer finished … … 316 320 createTableColumnHeader("Status"); 317 321 createTableColumnHeader("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); 322 showPingStatus($HOST_GATEWAY, $LABEL_GATEWAY); 323 showPingStatus($HOST_GATEWAY_SECONDARY, $LABEL_GATEWAY_SECONDARY); 324 showPingStatus($HOST_PROXY, $LABEL_PROXY); 325 showPingStatus($HOST_APACHE1, $LABEL_APACHE1); 326 showPingStatus($HOST_APACHE2, $LABEL_APACHE2); 327 showPingStatus($HOST_APACHE3, $LABEL_APACHE3); 328 showPingStatus($HOST_APACHE4, $LABEL_APACHE4); 329 showPingStatus($HOST_APACHE5, $LABEL_APACHE5); 330 showPingStatus($HOST_APACHE6, $LABEL_APACHE6); 331 showPingStatus($HOST_APACHE_BACKUP1, $LABEL_APACHE_BACKUP1); 332 showPingStatus($HOST_APACHE_BACKUP2, $LABEL_APACHE_BACKUP2); 333 showPingStatus($HOST_HOME, $LABEL_HOME); 334 showPingStatus($HOST_HOME_BACKUP, $LABEL_HOME_BACKUP); 335 showPingStatus($HOST_NAGIOS, $LABEL_NAGIOS); 336 showPingStatus($HOST_SVN, $LABEL_SVN); 337 showPingStatus($HOST_CONFLUENCE, $LABEL_CONFLUENCE); 338 showPingStatus($HOST_MAILMAN, $LABEL_MAILMAN); 333 339 // echo "<td>ippc70 (apache node) <td> $PingStatus <td> 0 seconds "; // comment out if ippc70 is back 334 340 // timer finished -
trunk/ippMonitor/raw/site.php
r41677 r41678 4 4 // values below are set based on the binary, etc paths. 5 5 6 $WWWHOST = "ipp11 7.ifa.hawaii.edu";6 $WWWHOST = "ipp113.ifa.hawaii.edu"; 7 7 8 8 $PERLLIB = "/data/ippc64.1/ippitc/psconfig/ipp-20170121.lin64/lib"; … … 45 45 $DELETION_DELAY = 15; 46 46 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 77 47 $HOST_GPC1 = "ippdb05.IfA.Hawaii.Edu"; 78 48 $USER_GPC1 = "ippMonitor"; 79 49 $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)"; 81 51 82 52 $REPL_HOST_GPC1 = "ippdb01.IfA.Hawaii.Edu"; 83 53 $REPL_USER_GPC1 = "ippMonitor"; 84 54 $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)"; 86 56 87 57 $REPL_HOST_GPC1_SECONDARY = "ippdb09.IfA.Hawaii.Edu"; 88 58 $REPL_USER_GPC1_SECONDARY = "ippMonitor"; 89 59 $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)"; 91 61 92 $REPL_HOST_GPC1_T HIRD= "ipp116.IfA.Hawaii.Edu";93 $REPL_USER_GPC1_T HIRD= "ippMonitor";94 $REPL_PASSWORD_GPC1_T HIRD= "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)"; 96 66 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)"; 101 96 102 97 //Important machines that should be checked for accessibiltiy 103 98 $HOST_GATEWAY = "ipp113.IfA.Hawaii.Edu"; 104 $ DBNAME_GATEWAY = "ipp113 (gateway server)";99 $LABEL_GATEWAY = "ipp113 (gateway server)"; 105 100 106 101 $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)"; 108 106 109 107 $HOST_APACHE1 = "ippc33.IfA.Hawaii.Edu"; 110 $ DBNAME_APACHE1 = "ippc33 (apache node)";108 $LABEL_APACHE1 = "ippc33 (apache node)"; 111 109 112 110 $HOST_APACHE2 = "ippc34.IfA.Hawaii.Edu"; 113 $ DBNAME_APACHE2 = "ippc34 (apache node)";111 $LABEL_APACHE2 = "ippc34 (apache node)"; 114 112 115 113 $HOST_APACHE3 = "ippc35.IfA.Hawaii.Edu"; 116 $ DBNAME_APACHE3 = "ippc35 (apache node)";114 $LABEL_APACHE3 = "ippc35 (apache node)"; 117 115 118 116 $HOST_APACHE4 = "ippc43.IfA.Hawaii.Edu"; 119 $ DBNAME_APACHE4 = "ippc43 (apache node)";117 $LABEL_APACHE4 = "ippc43 (apache node)"; 120 118 121 119 $HOST_APACHE5 = "ippc44.IfA.Hawaii.Edu"; 122 $ DBNAME_APACHE5 = "ippc44 (apache node)";120 $LABEL_APACHE5 = "ippc44 (apache node)"; 123 121 124 122 $HOST_APACHE6 = "ippc45.IfA.Hawaii.Edu"; 125 $ DBNAME_APACHE6 = "ippc45 (apache node)";123 $LABEL_APACHE6 = "ippc45 (apache node)"; 126 124 127 $HOST_APACHE 7= "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)"; 129 127 130 $HOST_APACHE 8= "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)"; 132 130 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)"; 135 139 136 140 $HOST_SVN = "ippops4.IfA.Hawaii.Edu"; 137 $ DBNAME_SVN = "ippops4 (svn server)";141 $LABEL_SVN = "ippops4 (svn server)"; 138 142 139 143 $HOST_CONFLUENCE = "ippops4.IfA.Hawaii.Edu"; 140 $ DBNAME_CONFLUENCE = "ippops4 (confluence/JIRA)";144 $LABEL_CONFLUENCE = "ippops4 (confluence/Jira)"; 141 145 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)"; 147 148 148 149 ?>
Note:
See TracChangeset
for help on using the changeset viewer.
