Open samcro1967 opened 3 months ago
in your glance.yml add section theme and add value negative-color: 52 99 56
That changes both error and unauthorized to yellow. Looking to be able to have error be red and unauthorized be yellow.
Hey,
I did initially plan on having a 3rd indicator color for things between positive and negative, such as notice or warning color, though ultimately decided against it for a couple of reasons.
For this use case what might make more sense is having the option to request a different URL to the one that the link points to so that you can bypass authorization and check status for the login page while still going to the home page when clicking on the link.
That will work for one of my use cases where an app does have a public accessible healthcheck page. Some other apps have an API that can also be used to perform a healthcheck. So an alternate link to check the health makes sense.
It does not appear that any of the hardware (router, switch, NAS, etc.) I have setup in monitor have either of those 2 options so it would not help in that scenario.
As an alternative would it be possible for an additional property that allows alternative status codes? Sort of like how Dashy does it? https://dashy.to/docs/status-indicators/#allowing-alternative-status-codes
Would like to see the status symbol changed from the red caution icon to a yellow caution icon when a site is reachable, but unauthorized access is detected. Will then make it quicker to scroll through a page of links and determine if any are unreachable distinguishing them from sites that are reachable, but not authorized based on color.
From:
To something like this: