- Open your browser and navigate to:
http://localhost:3000 - You will be redirected to the login page
- Default Username: admin
- Default Password: Admin123!
After logging in, you will see the Dashboard.
The sidebar provides access to all features:
┌─────────────────────┐
│ Webhook Admin │
├─────────────────────┤
│ Dashboard │ Overview and statistics
│ LLM Providers │ Configure AI models
│ Alert Types │ Manage alert mnemonics
│ ServiceNow │ Configure incident creation
│ Email/SMTP │ Configure email notifications
│ Test Webhook │ Send test alerts
│ Logs │ View processing history
├─────────────────────┤
│ Logout │
└─────────────────────┘
The Dashboard provides an overview of:
- Total Webhooks: Count of processed webhooks
- Status Breakdown: Completed, failed, ignored, processing
- By Mnemonic: Distribution across alert types
- Recent Activity: Last 10 webhook logs
Configure AI models for intelligent error analysis.
- Click "Add Provider"
- Fill in the form:
- Name: Display name (e.g., "OpenAI GPT-4o Mini")
- Provider Type: Select "OpenAI"
- API Key: Your OpenAI API key
- Model: Model ID (e.g., "gpt-4o-mini-2024-07-18")
- Max Tokens: Maximum response length (default: 1000)
- Temperature: Creativity level 0.0-1.0 (default: 0.7)
- Enabled: Check to activate
- Default: Check to use as default provider
- Click "Create"
- Click "Add Provider"
- Fill in the form:
- Name: Display name (e.g., "Local Ollama")
- Provider Type: Select "Ollama"
- Ollama Host: Server hostname (e.g., "10.48.54.81")
- Ollama Port: Server port (default: 11434)
- Model: Model name (e.g., "llama3.1")
- Max Tokens: Maximum response length
- Temperature: Creativity level
- Click "Create"
- Click the play icon on a provider card
- View the test result (success/failure with response time)
- Click the star icon on a provider card
- This provider will be used when alert types don't specify one
Configure which alert mnemonics to process and how.
- Click "Add Alert Type"
- Fill in the form:
- Mnemonic: Unique identifier (e.g., "DUP_SRC_IP")
- Display Name: Human-readable name
- Description: What this alert means
- LLM Provider: Select specific or "Use Default"
- Severity: low/medium/high/critical
- Urgency: ServiceNow urgency level (1-3)
- LLM Prompt: Custom instructions for the AI
- Enabled: Check to process this alert type
- Use LLM: Check to enable AI analysis
- Create ServiceNow Ticket: Enable ticket creation
- Send Email: Enable email notifications
- Click "Create"
Each alert type can have multiple notification channels.
- Click the bell icon on an alert type card
- In the modal, click "Add Notification Channel"
- Choose channel type:
- Select "Email (SMTP)"
- Choose your SMTP server
- Add recipients:
- Enter email address
- Enter name (optional)
- Select type: To, CC, or BCC
- Click the + button
- Click "Add Channel"
- Select "ServiceNow Ticket"
- Choose your ServiceNow instance
- Click "Add Channel"
- Click the power icon to toggle enabled status
- Disabled alert types will be ignored when webhooks arrive
Configure ServiceNow instances for ticket creation.
- Click "Add ServiceNow Instance"
- Fill in the form:
- Name: Display name
- Instance URL: Full URL (e.g., "https://dev12345.service-now.com")
- Username: Service account username
- Password: Service account password
- Default Caller: Default caller_id for tickets
- Default Assignment Group: Group to assign tickets
- Default Category: Ticket category
- Enabled: Check to activate
- Default: Check to use as default
- Click "Create"
- Click the play icon on a configuration card
- View the test result (verifies API authentication)
Configure SMTP servers for email notifications.
- Click "Add SMTP Server"
- Fill in the form:
- Configuration Name: Display name
- SMTP Host: Server hostname
- Port: SMTP port (587 for TLS, 465 for SSL)
- Use TLS (STARTTLS): Recommended for port 587
- Use SSL: For port 465
- Username: SMTP authentication username
- Password: SMTP authentication password
- From Address: Sender email
- From Name: Sender display name
- Enabled: Check to activate
- Default Configuration: Check to use as default
- Click "Update" or "Create"
- Enter a test email address in the input field
- Click the play icon on a configuration card
- Check your inbox for the test email
Manually trigger the webhook pipeline without waiting for actual alerts.
- Navigate to Test Webhook
- Fill in the form:
- Alert Type (Mnemonic): Select from enabled types
- Host / Device Name: Test hostname
- Vendor: Select device vendor
- Error Message: Paste syslog content
- Click "Send Test Webhook"
- View results:
- Success/failure status
- ServiceNow ticket number (if created)
- Email sent status
- Processing time
- Click "View Log Details" to see full log entry
- Webhook service receives the test payload
- LLM analyzes the error message (if enabled)
- ServiceNow ticket is created (if configured)
- Email is sent to recipients (if configured)
- Results are logged in the database
View and filter webhook processing history.
Use the filter options:
- Status: All, Completed, Failed, Ignored, Processing
- Mnemonic: Filter by alert type
- Date Range: Filter by time period
Click on a log entry to view:
- Request: Original payload, headers, source IP
- Processing: LLM response, response time
- Results: Ticket number, email status
- Errors: Error messages if failed
| Status | Description |
|---|---|
| Completed | Successfully processed |
| Failed | Error during processing |
| Ignored | Mnemonic not configured |
| Processing | Currently being processed |
| Received | Awaiting processing |
Write effective prompts:
You are a helpful networking engineer. You will receive an error
message about [specific issue] and need to provide:
1. Brief explanation of the error
2. Likely root causes
3. Step-by-step troubleshooting procedure
4. Commands to run for diagnosis
Keep the response concise and actionable.
Use consistent mnemonic patterns:
DUP_SRC_IP- Duplicate source IPLINK_DOWN- Interface link downBGP_PEER_DOWN- BGP session downHIGH_CPU- CPU threshold exceededCONFIG_CHANGE- Configuration modified
Organize recipients effectively:
- To: Primary responders
- CC: Team leads, documentation
- BCC: Audit/compliance
Configure defaults:
- Caller ID: Automation service account
- Assignment Group: First-level support
- Category: Network or appropriate CMDB category
- Check username/password
- Clear browser cookies
- Verify Config API is running:
docker compose ps
- Check alert type has "Send Email" enabled
- Verify notification channels are configured
- Check SMTP server is enabled and tested
- View logs for error messages
- Check LLM provider is enabled
- Verify API key is configured (for OpenAI)
- Test provider connection
- Check alert type has "Use LLM" enabled
- Check alert type has notification channel for ServiceNow
- Verify ServiceNow instance credentials
- Test ServiceNow connection
- Check logs for API errors
See TROUBLESHOOTING.md for more detailed solutions.