Changeset 42272 for trunk/ippMonitor
- Timestamp:
- Sep 1, 2022, 2:04:44 PM (4 years ago)
- Location:
- trunk/ippMonitor
- Files:
-
- 3 added
- 5 edited
-
Makefile.in (modified) (1 diff)
-
def/autocodeImage.php (modified) (1 diff)
-
raw/czartool_labels.php (modified) (10 diffs)
-
raw/ganglia.php (added)
-
raw/ipp.czar.dat (modified) (1 diff)
-
raw/ipp.plots.dat (modified) (1 diff)
-
raw/skycoverage.php (added)
-
raw/storage.php (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippMonitor/Makefile.in
r41730 r42272 85 85 $(DESTWWW)/show_log.php \ 86 86 $(DESTWWW)/heathers_plot.php \ 87 $(DESTWWW)/storage.php \ 88 $(DESTWWW)/skycoverage.php \ 87 89 $(DESTWWW)/loader.js 88 90 -
trunk/ippMonitor/def/autocodeImage.php
r39498 r42272 115 115 foreach ($row as $i => $value) { 116 116 switch ($value) { 117 case 'g.00002': 118 $filter = 1; 119 break; 120 case 'r.00002': 121 $filter = 2; 122 break; 123 case 'i.00002': 124 $filter = 3; 125 break; 126 case 'z.00002': 127 $filter = 4; 128 break; 129 case 'y.00002': 130 $filter = 5; 131 break; 132 case 'w.00002': 133 $filter = 6; 134 break; 117 135 case 'g.00000': 118 136 $filter = 1; -
trunk/ippMonitor/raw/czartool_labels.php
r42180 r42272 207 207 $ganglia = "http://ganglia.pan-starrs.ifa.hawaii.edu"; 208 208 $svnlink = "https://svn.pan-starrs.ifa.hawaii.edu/trac/ipp"; 209 $conflink = "https:// confluence.ipp.ifa.hawaii.edu";210 $jiralink = "https:// jira.ipp.ifa.hawaii.edu";209 $conflink = "https://panstarrs.atlassian.net"; 210 $jiralink = "https://panstarrs.atlassian.net"; 211 211 $hsttime1 = date("Y-m-d H:i:s", strtotime("$lastUpdateTime")); 212 212 $utctime1 = gmdate("Y-m-d H:i:s", strtotime("$lastUpdateTime")); … … 241 241  |  <a href=\"$ganglia/?m=mem_report&r=hour&s=by%2520name&c=IPP+Production&h=&sh=1&hc=8&z=small\" target=new> <font color=\"blue\">Memory_reports</font></a></td></tr>"; 242 242 echo "<tr><td>Documentations for IPP</td> 243 <td><a href=\"$conflink/ pages/viewrecentblogposts.action?key=IPPCZAR\" target=new><font color=\"blue\">Czarblog</font></a>244  |  <a href=\"$conflink/ display/IPPCZAR/IPP-Czaring+Home\" target=new><font color=\"blue\">Confluence</font></a>245  |  <a href=\"$jiralink/ projects/IPP/issues/filter=allissues\" target=new><font color=\"blue\">Jira</font></a>243 <td><a href=\"$conflink/wiki/spaces/IPPCZAR/pages/679903282/Czarblog+Roll\" target=new><font color=\"blue\">Czarblog</font></a> 244  |  <a href=\"$conflink/wiki/spaces/IPPCZAR/overview\" target=new><font color=\"blue\">Confluence</font></a> 245  |  <a href=\"$jiralink/issues/?filter=-4\" target=new><font color=\"blue\">Jira</font></a> 246 246  |  <a href=\"$svnlink/\" target=new><font color=\"blue\">trac</font></a></td></tr>"; 247 247 echo "<tr><td>Current nightly science status</td> … … 288 288 showReplicationsStatus($REPL_HOST_NEBULOUS_SECONDARY, $REPL_USER_NEBULOUS_SECONDARY, $REPL_PASSWORD_NEBULOUS_SECONDARY, $REPL_LABEL_NEBULOUS_SECONDARY); 289 289 showReplicationsStatus($REPL_HOST_NEBULOUS_TERTIARY, $REPL_USER_NEBULOUS_TERTIARY, $REPL_PASSWORD_NEBULOUS_TERTIARY, $REPL_LABEL_NEBULOUS_TERTIARY); 290 showReplicationsStatus($REPL_HOST_NEBULOUS_QUATERNARY, $REPL_USER_NEBULOUS_QUATERNARY, $REPL_PASSWORD_NEBULOUS_QUATERNARY, $REPL_LABEL_NEBULOUS_QUATERNARY); 290 291 // other dbs 291 292 showDatabaseStatus($HOST_PSTAMP, $USER_PSTAMP, $PASSWORD_PSTAMP, $LABEL_PSTAMP); … … 364 365 # gnuplots 365 366 # time series plot 366 #echo "<img src=\"czartool_getplot.php?mode=$selectedMode&type=t&label=$selectedLabel&proj=$proj&stage=$selectedStage&plottype=linear\"><br><br>";367 #echo "<img src=\"czartool_getplot.php?mode=$selectedMode&type=t&label=$selectedLabel&proj=$proj&stage=$selectedStage&plottype=log\"><br><br>";367 echo "<img src=\"czartool_getplot.php?mode=$selectedMode&type=t&label=$selectedLabel&proj=$proj&stage=$selectedStage&plottype=linear\"><br><br>"; 368 echo "<img src=\"czartool_getplot.php?mode=$selectedMode&type=t&label=$selectedLabel&proj=$proj&stage=$selectedStage&plottype=log\"><br><br>"; 368 369 # rate series plot 369 #echo "<img src=\"czartool_getplot.php?mode=$selectedMode&type=rt&label=$selectedLabel&proj=$proj&stage=$selectedStage&plottype=linear\"><br><br>";370 echo "<img src=\"czartool_getplot.php?mode=$selectedMode&type=rt&label=$selectedLabel&proj=$proj&stage=$selectedStage&plottype=linear\"><br><br>"; 370 371 #for dev version 371 372 # google chart … … 382 383 } 383 384 384 385 385 # data quality timeseries 386 386 echo getDataQuality($projectdb); 387 387 # storage timeseries 388 echo getSpaces($czardb);388 #echo getSpaces($czardb); 389 389 # storage plot 390 echo getHosts($czardb);390 #echo getHosts($czardb); 391 391 392 392 # timer for main page end … … 1727 1727 1728 1728 $sql = "select format(used/total*100,1), usable from cluster_space order by timestamp desc limit 1;"; 1729 1730 1729 if ($debug) {echo "$sql<br>";} 1731 1730 $qry = $db->query($sql); … … 1810 1809 } 1811 1810 1812 1813 1811 ########################################################################### 1814 1812 # … … 1823 1821 $start = $time; 1824 1822 1823 $date = gmdate("Y-m-d"); 1824 $sql = "SELECT MAX(exp_id) FROM rawExp WHERE dateobs >= date_sub('$date', interval 20 day) AND dateobs <= date_sub('$date', interval 10 day)"; 1825 $qry = $db->query($sql); 1826 if (dberror($qry)) { 1827 print "*** WARNING: no data in period 10-20 days before requested date (query will be slower) **\n"; 1828 $refExpID = 0; 1829 } 1830 $qry->fetchInto($refExpID); 1831 if ($refExpID[0] = 'NULL') { 1832 $refExpID[0] = 0; 1833 } 1834 1825 1835 #Query for the needed data 1826 1836 $DQarray = array(); … … 1829 1839 # $sql.= " WHERE (rawExp.dateobs > utc_date() - INTERVAL 14 hour) and (rawExp.dateobs < utc_date() + INTERVAL 10 hour)"; 1830 1840 $sql.= " WHERE (rawExp.dateobs > utc_date())"; 1841 $sql.= " AND exp_id > $refExpID[0]"; 1831 1842 $sql.= " AND exp_type = 'OBJECT' AND camRun.state like 'full' ORDER BY dateobs asc;"; 1832 1843 if ($debug) {echo "$sql<br>";} … … 2070 2081 echo " vAxis: { "; 2071 2082 echo " title: 'Zeropoint offset (mag)',"; 2072 echo " viewWindow: { min: -0. 5, max: 0.5 }, ";2083 echo " viewWindow: { min: -0.25, max: 0.25 }, "; 2073 2084 echo " },"; 2074 2085 echo " chartArea: {left:80, top:50, right:20, bottom:50},"; -
trunk/ippMonitor/raw/ipp.czar.dat
r40840 r42272 1 input | ipp.menu.dat1 input | ipp.menu.dat 2 2 3 menutop | menutop | plain | |3 menutop | menutop | plain | | 4 4 5 menulink | menuselect | link | czartool | czartool_labels.php 6 menulink | menuselect | link | mask stats | maskStats.php 7 menulink | menuselect | link | night summary | nightSummary.php 8 menutop | menutop | plain | | 9 menulink | menuselect | link | Exposures Status | exposureStatus.php 10 menulink | menuselect | link | MOPS Exposures Status | mopsStatus.php 11 menulink | menuselect | link | MySql ProcessList | gpc1MysqlProcessList.php 5 menulink | menuselect | link | czartool | czartool_labels.php 6 menulink | menuselect | link | storage only | storage.php 7 menulink | menuselect | link | mask stats | maskStats.php 8 menulink | menuselect | link | night summary | nightSummary.php 9 menulink | menuselect | link | skycoverage | skycoverage.php 10 menulink | menuselect | link | ganglia | ganglia.php 12 11 12 menutop | menutop | plain | | 13 14 menulink | menuselect | link | Exposures Status | exposureStatus.php 15 menulink | menuselect | link | MOPS Exposures Status | mopsStatus.php 16 menulink | menuselect | link | MySql ProcessList | gpc1MysqlProcessList.php 17 -
trunk/ippMonitor/raw/ipp.plots.dat
r41202 r42272 11 11 menulink | menuselect | link | Simple plot - diff | simplePlotDiffImage.php 12 12 menulink | menuselect | link | Subset plot - diff | subsetPlotDiffImage.php 13 menulink | menuselect | link | Heather's Plots | heathers_plot.php14 13 15 14 menutop | menutop | plain | |
Note:
See TracChangeset
for help on using the changeset viewer.
