Icinga2 Provider
Icinga2 Provider Allows Reception of Push Alerts from Icinga2 to Keep.
Authentication
This provider requires authentication.
- host_url: Icinga2 Host URL (required: True, sensitive: False)
- api_user: Icinga2 API User (required: True, sensitive: False)
- api_password: Icinga2 API Password (required: True, sensitive: True)
Certain scopes may be required to perform specific actions or queries via the provider. Below is a summary of relevant scopes and their use cases:
- read_alerts: Read alerts from Icinga2
In workflows
This provider can’t be used as a “step” or “action” in workflows. If you want to use it, please let us know by creating an issue in the GitHub repository.
Icinga2 Provider
The Icinga2 provider allows you to receive alerts from Icinga2 monitoring system within Keep. Icinga2 provider supports 2 methods for recieving alerts; Webhooks & API Polling.
The recommended and primary method for receiving alerts is via Webhooks.
Setup
Prerequisites
- Access to an Icinga2 instance
- API user with relevant permissions
- Keep instance with webhook capability
Configuration
The provider requires the following configuration:
Webhook Configuration
To configure Icinga2 to send alerts to Keep via webhooks:
- Navigate to your Icinga2 configuration directory
- Create or edit the
eventcommands.conf
file - Add the following event command configuration:
- Define variables in your Icinga2 Configuration:
keep_api_key
: Your Keep API key with webhook rolekeep_webhook_url
: Your Keep Webhook URL
- Create a notification rule that uses this event command
- Restart Icinga2 to apply changes
State Mapping
By Default, Icinga2 states are automatically mapped to Keep alert severities & statuses as follows: