Description
The Prometheus listener plugin retrieves alerts from Prometheus and sends them to 1Gateway.
Prerequisites
Installation
Make sure you have the 1gateway zip file that includes the plugin files and valid licences information ready. This file has been provided to you with the installation files.
1 - Login
Login to 1gateway, and make sure you are in "Advanced mode". If this is the first time you log in, the default user and password are both 'admin' (without the quotes).
2 - System Maintenance
Click on the menu icon and choose the option "System maintenance"
3 - Upload file
In the System maintenance view you can either drag and drop the downloaded zip file or select it by clicking the "choose file" button.
4 - Restart
After the upload installation will be confirmed. Restart 1Gateway to ensure any locked files are updated.
Configuration
Open the main menu and click on "New plugin"
Select the plugin you want to configure. Use the Filter field if needed.
Field name | Supported values | Description |
---|
Prometheus server | Any string | IP address or hostname |
Prometheus port number | Any valid port number | Prometheus port number |
Polling interval | Any integer | Polling interval in seconds (default is 300) |
Message type for alerts | Any string | Defines the message type defined in the mapper |
Format | "single" | Defines if the data polled for should be interpreted as one or multiple messages |
See also