# NOC Device-Down Alert Auto-Responder

> Reads network device-down alert emails, finds the site manager from your contact sheet, adds live weather context, and sends a clear, professional incident notification by email, with a full audit log.

NOC Device-Down Alert Auto-Responder is a free AI agent skill on Agensi by Ashutosh Kumar, in Workflow Automation. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Ashutosh Kumar](https://www.agensi.io/creators/ashutosh-kumar-1)
- Category: [Workflow Automation](https://www.agensi.io/skills/workflow-automation)
- Version: 1.0
- Last updated: 2026-11-28
- Security: scan passed (2026-11-28); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/noc-device-down-alert-auto-responder
- Tags: automation, python, email, network-monitoring, incident-response

## About this skill

### What it does

NOC teams get a constant stream of automated "device unreachable" alerts. Handling each one by hand means reading the alert, working out the site, finding the responsible manager, checking if weather could explain it, writing an email, and sending it. Every time, including at 3 a.m.

This skill lets your AI agent run that whole flow for you:

1. **Reads unread alerts** from your NOC mailbox over IMAP
2. **Extracts the hostname** from the alert subject (e.g. `USRIRT0001 network device down`)
3. **Looks up the site and manager(s)** in your Excel contact sheet (hostname → location → primary + backup manager)
4. **Adds live weather** for the site (AccuWeather), useful for power/link outages
5. **Drafts the notification** from a fixed, professional template with standard troubleshooting steps, then optionally has Gemini polish the tone
6. **Sends it** to the manager(s) over SMTP
7. **Logs every run** to an audit trail

### Built to fail safe

| If this fails | What happens |
|---|---|
| Hostname not in contact sheet | Incident skipped, no email sent, no guessing |
| Weather API | Email still goes out with "weather unavailable" |
| Gemini / AI | Fixed template is sent as-is, the alert is never lost |
| SMTP | Logged to `send_errors.txt`, run continues |

### Safety

- Notification only: it **never** logs into, restarts, or changes network devices
- Always runs a dry test first and asks before sending real emails
- Only emails addresses that are in your own contact sheet
- Uses **your own** keys from a local `.env`; credentials are never printed or logged

### Who it's for

NOC engineers, SOC/IT ops teams, and MSPs who want faster, consistent incident acknowledgement without building the plumbing themselves. A sample contact sheet and `.env` template are included.

## Requires

- Python

## Known limitations

Requires Python 3.9+. Hostname must be the first word in the email subject line. Does not support automated device remediation like SSH or restarts.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the NOC Device-Down Alert Auto-Responder skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does the Noc Auto Responder improve traditional manual alert handling?

This skill automates the triage of network alerts by mapping hostnames to site managers, enriching reports with local weather data for context, and sending professional notifications while logging every action for audit purposes.

### What are the technical requirements to get this skill running?

You will need a Python 3.9 environment, an IMAP/SMTP-enabled email account, and a formatted Excel file (LCON.xlsx) containing your site-to-manager mapping. Optional API keys for AccuWeather and Google Gemini are required if you wish to use weather enrichment or LLM tone refinement.

### What exactly is included in the purchase of this skill?

The purchase includes the complete Python skill logic, the spreadsheet template for manager mapping, and comprehensive documentation for environment variable configuration and logging.

### Can I test the notification pipeline before it goes live to my site managers?

Yes, the skill includes a 'Dry Run' mode that allows you to simulate the entire pipeline with a dummy alert, ensuring your mapping and weather enrichment work correctly before any emails are sent to real contacts.

### Is this skill compatible with specific AI agent frameworks?

The skill is designed for any Python-based AI agent or orchestration framework capable of executing script-based tasks and accessing local file directories for the Excel mapping.

### How does the skill know which hostname or site is experiencing an outage?

Currently, the skill identifies the target site by looking at the first word of the email subject line; ensure your monitoring system is configured to place the hostname at the start of its alert emails.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
