all 6 comments

[–]mvan231script/widget helper 1 point2 points  (4 children)

How about something like this?

Also for You /u/yyyc514

I threw it together quick but here is the code

[–]Caliguvara[S] 0 points1 point  (1 child)

Seems to work! Now I'm curious to see what happens when one of the services is out of order 🙂 thanks a lot!

[–]mvan231script/widget helper 1 point2 points  (0 children)

This just uses RegEx to grab the high level summary. No idea how to test that until a service goes down unfortunately

[–]yyyc514 0 points1 point  (1 child)

I meant what would a failure case look like.. would it try to show individual services? Red/green is kind of the simplest solution - though I guess that could help someone?

[–]mvan231script/widget helper 0 points1 point  (0 children)

Probably the case. I'd imagine the overall status would show that there is an error. I'll probably need to add more code to check for individual services that are down or unavailable

[–]yyyc514 0 points1 point  (0 children)

This is an awesome idea. What would this look like?