tjcsl / ion

TJ Intranet 3
https://ion.tjhsst.edu
GNU General Public License v2.0
100 stars 87 forks source link

Pull status information from CSL Status Page #1211

Open Laur04 opened 2 years ago

Laur04 commented 2 years ago

Feature description

In addition to pulling FCPS emergency information, we should pull from https://status.tjhsst.edu.

Rationale for adding feature

Although sometimes issues result in Ion being down altogether, many have to do with other issues of the lab. Status isn't necessarily widely referenced by the student body, but Ion is and that makes it a better place for centralizing this information.

Suggested implementation(s) (if applicable)

dianalin2 commented 2 years ago

Hi, can I take this one?

Laur04 commented 2 years ago

Yep

smayya337 commented 2 years ago

Oops, I didn't realize which issue this was - @dianalin2 there's one problem to solve before you do this issue, which is that status.tjhsst.edu is broken and we need to replace it. (You're welcome to help me find a new status page that'll play nice with info pulling, though!)

smayya337 commented 2 years ago

OK, try to use cState instead.

E: site's up now at https://status.tjhsst.edu. You might find this useful.

alanzhu0 commented 1 year ago

Update: we now need to pull from CSL BetterUptime. https://betterstack.com/docs/uptime/api/getting-started-with-uptime-api/

Also, FCPS seems to have changed their alert format - we need to fix that too.