How to Verify Alert Conditions in RethinkDB Using an Alert ID

Modified on Thu, 26 Sep at 7:16 AM

Purpose


This document serves as a brief guide on how to validate an alert condition using RethinkDB.


Summary 


We can retrieve the alert condition configured for an alert. For shared alerts, these conditions can usually be fetched through the UI, but for personal alerts, the conditions are not visible. In such cases, RethinkDB can be used to extract the necessary details.


Before starting the validation, ensure you have the alert ID and the appropriate permissions through Gandalf for the respective instance. You can connect to the front end with SSH using the following command:


"ssh (instance name) -L 28017:localhost:28015 -L 8088:localhost:8080"


Once connected, access the  Re-think DB (http://localhost:portnumber/)




Using the provided alert ID, you can validate the alert condition through the tree view.



Based on the results, you can determine how the alert was configured, whether by an agent or signals such as escalation requests, urgency, etc.


Finally, we can compare this with the actual alert condition in the UI (for a shared alert)




Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article