Closed stefa2k closed 1 year ago
Should follow the work for #571 to maybe offer some pre configured alerts
Color | ALERT | CONDITION |
---|---|---|
🟡 | STORAGE GETTING LOW! | Less than 200 GB available |
🟠| STORAGE LOW! | Less than 150 GB available |
🔴 | STORAGE VERY LOW! | Less than 100 GB available |
🟡 | HIGH RAM USAGE | More than 85% RAM in use |
🟠| VERY HIGH RAM USAGE | More than 95% RAM in use |
We can offer multiple sources for alerts, this should be considered.
Current Version:
Having taken more time, I edited the design to more fitting:
On the first open the user will be lead through the set up process. Including all information necessary.
After having set up one source the user will then be able to set up additional in the feature or delink the MOBILE NOTIFCATIONS. I don't know if there is a possibility to have access to the alert configuration in Stereum itself, if so I would like to make it possible to at least activate / deactivate a list of pre configured alerts. Adding them could be done in Grafana and they can kept in a alert folder. If the user desires more alerts, he always able to set up additional via Grafana. We will just provide a link via a button.
The mobile app "Stereum Node Monitor" is already available for iOS and Android and used in Stereum 1.
Stereum node needs to support one additional service: https://hub.docker.com/r/stereum/notifications A configuration example of the service in
docker-compose
: https://github.com/stereum-dev/ethereum2-docker-compose/blob/prater/compose-examples/lighthouse-only/override-examples/docker-compose.notifications.override.yaml#L20Also Grafana needs additional configuration: https://github.com/stereum-dev/ethereum2-docker-compose/blob/prater/config/grafana/provisioning-lh/notifiers/notifier.yaml
The service generates a qr code which includes the push notification id as well as the encryption key. The Stereum Launcher needs to show this qr code in the settings/config.
Tasks: