add stats
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Max Erenberg 2021-09-07 18:29:49 -04:00
parent 641e6a3f1c
commit 88227ea07c
2 changed files with 76 additions and 1 deletions

View File

@ -6,5 +6,13 @@ module.exports = withMDX({
pageExtensions: ["ts", "tsx", "mdx"],
trailingSlash: true,
basePath: process.env.NEXT_PUBLIC_BASE_PATH,
eslint: { ignoreDuringBuilds: true }
eslint: { ignoreDuringBuilds: true },
rewrites: async () => {
return [
{
source: '/stats(/?)',
destination: '/stats.html',
},
];
},
});

67
public/stats.html Normal file
View File

@ -0,0 +1,67 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Network Statistics</title>
<style type="text/css">
body {
}
td.stats1 {
padding: 6px 2px 6px 2px;
}
td.stats1, td.stats2 {
text-align: center;
font-size: 16px;
}
table {
margin-left: auto; margin-right: auto;
}
</style>
</head>
<body>
<table>
<tr>
<td colspan="3" class="stats2">IST:
<a href="https://ns-info.uwaterloo.ca/netstats/">Router Graphs</a> |
<a href="https://uwaterloo.ca/information-systems-technology/about/organizational-structure/technology-integrated-services-tis/network-services-resources">IST Network Services</a>
</td>
</tr>
<tr><td>&nbsp;</td></tr>
<tr><td><h3>EXTERNAL DEVICES</h3></td></tr>
<tr>
<td class="stats1">
<b>EXT-RT-MC (Rogers, 10 Gbps)</b><br/>
<img src="https://ns-info.uwaterloo.ca/cgi-bin/14all.cgi?log=ext-rt-mc_tengige0_0_2_2&cfg=ext-rt-mc.cfg&png=day.s&small=1" alt="Rogers Interfaces (10 Gbps)"/>
</td>
<td class="stats1">
<b>EXT-RT-MC (ORION, 10 Gbps)</b><br/>
<img src="https://ns-info.uwaterloo.ca/cgi-bin/14all.cgi?log=ext-rt-mc_tengige0_0_2_3&cfg=ext-rt-mc.cfg&png=day.s&small=1" alt="ORION Interfaces (10 Gbps)" />
</td>
<td class="stats1">
<b>EXT-RT-RAC (OpenFace, 10 Gbps)</b><br/>
<img src="https://ns-info.uwaterloo.ca/cgi-bin/14all.cgi?log=ext-rt-rac_tengige0_0_2_2&cfg=ext-rt-rac.cfg&png=day.s&small=1" alt="OpenFace Interface (10 Gbps)" />
</td>
</tr>
<tr><td>&nbsp;</td></tr>
<tr><td><h3>CORE DEVICES</h3></td></tr>
<tr>
<td class="stats1">
<b>CN-RT-MC (10 Gbps)</b><br/>
<img src="https://ns-info.uwaterloo.ca/cgi-bin/14all.cgi?log=cn-rt-mc_te1_4&cfg=cn-rt-mc.cfg&png=day.s&small=1" alt="CN-RT-MC" />
</td>
<td class="stats1">
<b>CN-RT-RAC (10 Gbps)</b><br/>
<img src="https://ns-info.uwaterloo.ca/cgi-bin/14all.cgi?log=cn-rt-rac_te1_4&cfg=cn-rt-rac.cfg&png=day.s&small=1" alt="CN-RT-RAC" />
</td>
</tr>
</table>
</body>
</html>