Changeset 34393 for branches/eam_branches/ipp-20120805/ippMonitor
- Timestamp:
- Sep 5, 2012, 3:47:31 PM (14 years ago)
- Location:
- branches/eam_branches/ipp-20120805/ippMonitor
- Files:
-
- 5 edited
-
. (modified) (1 prop)
-
def/failedChipProcessedImfile.d (modified) (1 diff)
-
def/mopsStatus.d (modified) (4 diffs)
-
raw/czartool_labels.php (modified) (1 diff)
-
supervision/check_if_mysql_slave_is_running_fine.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20120805/ippMonitor
- Property svn:mergeinfo changed
/trunk/ippMonitor (added) merged: 34295,34305-34306,34316
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-20120805/ippMonitor/def/failedChipProcessedImfile.d
r32028 r34393 20 20 ARGS ARG3 class=$chipProcessedImfile.class_id 21 21 22 OP OP1 ( $chipProcessedImfile.fault == 2 ? " chip.revert.on and chip.revert.off": "chiptool -revertprocessedimfile -fault $chipProcessedImfile.fault -label $chipRun.label -dbname ". $ID['proj'] )22 OP OP1 ( $chipProcessedImfile.fault == 2 ? "(chip.revert.on and chip.revert.off) or chiptool -revertprocessedimfile -fault $chipProcessedImfile.fault -label $chipRun.label -dbname ". $ID['proj'] : "chiptool -revertprocessedimfile -fault $chipProcessedImfile.fault -label $chipRun.label -dbname ". $ID['proj'] ) 23 23 24 24 # field size format name show link to extras -
branches/eam_branches/ipp-20120805/ippMonitor/def/mopsStatus.d
r33846 r34393 1 TABLE rawExp LEFT JOIN chipRun using(exp_id) LEFT JOIN camRun using(chip_id) LEFT JOIN fakeRun using(cam_id) LEFT JOIN warpRun using(fake_id) LEFT JOIN diffInputSkyfile AS diffInput ON diffInput.warp1 = warp_id LEFT JOIN diffRun AS diffInputRun ON diffInput.diff_id = diffInputRun.diff_id LEFT JOIN diffInputSkyfile AS diffTemplate ON diffTemplate.warp2 = warp_id LEFT JOIN diffRun AS diffTemplateRun ON diffTemplate.diff_id = diffTemplateRun.diff_id LEFT JOIN publishRun ON stage_id=diffInput.diff_id AND (client_id=1 OR client_id=5) LEFT JOIN publishRun AS pubRun2 ON pubRun2.stage_id=diffTemplate.diff_id AND (pubRun2.client_id=1 OR pubRun2.client_id=5) LEFT JOIN magicDSRun ON magicDSRun.magic_ds_id=camRun.magicked1 TABLE rawExp LEFT JOIN chipRun using(exp_id) LEFT JOIN camRun using(chip_id) LEFT JOIN fakeRun using(cam_id) LEFT JOIN warpRun using(fake_id) LEFT JOIN diffInputSkyfile AS diffInput ON diffInput.warp1 = warp_id LEFT JOIN diffRun AS diffInputRun ON diffInput.diff_id = diffInputRun.diff_id LEFT JOIN diffInputSkyfile AS diffTemplate ON diffTemplate.warp2 = warp_id LEFT JOIN diffRun AS diffTemplateRun ON diffTemplate.diff_id = diffTemplateRun.diff_id LEFT JOIN publishRun ON stage_id=diffInput.diff_id AND (client_id=1 OR client_id=5) LEFT JOIN publishRun AS pubRun2 ON pubRun2.stage_id=diffTemplate.diff_id AND (pubRun2.client_id=1 OR pubRun2.client_id=5) 2 2 TITLE MOPS Status 3 3 FILE mopsStatus.php … … 6 6 7 7 UNRESTRICTED WHERE dateobs>=DATE(NOW()) AND rawExp.obs_mode!='ENGINEERING' AND rawExp.obs_mode!='STS' AND rawExp.obs_mode!='M31' AND rawExp.obs_mode!='CNP' 8 RESTRICT_COUNT WHERE dateobs>=DATE(NOW()) AND rawExp.obs_mode!='ENGINEERING' AND rawExp.obs_mode!='STS' AND rawExp.obs_mode!='M31' AND rawExp.obs_mode!='CNP' 8 9 9 10 # OP OP1 ($ddiff_id > 0 ? $ddiff_id : $tdiff_id) … … 12 13 # $diffInput.diff_id+$diffTemplate.diff_id 13 14 # PUB ID 14 OP OP2 ($row[1 2]>$row[13]?$row[12]. "(I)":($row[13]!=0?$row[13]. "(T)":"0"))15 #($row[1 3]>$row[14])15 OP OP2 ($row[10]>$row[11]?$row[10]. "(I)":($row[11]!=0?$row[11]. "(T)":"0")) 16 #($row[11]>$row[12]) 16 17 17 18 # field width format name show link to extras … … 20 21 FIELD rawExp.exp_id, 5, %d, Exp ID 21 22 FIELD chipRun.data_group, 5, %s, Data grp 22 FIELD chip_id, 5, %d, Chip ID ( Stage 1)23 FIELD camRun.cam_id AS camID, 5, %d, Cam ID ( Stage 2)24 FIELD fake_id, 5, %d, Fake ID ( Stage 3)25 FIELD warp_id, 5, %d, Warp ID ( Stage 4)23 FIELD chip_id, 5, %d, Chip ID (1/6) 24 FIELD camRun.cam_id AS camID, 5, %d, Cam ID (2/6) 25 FIELD fake_id, 5, %d, Fake ID (3/6) 26 FIELD warp_id, 5, %d, Warp ID (4/6) 26 27 FIELD diffInput.diff_id AS ddiff_id, 5, %d, ddiff_id, none 27 28 FIELD diffTemplate.diff_id AS tdiff_id, 5, %d, tdiff_id, none 28 FIELD *, 5, %s, Diff ID (Stage 5), op=OP1 29 FIELD camRun.magicked, 5, %d, Magick ID (Stage 6) 30 FIELD magicDSRun.magic_ds_id, 5, %d, DestreakID (Stage 7) 29 FIELD *, 5, %s, Diff ID (5/6), op=OP1 31 30 FIELD publishRun.pub_id AS pubId1, 5, %d, pubId1, none 32 31 FIELD pubRun2.pub_id AS pubId2, 5, %d, pubId2, none 33 FIELD *, 10, %s, Pub ID , op=OP232 FIELD *, 10, %s, Pub ID (6/6), op=OP2 34 33 FIELD filter, 5, %s, Filter 35 34 FIELD object, 15, %s, Object -
branches/eam_branches/ipp-20120805/ippMonitor/raw/czartool_labels.php
r34249 r34393 169 169 echo "<tr><td>Documentation</td><td><a href=\"http://svn.pan-starrs.ifa.hawaii.edu/trac/ipp/wiki/Processing\"><font color=\"blue\">here</font></a></td></tr>"; 170 170 echo "<tr><td>Cluster load</td><td><a href=\"http://ganglia.pan-starrs.ifa.hawaii.edu/?r=hour&s=descending&hc=6&c=IPP%2520Production\"><font color=\"blue\">here</font></a> <a href=\"http://ganglia.pan-starrs.ifa.hawaii.edu/?m=cpu_report&r=hour&s=by%2520name&c=IPP+Production&h=&sh=1&hc=8&z=small\"><font color=\"blue\">cpu_report</font></a> <a href=\"http://ganglia.pan-starrs.ifa.hawaii.edu/?m=mem_report&r=hour&s=by%2520name&c=IPP+Production&h=&sh=1&hc=8&z=small\"><font color=\"blue\">mem_report</font></a></td></tr>"; 171 echo "<tr><td>Who's using the cluster?</td><td><a href=\"http://ippmonitor.ipp.ifa.hawaii.edu/ippMonitor/clusterMonitor/top.html\"><font color=\"blue\">here</font></a> </td></tr>";171 echo "<tr><td>Who's using the cluster?</td><td><a href=\"http://ippmonitor.ipp.ifa.hawaii.edu/ippMonitor/clusterMonitor/top.html\"><font color=\"blue\">here</font></a> <a href=\"http://ippmonitor.ipp.ifa.hawaii.edu/ippMonitor/clusterMonitor2\"><font color=\"blue\">new</font></td></tr>"; 172 172 echo "<tr><td>Files monitor</td><td><a href=\"http://ippmonitor.ipp.ifa.hawaii.edu/diskMonitor\"><font color=\"blue\">here</font></a></td></tr>"; 173 173 echo "<tr><td>IPP metrics</td><td><a href=\"http://ipp0022.ifa.hawaii.edu/ps1sc/ippMetrics\"><font color=\"blue\">here</font></a></td></tr>"; -
branches/eam_branches/ipp-20120805/ippMonitor/supervision/check_if_mysql_slave_is_running_fine.py
r34017 r34393 35 35 36 36 # Don't change anything after this 37 db = MySQLdb.connect('localhost', 'root' )37 db = MySQLdb.connect('localhost', 'root', connect_timeout=1000) 38 38 cursor = db.cursor() 39 39 cursor.execute('SHOW SLAVE STATUS')
Note:
See TracChangeset
for help on using the changeset viewer.
