A collection of webhook handlers for processing alerts and notifications from Last9's alerting system. Each handler is designed to convert alerts into different formats and send them to various destinations.
Location: python_example_email/
- Converts alerts into formatted HTML emails
- Uses SMTP for email delivery
- Supports multiple alert types and severity levels
- View Documentation
Location: ruby_example_gchat/
- Sends alerts to Google Chat
- Formats messages with cards and sections
- Supports interactive elements and links
- View Documentation
Location: ruby_example_jira/
- Creates Jira issues from alerts
- Maps alert fields to Jira fields
- Supports custom field mapping
- View Documentation
All webhook handlers include:
- Health check endpoints
- Environment-based configuration
- Error handling and logging
- Test scripts for validation
- Docker support for containerization
- Choose the handler that matches your needs
- Navigate to the handler's directory
- Follow the specific setup instructions in its README
- Configure the environment variables
- Start the server
- Test the integration
- Docker (for containerized deployment)
- Python 3.8+ (for Python handlers)
- Ruby 2.7+ (for Ruby handlers)
- Git
.
├── python_example_email/ # Email webhook handler
├── ruby_example_gchat/ # Google Chat webhook handler
├── ruby_example_jira/ # Jira webhook handler
└── README.md # This file
Each handler includes test scripts to verify functionality:
test_webhook.sh
- Tests basic alert processingtest_critical.sh
- Tests critical alert handlingtest_custom.sh
- Tests custom field processing
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
This project is licensed under the MIT License - see the LICENSE file for details.
For issues and feature requests, please open an issue in the repository.