Changeset 42276 for trunk/ippMonitor
- Timestamp:
- Sep 2, 2022, 11:11:31 AM (4 years ago)
- Location:
- trunk/ippMonitor/raw
- Files:
-
- 3 edited
-
czartool_labels.php (modified) (4 diffs)
-
ipp.czar.dat (modified) (1 diff)
-
storage.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippMonitor/raw/czartool_labels.php
r42275 r42276 208 208 $svnlink = "https://svn.pan-starrs.ifa.hawaii.edu/trac/ipp"; 209 209 $conflink = "https://panstarrs.atlassian.net"; 210 $jiralink = "https://panstarrs.atlassian.net";211 210 $hsttime1 = date("Y-m-d H:i:s", strtotime("$lastUpdateTime")); 212 211 $utctime1 = gmdate("Y-m-d H:i:s", strtotime("$lastUpdateTime")); … … 242 241 echo "<tr><td>Documentations for IPP</td> 243 242 <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> 243  |  <a href=\"$conflink/wiki/spaces/IPPCZAR/pages/678634250/Czar+Guidelines\" target=new><font color=\"blue\">Czar guidelines</font></a> 244  |  <a href=\"$conflink/browse/IPP-86\" target=new><font color=\"blue\">ippMonitor Jira</font></a> 245  |  <a href=\"$conflink/wiki/spaces/IKB/pages/678298859/IPP+Hardware+Status\" target=new><font color=\"blue\">Hardware</font></a> 246 246  |  <a href=\"$svnlink/\" target=new><font color=\"blue\">trac</font></a> 247  |  <a href=\"$jiralink/browse/IPP-86\" target=new><font color=\"blue\">Jira-ippMonitor</font></a>248 247 </td></tr>"; 249 248 echo "<tr><td>Current nightly science status</td> … … 1616 1615 echo " <div style=\"font-size: 12px; height: 14px; border: 1px solid; background-color: #bbbbbb\"><center>Down | Repair</div>"; 1617 1616 echo " <div style=\"font-size: 12px; height: 14px; border: 1px solid; background-color: #ffffff\"><center>Power Off</div>"; 1618 echo " <div style=\"font-size: 12px; height: 14px; border: 1px solid; background-color: #ffffff\"><center>1619 <a href=\"https://confluence.ipp.ifa.hawaii.edu/display/IKB/IPP+Hardware+Status#IPPHardwareStatus-StorageNodes\" target=new><font color=\"blue\">Notes</font></a></div>";1620 1617 echo " </div>"; 1621 1618 echo "</div>"; … … 1630 1627 echo " 'free', {type: 'string', role: 'style'}, {type: 'string', role: 'tooltip', 'p': {'html': true}}],"; 1631 1628 1632 $sql = "SELECT host, format(total,1), format(available,2), format(used,2), writable, readable, format(used/total*100,2) FROM hosts ";1629 $sql = "SELECT host, format(total,1), format(available,2), format(used,2), writable, readable, format(used/total*100,2) FROM hosts order by host"; 1633 1630 if ($debug) {echo "$sql<br>";} 1634 1631 $qry = $db->query($sql); -
trunk/ippMonitor/raw/ipp.czar.dat
r42272 r42276 4 4 5 5 menulink | menuselect | link | czartool | czartool_labels.php 6 menulink | menuselect | link | storage only| storage.php6 menulink | menuselect | link | storage status | storage.php 7 7 menulink | menuselect | link | mask stats | maskStats.php 8 8 menulink | menuselect | link | night summary | nightSummary.php -
trunk/ippMonitor/raw/storage.php
r42272 r42276 65 65 echo " <div style=\"font-size: 12px; height: 14px; border: 1px solid; background-color: #bbbbbb\"><center>Down | Repair</div>"; 66 66 echo " <div style=\"font-size: 12px; height: 14px; border: 1px solid; background-color: #ffffff\"><center>Power Off</div>"; 67 echo " <div style=\"font-size: 12px; height: 14px; border: 1px solid; background-color: #ffffff\"><center>68 <a href=\"https://confluence.ipp.ifa.hawaii.edu/display/IKB/IPP+Hardware+Status#IPPHardwareStatus-StorageNodes\" target=new><font color=\"blue\">Notes</font></a></div>";69 67 echo " </div>"; 70 68 echo "</div>"; … … 79 77 echo " 'free', {type: 'string', role: 'style'}, {type: 'string', role: 'tooltip', 'p': {'html': true}}],"; 80 78 81 $sql = "SELECT host, format(total,1), format(available,2), format(used,2), writable, readable, format(used/total*100,2) FROM hosts ";79 $sql = "SELECT host, format(total,1), format(available,2), format(used,2), writable, readable, format(used/total*100,2) FROM hosts order by host"; 82 80 if ($debug) {echo "$sql<br>";} 83 81 $qry = $db->query($sql);
Note:
See TracChangeset
for help on using the changeset viewer.
