IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 5, 2012, 3:47:31 PM (14 years ago)
Author:
eugene
Message:

merge changes from trunk

Location:
branches/eam_branches/ipp-20120805/ippMonitor
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20120805/ippMonitor

  • branches/eam_branches/ipp-20120805/ippMonitor/def/failedChipProcessedImfile.d

    r32028 r34393  
    2020ARGS  ARG3 class=$chipProcessedImfile.class_id
    2121
    22 OP    OP1  ( $chipProcessedImfile.fault == 2 ? "chip.revert.on and chip.revert.off" : "chiptool -revertprocessedimfile -fault $chipProcessedImfile.fault -label $chipRun.label -dbname ". $ID['proj'] )
     22OP    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'] )
    2323
    2424#     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.magicked
     1TABLE 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)
    22TITLE MOPS Status
    33FILE mopsStatus.php
     
    66
    77UNRESTRICTED WHERE dateobs>=DATE(NOW()) AND rawExp.obs_mode!='ENGINEERING' AND rawExp.obs_mode!='STS' AND rawExp.obs_mode!='M31' AND rawExp.obs_mode!='CNP'
     8RESTRICT_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'
    89
    910# OP  OP1   ($ddiff_id > 0 ? $ddiff_id : $tdiff_id)
     
    1213# $diffInput.diff_id+$diffTemplate.diff_id
    1314# PUB ID
    14 OP OP2 ($row[12]>$row[13]?$row[12]. "(I)":($row[13]!=0?$row[13]. "(T)":"0"))
    15 #($row[13]>$row[14])
     15OP OP2 ($row[10]>$row[11]?$row[10]. "(I)":($row[11]!=0?$row[11]. "(T)":"0"))
     16#($row[11]>$row[12])
    1617
    1718#     field                    width format  name          show         link to                   extras
     
    2021FIELD rawExp.exp_id,           5,    %d,     Exp ID
    2122FIELD 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)
     23FIELD chip_id,                 5,    %d,     Chip ID (1/6)
     24FIELD camRun.cam_id AS camID,                  5,    %d,     Cam ID (2/6)
     25FIELD fake_id,                 5,    %d,     Fake ID (3/6)
     26FIELD warp_id,                 5,    %d,     Warp ID (4/6)
    2627FIELD diffInput.diff_id AS ddiff_id,       5,    %d,     ddiff_id, none
    2728FIELD 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)
     29FIELD *,                       5,    %s,     Diff ID (5/6),             op=OP1
    3130FIELD publishRun.pub_id AS pubId1,       5,    %d,     pubId1, none
    3231FIELD pubRun2.pub_id AS pubId2,       5,    %d,     pubId2, none
    33 FIELD *,                        10, %s, Pub ID, op=OP2
     32FIELD *,                        10, %s, Pub ID (6/6), op=OP2
    3433FIELD filter,                  5,    %s,     Filter
    3534FIELD object,                  15,    %s,     Object
  • branches/eam_branches/ipp-20120805/ippMonitor/raw/czartool_labels.php

    r34249 r34393  
    169169echo "<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>";
    170170echo "<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>";
     171echo "<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>";
    172172echo "<tr><td>Files monitor</td><td><a href=\"http://ippmonitor.ipp.ifa.hawaii.edu/diskMonitor\"><font color=\"blue\">here</font></a></td></tr>";
    173173echo "<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  
    3535
    3636    # Don't change anything after this
    37     db = MySQLdb.connect('localhost', 'root')
     37    db = MySQLdb.connect('localhost', 'root', connect_timeout=1000)
    3838    cursor = db.cursor()
    3939    cursor.execute('SHOW SLAVE STATUS')
Note: See TracChangeset for help on using the changeset viewer.