Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull status information from CSL Status Page #1211

Open
Laur04 opened this issue Dec 23, 2021 · 5 comments
Open

Pull status information from CSL Status Page #1211

Laur04 opened this issue Dec 23, 2021 · 5 comments

Comments

@Laur04
Copy link
Member

Laur04 commented Dec 23, 2021

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)

  • The framework from doing this is already present in emerg, it just needs to be slightly modified to grab info from Status as well.
  • In addition to the celery task that pulls emergency information, there might be a reason to allow administrators to manually trigger an update so that information stays up to date.
@dianalin2
Copy link
Contributor

Hi, can I take this one?

@Laur04
Copy link
Member Author

Laur04 commented Apr 20, 2022

Yep

@smayya337
Copy link
Member

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
Copy link
Member

smayya337 commented Apr 21, 2022

OK, try to use cState instead.

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

dianalin2 added a commit to dianalin2/ion that referenced this issue May 20, 2022
dianalin2 added a commit to dianalin2/ion that referenced this issue May 24, 2022
dianalin2 added a commit to dianalin2/ion that referenced this issue May 24, 2022
fix: fix unused imports

fix: add settings

style: move import json

style: pass isort

fix: parse fcps alerts as xml

fix: explicitly parse fcps emerg with xml

fix: add lxml to requirements.txt

build: update Ion.egg-info

fix: update rtd-requirements.txt

build: use updated setuptools

fix: add severity and duplicates filter, update status with csl issue

fix: remove FCPS from bottom right corner

build: fix PKG-INFO
Laur04 pushed a commit that referenced this issue May 24, 2022
fix: fix unused imports

fix: add settings

style: move import json

style: pass isort

fix: parse fcps alerts as xml

fix: explicitly parse fcps emerg with xml

fix: add lxml to requirements.txt

build: update Ion.egg-info

fix: update rtd-requirements.txt

build: use updated setuptools

fix: add severity and duplicates filter, update status with csl issue

fix: remove FCPS from bottom right corner

build: fix PKG-INFO
@alanzhu0 alanzhu0 changed the title Pull status information from CSL Stausfy Pull status information from CSL Status Page Aug 17, 2023
@alanzhu0
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants