LibreNMS
LibreNMS allows you to receive alerts from LibreNMS using API endpoints as well as webhooks
Authentication
This provider requires authentication.
- host_url: LibreNMS Host URL (required: True, sensitive: False)
- api_key: LibreNMS API Key (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 LibreNMS
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.
Connecting LibreNMS to Keep
- Open LibreNMS dashboard and click on settings in the top right corner.
- Click on
Create API access token
to generate a new API key.
- Give a description to the API key and click on
Create API Token
.
Webhooks Integration
- Open LibreNMS dashboard and open
Alerts
tab in the navigation bar and click onAlert Transports
.
-
Click on
Create add transport
and selectTransport type
asAPI
. Select theAPI Method
asPOST
. -
Fill the
API URL
with https://api.keephq.dev/alerts/event/libre_nms.
- Copy the below JSON and paste it in
body
field.
-
Follow the below steps to create a new API key in Keep.
-
Go to Keep dashboard and click on the profile icon in the botton left corner and click
Settings
.
- Select
Users and Access
tab and then selectAPI Keys
tab and create a new API key.
- Give name and select the role as
webhook
and click onCreate API Key
.
- Copy the API key.
- Add a new header with key as
X-API-KEY
and create a new API key in Keep and paste it as the value and save the webhook.
-
Save the webhook.
-
You can add devices from the Devices tab in the LibreNMS dashboard and select the alert transport that you have created.
- Now, you will receive the alerts in Keep.