# Troubleshoot Node Alerting

## Introduction

This guide provides a series of basic troubleshooting steps to help you resolve issues with the alerting module associated with the `auto_restart` feature in `nodectl`.

***

## 🚨 Support Disclaimer

{% hint style="danger" %}
**Important**

The alerting module is a **community extension** of `nodectl` and **not officially supported**.

Use at your own risk. Limited support is available, and advanced troubleshooting may not be provided.
{% endhint %}

***

## 🔁 Step 1: Clear the Alerting Cache

Start by clearing the alerting module’s internal cache:

```bash
sudo nodectl auto_restart clear_alerts
```

This resets any internal flags that may be preventing alert dispatch.

***

## 📬 Step 2: Send a Test Report

To test if the daily reporting mechanism works:

```bash
sudo nodectl auto_restart send_report
```

Check your inbox for the report. If not received, continue with the next steps.

***

## 📣 Step 3: Send a Test Alert

Trigger an alert manually:

```bash
sudo nodectl auto_restart alert_test
```

This simulates a node failure alert. Verify that the message is received by the configured email or SMS gateway.

***

## 🧾 Step 4: Review Logs

Check the `nodectl` logs for any errors related to alert dispatch:

```bash
sudo nodectl logs -l nodectl
```

Look for entries that may indicate connection failures, authentication errors, or message rejection.

***

## 📥 Step 5: Check Email Spam Filters

If alerts are routed to a **standard email inbox**:

* Check your **Spam** or **Junk** folders
* Add the configured sender (e.g., your Gmail alert account) to your **email whitelist or safe senders list**
* Create **filter rules** in your email settings to allow all mail from that address to reach your inbox
* Confirm your email provider hasn’t rate-limited or blacklisted your alerting Gmail account

***

## 📱 Step 6: Mobile SMS/MMS Alerting Considerations

If you’re routing alerts to a mobile number via email-to-SMS/MMS:

* ✅ Ensure **MMS** is supported and enabled on your phone
* ✅ Test sending a manual email to your mobile email address (e.g., `1234567890@vtext.com`)
* ⚠️ **Contact your mobile carrier** and request approval to receive messages from your node’s Gmail address—some providers block automated or high-frequency alerts
* 🚫 Mobile providers may "black hole" repetitive or unauthenticated email messages to prevent spam

***

## 🆘 Step 7: Seek Help (Last Resort)

If you've exhausted all basic troubleshooting steps:

* Join the **Constellation Network Official Discord**
* Navigate to the appropriate validator support channel
* Provide details such as:
  * Your `nodectl` version
  * Email provider used for alerts
  * Mobile provider (if applicable)
  * Relevant error logs or symptoms


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.constellationnetwork.io/run-a-node/validator-node-guides/troubleshooting-guides/troubleshoot-node-alerting.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
