Alert Manager
Curio alert manager setup and configuration
Curio has an AlertManager task which runs every 1 hour and allows Curio cluster to alert users about certain issues in the cluster.
Currently, Curio supports the alert for following issues:
Wallet balance is below 5 Fil.
If not WindowPost task is run for a deadline.
If an orphan block is found or if no WinningPost task is not created for any epoch.
If permanent storage does not have enough space to accommodate the sectors currently being sealed.
The AlertManager is a plugin based module and allows integration with any plugin. As of now, Curio has 2 plugins available. Alerts generated can be send to multiple plugins at the same time to allow for a more robust notification mechanism.
Contributions to new critical alerts or integrations with other alerting systems are welcome.
PagerDuty Plugin
Curio comes with a default integration with PagerDuty.com, allowing the sending of critical alerts to storage providers. To configure your Curio cluster to send alerts, you must set up a PagerDuty account.
Nobody associated with the development of this software has any business relationship with PagerDuty. This integration is provided as a convenient gateway to the storage provider’s alert system of choice.
Sign up for a free PagerDuty account here.
Create a new service that will handle the alerts from the Curio cluster.
During the service creation, on the “Integration” page, choose “Events API V2”.
Once the service creation is complete, copy the “Integration Key” from the service and paste it in the “base” layer configuration for “PagerDutyIntegrationKey”.
Enable the plugin in config layer.
Restart one of the nodes, and it will now generate critical alerts every hour.
Prometheus AlertManager
Setup a Prometheus AlertManager instance.
Enable the plugin but setting the
Enabled
to True.Paste the
AlertManagerURL
in the configguration.Restart the node with the updated config layer.
Last updated