2017-08-19 14:40:50 -04:00
# Transports
2017-06-25 03:27:42 +01:00
2019-06-20 13:53:45 -05:00
Transports are located within `LibreNMS/Alert/Transport/` and can be
configured within the WebUI under Alerts -> Alert Transports.
2017-06-25 03:27:42 +01:00
Contacts will be gathered automatically and passed to the configured transports.
2019-06-20 13:53:45 -05:00
By default the Contacts will be only gathered when the alert triggers
and will ignore future changes in contacts for the incident.
If you want contacts to be re-gathered before each dispatch, please
set 'Updates to contact email addresses not honored' to Off in the WebUI.
2017-06-25 03:27:42 +01:00
2019-06-20 13:53:45 -05:00
The contacts will always include the `SysContact` defined in the
Device's SNMP configuration and also every LibreNMS user that has at
least `read` -permissions on the entity that is to be alerted.
2017-06-25 03:27:42 +01:00
At the moment LibreNMS only supports Port or Device permissions.
2018-07-21 13:34:59 -06:00
You can exclude the `SysContact` by toggling 'Issue alerts to sysContact'.
2017-06-25 03:27:42 +01:00
2019-06-20 13:53:45 -05:00
To include users that have `Global-Read` , `Administrator` or
`Normal-User` permissions it is required to toggle the options:
2017-06-25 03:27:42 +01:00
2019-06-20 13:53:45 -05:00
- Issue alerts to admins.
- Issue alerts to read only users
- Issue alerts to normal users.
## Using a Proxy
2017-06-25 03:27:42 +01:00
2018-07-21 13:34:59 -06:00
[Proxy Configuration ](../Support/Configuration.md#proxy-support )
2017-06-25 03:27:42 +01:00
2019-06-20 13:53:45 -05:00
## Using a AMQP based Transport
2019-02-11 16:46:09 +01:00
2021-02-10 01:13:33 +02:00
You need to install an additional php module : `bcmath`
2019-02-11 16:46:09 +01:00
2020-05-12 22:45:00 +02:00
## Alerta
2022-04-26 02:37:39 -05:00
The [alerta ](https://alerta.io ) monitoring system is a tool used to
consolidate and de-duplicate alerts from multiple sources for quick
‘ at-a-glance’ visualisation. With just one system you can monitor
alerts from many other monitoring tools on a single screen.
2020-05-12 22:45:00 +02:00
**Example: **
| Config | Example |
| ------ | ------- |
| API Endpoint | http://alerta.example.com/api/alert |
| Environment | Production |
| Apy key | api key with write permission |
| Alert state | critical |
| Recover state | cleared |
2019-01-12 12:42:42 +02:00
## Alertmanager
2019-06-20 13:53:45 -05:00
Alertmanager is an alert handling software, initially developed for
alert processing sent by Prometheus.
It has built-in functionality for deduplicating, grouping and routing
alerts based on configurable criteria.
2019-01-12 12:42:42 +02:00
2019-06-20 13:53:45 -05:00
LibreNMS uses alert grouping by alert rule, which can produce an array
of alerts of similar content for an array of hosts, whereas
Alertmanager can group them by alert meta, ideally producing one
single notice in case an issue occurs.
2019-01-12 12:42:42 +02:00
2021-03-27 16:01:48 +01:00
It is possible to configure as many label values as required in
Alertmanager Options section. Every label and its value should be
2019-06-20 13:53:45 -05:00
entered as a new line.
2019-01-12 12:42:42 +02:00
2022-03-14 22:39:00 +01:00
Labels can be a fixed string or a dynamic variable from the alert.
To set a dynamic variable your label must start with extra_ then
complete with the name of your label (only characters, figures and
underscore are allowed here). The value must be the name of
2022-04-26 02:37:39 -05:00
the variable you want to get (you can see all the variables in
Alerts->Notifications by clicking on the Details icon of your alert
when it is pending). If the variable's name does not match with an
existing value the label's value will be the string you provided just
as it was a fixed string.
2022-03-14 22:39:00 +01:00
2021-03-27 16:01:48 +01:00
Multiple Alertmanager URLs (comma separated) are supported. Each
URL will be tried and the search will stop at the first success.
2022-03-31 22:45:44 +02:00
Basic HTTP authentication with a username and a password is supported.
If you let those value blank, no authentication will be used.
2019-01-12 12:42:42 +02:00
[Alertmanager Docs ](https://prometheus.io/docs/alerting/alertmanager/ )
**Example: **
| Config | Example |
| ------ | ------- |
2021-03-27 16:01:48 +01:00
| Alertmanager URL(s) | http://alertmanager1.example.com,http://alertmanager2.example.com |
2022-03-31 22:45:44 +02:00
| Alertmanager Username | myUsername |
| Alertmanager Password | myPassword |
2022-03-14 22:39:00 +01:00
| Alertmanager Options: | source=librenms <br/> customlabel=value <br/> extra_dynamic_value=variable_name |
2019-01-12 12:42:42 +02:00
2017-08-19 14:40:50 -04:00
## API
2019-06-20 13:53:45 -05:00
2019-11-01 05:00:26 -03:00
The API transport allows to reach any service provider using POST, PUT or GET URLs
2019-07-23 19:32:13 +02:00
(Like SMS provider, etc). It can be used in multiple ways:
2019-10-21 02:47:40 +02:00
2022-04-26 02:37:39 -05:00
- The same text built from the Alert template is available in the
variable
`$msg` , which can then be sent as an option to the API. Be carefull
that HTTP GET requests are usually limited in length.
- The API-Option fields can be directly built from the variables
defined in [Template-Syntax ](Templates.md#syntax ) but without the
'alert->' prefix. For instance, `$alert->uptime` is available as
`$uptime` in the API transport
2019-11-01 05:00:26 -03:00
- The API-Headers allows you to add the headers that the api endpoint requires.
2022-04-26 02:37:39 -05:00
- The API-body allow sending data in the format required by the API endpoint.
2019-07-23 19:32:13 +02:00
A few variables commonly used :
| Variable | Description |
| ------------------ | ----------- |
| {{ $hostname }} | Hostname |
| {{ $sysName }} | SysName |
| {{ $sysDescr }} | SysDescr |
| {{ $os }} | OS of device (librenms defined) |
| {{ $type }} | Type of device (librenms defined) |
| {{ $ip }} | IP Address |
| {{ $hardware }} | Hardware |
| {{ $version }} | Version |
| {{ $uptime }} | Uptime in seconds |
| {{ $uptime_short }} | Uptime in human-readable format |
| {{ $timestamp }} | Timestamp of alert |
| {{ $description }} | Description of device |
| {{ $title }} | Title (as built from the Alert Template) |
| {{ $msg }} | Body text (as built from the Alert Template) |
2018-06-13 17:25:09 -04:00
2018-07-21 13:34:59 -06:00
**Example: **
2018-07-23 22:05:42 +01:00
2019-07-23 19:32:13 +02:00
The example below will use the API named sms-api of my.example.com and send
2019-10-21 02:47:40 +02:00
the title of the alert to the provided number using the provided service key.
2019-07-23 19:32:13 +02:00
Refer to your service documentation to configure it properly.
2019-07-04 17:55:29 +02:00
2018-07-23 22:05:42 +01:00
| Config | Example |
| ------ | ------- |
2019-07-23 19:32:13 +02:00
| API Method | GET |
2019-10-21 02:47:40 +02:00
| API URL | <http://my.example.com/sms-api>
2019-07-04 17:55:29 +02:00
| API Options | rcpt=0123456789 <br/> key=0987654321abcdef <br/> msg=(LNMS) {{ $title }} |
| API Username | myUsername |
| API Password | myPassword |
2017-06-25 03:27:42 +01:00
2019-07-23 19:32:13 +02:00
The example below will use the API named wall-display of my.example.com and send
the title and text of the alert to a screen in the Network Operation Center.
| Config | Example |
| ------ | ------- |
| API Method | POST |
2019-10-21 02:47:40 +02:00
| API URL | <http://my.example.com/wall-display>
2019-07-23 19:32:13 +02:00
| API Options | title={{ $title }} <br/> msg={{ $msg }}|
2022-04-26 02:37:39 -05:00
The example below will use the API named component of my.example.com
with id 1, body as json status value and headers send token
authentication and content type required.
2019-11-01 05:00:26 -03:00
| Config | Example |
| ------ | ------- |
| API Method | PUT |
| API URL | http://my.example.com/comonent/1
| API Headers | X-Token=HASH
| | Content-Type=application/json
| API Body | { "status": 2 }
2020-04-26 19:40:19 +02:00
## aspSMS
2022-04-26 02:37:39 -05:00
2020-04-26 19:40:19 +02:00
aspSMS is a SMS provider that can be configured by using the generic API Transport.
You need a token you can find on your personnal space.
[aspSMS docs ](https://www.aspsms.com/en/documentation/ )
**Example: **
| Config | Example |
| ------ | ------- |
| Transport type | Api |
| API Method | POST |
| API URL | https://soap.aspsms.com/aspsmsx.asmx/SimpleTextSMS |
2022-04-26 02:37:39 -05:00
| Options | UserKey=USERKEY<br />Password=APIPASSWORD<br />Recipient=RECIPIENT<br/> Originator=ORIGINATOR<br />MessageText={{ $msg }} |
2020-04-26 19:40:19 +02:00
2021-10-06 07:29:47 -05:00
## Browser Push
2022-04-26 02:37:39 -05:00
Browser push notifications can send a notification to the user's
device even when the browser is not open. This requires HTTPS, the PHP
GMP extension, [Push
API ](https://developer.mozilla.org/en-US/docs/Web/API/Push_API )
support, and permissions on each device to send alerts.
2021-10-06 07:29:47 -05:00
2022-04-26 02:37:39 -05:00
Simply configure an alert transport and allow notification permission
on the device(s) you wish to receive alerts on. You may disable
alerts on a browser on the user preferences page.
2021-10-06 07:29:47 -05:00
2018-06-13 17:25:09 -04:00
## Canopsis
2019-06-20 13:53:45 -05:00
Canopsis is a hypervision tool. LibreNMS can send alerts to Canopsis
which are then converted to canopsis events.
2018-06-13 17:25:09 -04:00
2023-01-10 14:56:24 +01:00
[Canopsis Docs ](https://doc.canopsis.net/guide-developpement/structures/#structure-des-evenements )
2018-06-13 17:25:09 -04:00
2018-07-21 13:34:59 -06:00
**Example: **
2018-07-23 22:05:42 +01:00
| Config | Example |
| ------ | ------- |
| Hostname | www.xxx.yyy.zzz |
| Port Number | 5672 |
| User | admin |
| Password | my_password |
2019-06-20 13:53:45 -05:00
| Vhost | canopsis |
2017-06-25 03:27:42 +01:00
2019-07-14 17:34:22 -04:00
## Cisco Spark (aka Webex Teams)
2019-06-20 13:53:45 -05:00
2019-07-14 17:34:22 -04:00
Cisco Spark (now known as Webex Teams). LibreNMS can send alerts to a Cisco
Spark room. To make this possible you need to have a RoomID and a token.
You can also choose to send alerts using Markdown syntax. Enabling this
option provides for more richly formatted alerts, but be sure to adjust your
alert template to account for the Markdown syntax.
2017-06-25 03:27:42 +01:00
2018-06-13 17:25:09 -04:00
For more information about Cisco Spark RoomID and token, take a look here :
2019-06-20 13:53:45 -05:00
- [Getting started ](https://developer.ciscospark.com/getting-started.html )
- [Rooms ](https://developer.ciscospark.com/resource-rooms.html )
2018-06-13 17:25:09 -04:00
2018-07-21 13:34:59 -06:00
**Example: **
2018-07-23 22:05:42 +01:00
| Config | Example |
| ------ | ------- |
| API Token | ASd23r23edewda |
| RoomID | 34243243251 |
2019-07-14 17:34:22 -04:00
| Use Markdown? | x |
2017-06-25 03:27:42 +01:00
2018-06-13 17:25:09 -04:00
## Clickatell
2019-06-20 13:53:45 -05:00
Clickatell provides a REST-API requiring an Authorization-Token and at
least one Cellphone number.
2017-06-25 03:27:42 +01:00
2018-07-21 13:34:59 -06:00
[Clickatell Docs ](https://www.clickatell.com/developers/api-documentation/rest-api-request-parameters/ )
2017-06-25 03:27:42 +01:00
2018-06-13 17:25:09 -04:00
Here an example using 3 numbers, any amount of numbers is supported:
2017-06-25 03:27:42 +01:00
2018-07-21 13:34:59 -06:00
**Example: **
2018-07-23 22:05:42 +01:00
| Config | Example |
| ------ | ------- |
| Token | dsaWd3rewdwea |
| Mobile Numbers | +1234567890,+1234567891,+1234567892 |
2018-06-13 17:25:09 -04:00
## Discord
2018-07-21 13:34:59 -06:00
2019-06-20 13:53:45 -05:00
The Discord transport will POST the alert message to your Discord
Incoming WebHook. Simple html tags are stripped from the message.
The only required value is for url, without this no call to Discord
will be made. The Options field supports the JSON/Form Params listed
in the Discord Docs below.
2018-06-13 17:25:09 -04:00
2018-07-21 13:34:59 -06:00
[Discord Docs ](https://discordapp.com/developers/docs/resources/webhook#execute-webhook )
2017-06-25 03:27:42 +01:00
2018-07-21 13:34:59 -06:00
**Example: **
2018-07-23 22:05:42 +01:00
| Config | Example |
| ------ | ------- |
2019-10-21 02:47:40 +02:00
| Discord URL | <https://discordapp.com/api/webhooks/4515489001665127664/82-sf4385ysuhfn34u2fhfsdePGLrg8K7cP9wl553Fg6OlZuuxJGaa1d54fe> |
2018-07-23 22:05:42 +01:00
| Options | username=myname |
2018-06-13 17:25:09 -04:00
## Elasticsearch
2019-06-20 13:53:45 -05:00
You can have LibreNMS send alerts to an elasticsearch database. Each
fault will be sent as a separate document.
2018-06-13 17:25:09 -04:00
2018-07-21 13:34:59 -06:00
**Example: **
2018-07-23 22:05:42 +01:00
| Config | Example |
| ------ | ------- |
| Host | 127.0.0.1 |
| Port | 9200 |
2023-01-08 01:58:39 +01:00
| Index Pattern | \l\i\b\r\e\n\m\s-Y.m.d |
2018-06-13 17:25:09 -04:00
2021-06-17 03:16:21 +08:00
## GitLab
2019-06-20 13:53:45 -05:00
LibreNMS will create issues for warning and critical level alerts
however only title and description are set. Uses Personal access
2021-06-17 03:16:21 +08:00
tokens to authenticate with GitLab and will store the token in cleartext.
2018-06-13 17:25:09 -04:00
2018-07-21 13:34:59 -06:00
**Example: **
2018-07-23 22:05:42 +01:00
| Config | Example |
| ------ | ------- |
2019-10-21 02:47:40 +02:00
| Host | <http://gitlab.host.tld> |
2018-07-23 22:05:42 +01:00
| Project ID | 1 |
| Personal Access Token | AbCdEf12345 |
2017-06-25 03:27:42 +01:00
2023-10-19 13:24:40 +10:00
## Grafana Oncall
Send alerts to Grafana Oncall using a [Formatted Webhook ](https://grafana.com/docs/oncall/latest/integrations/webhook/ )
**Example: **
| Config | Example |
| ------ | ------- |
| Webhook URL | https://a-prod-us-central-0.grafana.net/integrations/v1/formatted_webhook/m12xmIjOcgwH74UF8CN4dk0Dh/ |
2017-08-19 14:40:50 -04:00
## HipChat
2019-06-20 13:53:45 -05:00
2018-07-21 13:34:59 -06:00
See the HipChat API Documentation for [rooms/message ](https://www.hipchat.com/docs/api/method/rooms/message )
2017-06-25 03:27:42 +01:00
for details on acceptable values.
> You may notice that the link points at the "deprecated" v1 API. This is
> because the v2 API is still in beta.
2018-07-21 13:34:59 -06:00
**Example: **
2018-07-23 22:05:42 +01:00
| Config | Example |
| ------ | ------- |
2019-10-21 02:47:40 +02:00
| API URL | <https://api.hipchat.com/v1/rooms/message?auth_token=109jawregoaihj> |
2018-07-23 22:05:42 +01:00
| Room ID | 7654321 |
| From Name | LibreNMS |
2023-05-23 09:25:17 -05:00
| Options | color=red |
2017-06-25 03:27:42 +01:00
2023-05-23 09:25:17 -05:00
At present the following options are supported: `color` .
2017-10-15 22:02:10 +02:00
2017-06-25 03:27:42 +01:00
> Note: The default message format for HipChat messages is HTML. It is
> recommended that you specify the `text` message format to prevent unexpected
> results, such as HipChat attempting to interpret angled brackets (`<` and
> `>`).
2018-06-13 17:25:09 -04:00
## IRC
2019-06-20 13:53:45 -05:00
2018-06-13 17:25:09 -04:00
The IRC transports only works together with the LibreNMS IRC-Bot.
Configuration of the LibreNMS IRC-Bot is described [here ](https://github.com/librenms/librenms/blob/master/doc/Extensions/IRC-Bot.md ).
2018-05-31 10:39:28 +03:00
2018-07-21 13:34:59 -06:00
**Example: **
2018-07-23 22:05:42 +01:00
| Config | Example |
| ------ | ------- |
| IRC | enabled |
2018-05-31 10:39:28 +03:00
2018-06-13 17:25:09 -04:00
## JIRA
2019-06-20 13:53:45 -05:00
You can have LibreNMS create issues on a Jira instance for critical
and warning alerts. The Jira transport only sets summary and
description fields. Therefore your Jira project must not have any
other mandatory field for the provided issuetype. The config fields
that need to set are Jira URL, Jira username, Jira password, Project
key, and issue type. Currently http authentication is used to access
Jira and Jira username and password will be stored as cleartext in the
2018-07-21 13:34:59 -06:00
LibreNMS database.
[Jira Issue Types ](https://confluence.atlassian.com/adminjiracloud/issue-types-844500742.html )
**Example: **
2018-07-23 22:05:42 +01:00
| Config | Example |
| ------ | ------- |
2019-10-21 02:47:40 +02:00
| URL | <https://myjira.mysite.com> |
2019-06-20 13:53:45 -05:00
| Project Key | JIRAPROJECTKEY |
2018-07-23 22:05:42 +01:00
| Issue Type | Myissuetype |
| Jira Username | myjirauser |
| Jira Password | myjirapass |
2018-07-21 13:34:59 -06:00
2024-01-08 16:49:14 +01:00
## Jira Service Management
Using Jira Service Management LibreNMS integration, LibreNMS forwards alerts to
Jira Service Management with detailed information. Jira Service Management acts as a dispatcher for
LibreNMS alerts, determines the right people to notify based on
on-call schedules and notifies via email, text messages (SMS), phone
calls and iOS & Android push notifications. Then escalates alerts
until the alert is acknowledged or closed.
:warning: If the feature isn’ t available on your site, keep checking Jira Service Management for updates.
**Example: **
| Config | Example |
| ------ | ------- |
| WebHook URL | <https://url/path/to/webhook> |
2023-08-05 01:30:46 +08:00
## LINE Messaging API
[LINE Messaging API Docs ](https://developers.line.biz/en/docs/messaging-api/overview/ )
Here is the step for setup a LINE bot and using it in LibreNMS.
1. Use your real LINE account register in [developer protal ](https://developers.line.biz/ ).
1. Add a new channel, choose `Messaging API` and continue fill up the forms, note that `Channel name` cannot edit later.
1. Go to "Messaging API" tab of your channel, here listing some important value.
- `Bot basic ID` and `QR code` is your LINE bot's ID and QR code.
- `Channel access token (long-lived)` , will use it in LibreNMS, keep it safe.
1. Use your real Line account add your LINE bot as a friend.
1. Recipient ID can be `groupID` , `userID` or `roomID` , it will be used in LibreNMS to send message to a group or a user. Use the following NodeJS program and `ngrok` for temporally https webhook to listen it.
[LINE-bot-RecipientFetcher ](https://github.com/j796160836/LINE-bot-RecipientFetcher )
1. Run the program and using `ngrok` expose port to public
```
$ node index.js
$ ngrok http 3000
` ``
1. Go to "Messaging API" tab of your channel, fill up Webhook URL to ` https://<your ngrok domain>/webhook`
1. If you want to let LINE bot send message to a yourself, use your real account to send a message to your LINE bot. Program will print out the ` userID` in console.
sample value:
` ``
{"type":"user","userId":"U527xxxxxxxxxxxxxxxxxxxxxxxxxc0ee"}
` ``
1. If you want to let LINE bot send message to a group, do the following steps.
- Add your LINE bot into group
- Use your real account to send a message to group
Program will print out the ` groupID` in console, it will be Recipient ID, keep it safe.
sample value:
` ``
{"type":"group","groupId":"Ce51xxxxxxxxxxxxxxxxxxxxxxxxxx6ef","userId":"U527xxxxxxxxxxxxxxxxxxxxxxxxxc0ee"} ` ``
` ``
**Example:**
| Config | Example |
| ------ | ------- |
| Access token | fhJ9vH2fsxxxxxxxxxxxxxxxxxxxxlFU= |
| Recipient (groupID, userID or roomID) | Ce51xxxxxxxxxxxxxxxxxxxxxxxxxx6ef |
2019-09-05 12:30:53 +08:00
## LINE Notify
[LINE Notify](https://notify-bot.line.me/)
[LINE Notify API Document](https://notify-bot.line.me/doc/)
**Example:**
| Config | Example |
| ------ | ------- |
| Token | AbCdEf12345 |
2018-07-21 13:34:59 -06:00
## Mail
2019-06-20 13:53:45 -05:00
2022-09-05 20:41:55 -05:00
The E-Mail transports uses the same email-configuration as the rest of LibreNMS.
As a small reminder, here is its configuration directives including defaults:
Emails will attach all graphs included with the @signedGraphTag directive.
If the email format is set to html, they will be embedded.
To disable attaching images, set email_attach_graphs to false.
!!! setting "alerting/email"
` ``bash
lnms config:set email_html true
lnms config:set email_attach_graphs false
` ``
2017-06-25 03:27:42 +01:00
2018-07-21 13:34:59 -06:00
**Example:**
2018-07-23 22:05:42 +01:00
| Config | Example |
| ------ | ------- |
| Email | me@example.com |
2017-06-25 03:27:42 +01:00
2020-08-20 12:04:17 +02:00
## Matrix
For using the Matrix transports, you have to create a room on the Matrix-server.
2021-06-17 03:16:21 +08:00
The provided Auth_token belongs to an user, which is member of this room.
2020-08-20 12:04:17 +02:00
The Message, sent to the matrix-room can be built from the variables defined in
2021-06-17 03:16:21 +08:00
[Template-Syntax](Templates.md#syntax) but without the 'alert->' prefix.
2022-04-26 02:37:39 -05:00
See API-Transport. The variable ` `` $msg ` `` is contains the result of
the Alert template.The Matrix-Server URL is cutted before the
beginning of the ` `_matrix/client/r0/...` ` API-part.
2020-08-20 12:04:17 +02:00
**Example:**
| Config | Example |
| ------ | ------- |
| Matrix-Server URL | <https://matrix.example.com/> |
| Room | !ajPbbPalmVbNuQoBDK:example.com |
| Auth_token: | MDAyYmxvY2F0aW9uI...z1DCn6lz_uOhtW3XRICg |
| Message: | Alert: {{ $msg }} https://librenms.example.com |
2023-06-07 01:22:36 -04:00
## Messagebird
LibreNMS can send text messages through Messagebird Rest API transport.
| Config | Example |
| ------ | ------- |
| Api Key | Api rest key given in the messagebird dashboard |
| Originator | E.164 formatted originator |
| Recipient | E.164 formatted recipient for multi recipents comma separated |
| Character limit | Range 1..480 (max 3 split messages) |
2023-06-23 16:19:26 -04:00
## Messagebird Voice
LibreNMS can send messages through Messagebird voice Rest API transport (text to speech).
| Config | Example |
| ------ | ------- |
| Api Key | Api rest key given in the messagebird dashboard |
| Originator | E.164 formatted originator |
| Recipient | E.164 formatted recipient for multi recipents comma separated |
| Language | Select box for options |
| Spoken voice | Female or Male |
| Repeat | X times the message is repeated |
2018-07-21 13:34:59 -06:00
## Microsoft Teams
2019-06-20 13:53:45 -05:00
2022-04-26 02:37:39 -05:00
LibreNMS can send alerts to Microsoft Teams [Incoming
Webhooks](https://docs.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/add-incoming-webhook)
which are then posted to a specific channel. Microsoft recommends using
[markdown](https://docs.microsoft.com/en-us/microsoftteams/platform/task-modules-and-cards/cards/cards-format#markdown-formatting-for-connector-cards)
formatting for connector cards. Administrators can opt to
[compose](https://messagecardplayground.azurewebsites.net/) the
[MessageCard](https://docs.microsoft.com/en-us/outlook/actionable-messages/message-card-reference)
2020-06-04 20:18:49 -07:00
themselves using JSON to get the full functionality.
2017-06-25 03:27:42 +01:00
2018-07-21 13:34:59 -06:00
**Example:**
2018-07-23 22:05:42 +01:00
| Config | Example |
| ------ | ------- |
2019-10-21 02:47:40 +02:00
| WebHook URL | <https://outlook.office365.com/webhook/123456789> |
2020-06-04 20:18:49 -07:00
| Use JSON? | x |
2017-06-25 03:27:42 +01:00
2018-06-13 17:25:09 -04:00
## Nagios Compatible
2019-06-20 13:53:45 -05:00
The nagios transport will feed a FIFO at the defined location with the
same format that nagios would. This allows you to use other alerting
systems with LibreNMS, for example [Flapjack](http://flapjack.io).
2018-03-13 05:44:12 +01:00
2018-07-21 13:34:59 -06:00
**Example:**
2018-07-23 22:05:42 +01:00
| Config | Example |
| ------ | ------- |
| Nagios FIFO | /path/to/my.fifo |
2017-06-25 03:27:42 +01:00
2018-07-21 13:34:59 -06:00
## OpsGenie
2017-06-25 03:27:42 +01:00
2019-06-20 13:53:45 -05:00
Using OpsGenie LibreNMS integration, LibreNMS forwards alerts to
OpsGenie with detailed information. OpsGenie acts as a dispatcher for
LibreNMS alerts, determines the right people to notify based on
on-call schedules and notifies via email, text messages (SMS), phone
calls and iOS & Android push notifications. Then escalates alerts
until the alert is acknowledged or closed.
Create a [LibreNMS
Integration](https://docs.opsgenie.com/docs/librenms-integration) from
the integrations page once you signup. Then copy the API key from OpsGenie to LibreNMS.
2017-06-25 03:27:42 +01:00
2019-06-20 13:53:45 -05:00
If you want to automatically ack and close alerts, leverage Marid
integration. More detail with screenshots is available in
[OpsGenie LibreNMS Integration page](https://docs.opsgenie.com/docs/librenms-integration).
2017-06-25 03:27:42 +01:00
2018-07-21 13:34:59 -06:00
**Example:**
2018-07-23 22:05:42 +01:00
| Config | Example |
| ------ | ------- |
2019-10-21 02:47:40 +02:00
| WebHook URL | <https://url/path/to/webhook> |
2017-06-25 03:27:42 +01:00
2018-06-13 17:25:09 -04:00
## osTicket
2019-06-20 13:53:45 -05:00
LibreNMS can send alerts to osTicket API which are then converted to osTicket tickets.
2017-06-25 03:27:42 +01:00
2018-07-21 13:34:59 -06:00
**Example:**
2018-07-23 22:05:42 +01:00
| Config | Example |
| ------ | ------- |
2019-10-21 02:47:40 +02:00
| API URL | <http://osticket.example.com/api/http.php/tickets.json> |
2018-07-23 22:05:42 +01:00
| API Token | 123456789 |
2017-06-25 03:27:42 +01:00
2018-06-13 17:25:09 -04:00
## PagerDuty
2019-06-20 13:53:45 -05:00
LibreNMS can make use of PagerDuty, this is done by utilizing an API
key and Integraton Key.
2017-06-25 03:27:42 +01:00
2018-08-29 15:44:29 +01:00
API Keys can be found under 'API Access' in the PagerDuty portal.
2019-06-20 13:53:45 -05:00
Integration Keys can be found under 'Integration' for the particular
Service you have created in the PagerDuty portal.
2018-08-29 15:44:29 +01:00
**Example:**
| Config | Example |
| ------ | ------- |
| API Key | randomsample |
| Integration Key | somerandomstring |
2017-06-25 03:27:42 +01:00
2018-06-13 17:25:09 -04:00
## Philips Hue
2019-06-20 13:53:45 -05:00
Want to spice up your noc life? LibreNMS will flash all lights
connected to your philips hue bridge whenever an alert is triggered.
2017-06-25 03:27:42 +01:00
2019-10-21 02:47:40 +02:00
To setup, go to the you <http://` your-bridge-ip`/debug/clip.html>
2017-06-25 03:27:42 +01:00
2018-06-13 17:25:09 -04:00
- Update the "URL:" field to ` /api`
- Paste this in the "Message Body" {"devicetype":"librenms"}
- Press the round button on your ` philips Hue Bridge`
- Click on ` POST`
2019-06-20 13:53:45 -05:00
- In the ` Command Response` You should see output with your
username. Copy this without the quotes
2017-06-25 03:27:42 +01:00
2018-06-13 17:25:09 -04:00
More Info: [Philips Hue Documentation](https://www.developers.meethue.com/documentation/getting-started)
2017-06-25 03:27:42 +01:00
2018-07-21 13:34:59 -06:00
**Example:**
2018-07-23 22:05:42 +01:00
| Config | Example |
| ------ | ------- |
| Host | http://your-bridge-ip |
| Hue User | username |
| Duration | 1 Second |
2017-06-25 03:27:42 +01:00
2017-08-19 14:40:50 -04:00
## PlaySMS
2019-06-20 13:53:45 -05:00
PlaySMS is an open source SMS-Gateway that can be used via their HTTP
API using a Username and WebService Token. Please consult PlaySMS's
documentation regarding number formatting.
2017-06-25 03:27:42 +01:00
2018-07-21 13:34:59 -06:00
[PlaySMS Docs](https://github.com/antonraharja/playSMS/blob/master/documents/development/WEBSERVICES.md)
2017-06-25 03:27:42 +01:00
Here an example using 3 numbers, any amount of numbers is supported:
2018-07-21 13:34:59 -06:00
**Example:**
2018-07-23 22:05:42 +01:00
| Config | Example |
| ------ | ------- |
2023-05-23 09:25:17 -05:00
| PlaySMS | <https://localhost/index.php> |
2018-07-23 22:05:42 +01:00
| User | user1 |
| Token | MYFANCYACCESSTOKEN |
| From | My Name |
| Mobiles | +1234567892,+1234567890,+1234567891 |
2017-06-25 03:27:42 +01:00
2018-06-13 17:25:09 -04:00
## Pushbullet
2019-06-20 13:53:45 -05:00
2018-07-21 13:34:59 -06:00
Get your Access Token from your Pushbullet's settings page and set it in your transport:
2017-06-25 03:27:42 +01:00
2018-07-21 13:34:59 -06:00
**Example:**
2018-07-23 22:05:42 +01:00
| Config | Example |
| ------ | ------- |
| Access Token | MYFANCYACCESSTOKEN |
2017-06-25 03:27:42 +01:00
2018-06-13 17:25:09 -04:00
## Pushover
2019-06-20 13:53:45 -05:00
If you want to change the default [notification
sound](https://pushover.net/api#sounds) for all notifications then you
can add the following in Pushover Options:
2017-06-25 03:27:42 +01:00
2018-12-12 14:08:51 +01:00
` sound=falling`
You also have the possibility to change sound per severity:
2018-07-21 13:34:59 -06:00
` sound_critical=falling`
2018-12-12 14:08:51 +01:00
` sound_warning=siren`
` sound_ok=magic`
2017-06-25 03:27:42 +01:00
2018-06-13 17:25:09 -04:00
Enabling Pushover support is fairly easy, there are only two required parameters.
2017-06-25 03:27:42 +01:00
2019-06-20 13:53:45 -05:00
Firstly you need to create a new Application (called LibreNMS, for
example) in your account on the Pushover website ([https://pushover.net/apps](https://pushover.net/apps)).
2017-06-25 03:27:42 +01:00
2019-06-20 13:53:45 -05:00
Now copy your API Key and obtain your User Key from the newly created
Application and setup the transport.
2017-06-25 03:27:42 +01:00
2018-07-21 13:34:59 -06:00
[Pushover Docs](https://pushover.net/api)
2017-06-25 03:27:42 +01:00
2018-07-21 13:34:59 -06:00
**Example:**
2018-07-23 22:05:42 +01:00
| Config | Example |
| ------ | ------- |
| Api Key | APPLICATIONAPIKEYGOESHERE |
| User Key | USERKEYGOESHERE |
2019-07-04 17:55:29 +02:00
| Pushover Options | sound_critical=falling <br/> sound_warning=siren <br/> sound_ok=magic |
2017-06-25 03:27:42 +01:00
2018-06-13 17:25:09 -04:00
## Rocket.chat
2019-06-20 13:53:45 -05:00
The Rocket.chat transport will POST the alert message to your
Rocket.chat Incoming WebHook using the attachments option. Simple html
tags are stripped from the message. All options are optional, the only
2018-07-21 13:34:59 -06:00
required value is for url, without this then no call to Rocket.chat will be made.
2017-06-25 03:27:42 +01:00
2018-07-21 13:34:59 -06:00
[Rocket.chat Docs](https://rocket.chat/docs/developer-guides/rest-api/chat/postmessage)
2017-06-25 03:27:42 +01:00
2018-07-21 13:34:59 -06:00
**Example:**
2018-07-23 22:05:42 +01:00
| Config | Example |
| ------ | ------- |
| Webhook URL | https://rocket.url/api/v1/chat.postMessage |
2019-07-04 17:55:29 +02:00
| Rocket.chat Options | channel=#Alerting <br/> username=myname <br/> icon_url=http://someurl/image.gif <br/> icon_emoji=:smirk: |
2017-06-25 03:27:42 +01:00
Add support for sending events to Sensu (#11383)
* Add support for sending events to Sensu
Sensu is an alerting and monitoring service (and much more) that has a
nagios compatible check API.
This transport translates LibreNMS alerts into Sensu events, and sends
them to the agent API running on the same host as the poller.
The transport has a few options, but none of them are required - if the
Sensu agent is correctly configured, alerts will be sent as soon as the
transport is enabled.
There's a fair amount of code, as I've tried to translate as much data as
possible between LibreNMS and Sensu.
* Update Transports.md
* If alerted is 0, send an "ok" alert dated rrd.step / 2 seconds ago
This makes Sensu aware of the last time the check ran successfully (ish).
If we don't send the initial "ok", Sensu will either display 'unknown',
or an incorrectly high duration for the incident.
Alerted gets set to 1 after the first alert is sent.
We choose rrd.step / 2 as:
* rrd.step is the maximum time ago the check could have succeeded
* we halve it, so that if a check is flapping, it is not masked
Basically, we guess that the check fails around halfway through the time
since the poller last ran.
* Add additional metadata
* Improve codeclimate slightly
* Consider names that are 2 or 3 components long
2020-04-11 20:29:13 +01:00
## Sensu
The Sensu transport will POST an
[Event](https://docs.sensu.io/sensu-go/latest/reference/events/) to the
[Agent API](https://docs.sensu.io/sensu-go/latest/reference/agent/#create-monitoring-events-using-the-agent-api)
upon an alert being generated.
It will be categorised (ok, warning or critical), and if you configure the
alert to send recovery notifications, Sensu will also clear the alert
automatically. No configuration is required - as long as you are running the
Sensu Agent on your poller with the HTTP socket enabled on tcp/3031, LibreNMS
will start generating Sensu events as soon as you create the transport.
Acknowledging alerts within LibreNMS is not directly supported, but an
annotation (` acknowledged`) is set, so a mutator or silence, or even the
handler could be written to look for it directly in the handler. There is also
an annotation (` generated-by`) set, to allow you to treat LibreNMS events
differently from agent events.
The 'shortname' option is a simple way to reduce the length of device names in
configs. It replaces the last 3 domain components with single letters (e.g.
websrv08.dc4.eu.corp.example.net gets shortened to websrv08.dc4.eu.cen).
### Limitations
- Only a single namespace is supported
- Sensu will reject rules with special characters - the Transport will attempt
to fix up rule names, but it's best to stick to letters, numbers and spaces
- The transport only deals in absolutes - it ignores the got worse/got better
states
- The agent will buffer alerts, but LibreNMS will not - if your agent is
offline, alerts will be dropped
- There is no backchannel between Sensu and LibreNMS - if you make changes in
Sensu to LibreNMS alerts, they'll be lost on the next event (silences will work)
**Example:**
| Config | Example |
| --------------- | --------------------- |
| Sensu Endpoint | http://localhost:3031 |
| Sensu Namespace | eu-west |
| Check Prefix | lnms |
| Source Key | hostname |
2018-06-13 17:25:09 -04:00
## Slack
2019-06-20 13:53:45 -05:00
The Slack transport will POST the alert message to your Slack Incoming
WebHook using the attachments option, you are able to specify multiple
webhooks along with the relevant options to go with it. Simple html
tags are stripped from the message. All options are optional, the
only required value is for url, without this then no call to Slack will be made.
2017-06-25 03:27:42 +01:00
2018-07-21 13:34:59 -06:00
We currently support the following attachment options:
2018-06-13 17:25:09 -04:00
2018-07-21 13:34:59 -06:00
` author_name`
2017-06-25 03:27:42 +01:00
2018-07-21 13:34:59 -06:00
[Slack docs](https://api.slack.com/docs/message-attachments)
2018-06-13 17:25:09 -04:00
2018-07-21 13:34:59 -06:00
**Example:**
2018-07-23 22:05:42 +01:00
| Config | Example |
| ------ | ------- |
2019-10-21 02:47:40 +02:00
| Webhook URL | <https://slack.com/url/somehook> |
2018-07-23 22:05:42 +01:00
| Slack Options | author_name=Me |
2017-06-25 03:27:42 +01:00
2017-08-19 14:40:50 -04:00
## SMSEagle
2017-06-25 03:27:42 +01:00
2019-06-20 13:53:45 -05:00
SMSEagle is a hardware SMS Gateway that can be used via their HTTP API
using a Username and password.
Destination numbers are one per line, with no spaces. They can be in
either local or international dialling format.
2017-06-25 03:27:42 +01:00
2018-07-21 13:34:59 -06:00
[SMSEagle Docs](http://www.smseagle.eu)
2017-06-25 03:27:42 +01:00
2018-07-21 13:34:59 -06:00
**Example:**
2018-07-23 22:05:42 +01:00
| Config | Example |
| ------ | ------- |
2019-04-27 02:08:16 -05:00
| SMSEagle Host | ip.add.re.ss |
2018-07-23 22:05:42 +01:00
| User | smseagle_user |
| Password | smseagle_user_password |
2019-07-04 17:55:29 +02:00
| Mobiles | +3534567890 <br/> 0834567891 |
2017-06-25 03:27:42 +01:00
2020-04-26 13:02:04 +02:00
## SMSmode
2022-04-26 02:37:39 -05:00
2020-04-26 13:02:04 +02:00
SMSmode is a SMS provider that can be configured by using the generic API Transport.
You need a token you can find on your personnal space.
[SMSmode docs](https://www.smsmode.com/pdf/fiche-api-http.pdf)
**Example:**
| Config | Example |
| ------ | ------- |
| Transport type | Api |
| API Method | POST |
| API URL | http://api.smsmode.com/http/1.6/sendSMS.do |
2022-04-26 02:37:39 -05:00
| Options | accessToken=_PUT_HERE_YOUR_TOKEN_<br/> numero=_PUT_HERE_DESTS_NUMBER_COMMA_SEPARATED_<br />message={{ $msg }} |
2020-04-26 13:02:04 +02:00
2020-05-12 00:11:45 -04:00
## Splunk
LibreNMS can send alerts to a Splunk instance and provide all device
and alert details.
2021-06-17 03:16:21 +08:00
Example output:
` ``
Feb 21 15:21:52 nms hostname="localhost", sysName="localhost",
2020-05-12 00:11:45 -04:00
sysDescr="", sysContact="", os="fortigate", type="firewall", ip="localhost",
hardware="FGT_50E", version="v5.6.9", serial="", features="", location="",
uptime="387", uptime_short=" 6m 27s", uptime_long=" 6 minutes 27 seconds",
description="", notes="", alert_notes="", device_id="0", rule_id="0",
id="0", proc="", status="1", status_reason="", ping_timestamp="", ping_loss="0",
ping_min="25.6", ping_max="26.8", ping_avg="26.3",
title="localhost recovered from Device up/down ", elapsed="14m 54s", uid="0",
alert_id="0", severity="critical", name="Device up/down",
timestamp="2020-02-21 15:21:33", state="0", device_device_id="0",
device_inserted="", device_hostname="localhost", device_sysName="localhost",
device_ip="localhost", device_overwrite_ip="", device_timeout="", device_retries="",
device_snmp_disable="0", device_bgpLocalAs="0",
device_sysObjectID="", device_sysDescr="",
device_sysContact="", device_version="v5.6.9", device_hardware="FGT_50E",
device_features="build1673", device_location_id="", device_os="fortigate",
device_status="1", device_status_reason="", device_ignore="0", device_disabled="0",
device_uptime="387", device_agent_uptime="0", device_last_polled="2020-02-21 15:21:33",
device_last_poll_attempted="", device_last_polled_timetaken="7.9",
device_last_discovered_timetaken="11.77", device_last_discovered="2020-02-21 13:16:42",
device_last_ping="2020-02-21 15:21:33", device_last_ping_timetaken="26.3",
device_purpose="", device_type="firewall", device_serial="FGT50EXXX",
device_icon="images/os/fortinet.svg", device_poller_group="0",
device_override_sysLocation="0", device_notes="", device_port_association_mode="1",
device_max_depth="0", device_disable_notify="0", device_location="",
device_vrf_lites="Array", device_lat="", device_lng="", -
sysObjectID => ""; `
2022-04-26 02:37:39 -05:00
```
2020-05-12 00:11:45 -04:00
Each alert will be sent as a separate message.
**Example:**
| Config | Example |
| ------ | ------- |
| Host | 127.0.0.1 |
| UDP Port | 514 |
2020-04-26 13:02:04 +02:00
2018-07-21 13:34:59 -06:00
## Syslog
2019-06-20 13:53:45 -05:00
2017-06-25 03:27:42 +01:00
You can have LibreNMS emit alerts as syslogs complying with RFC 3164.
2018-07-21 13:34:59 -06:00
2019-06-20 13:53:45 -05:00
More information on RFC 3164 can be found here:
[https://tools.ietf.org/html/rfc3164](https://tools.ietf.org/html/rfc3164)
2018-07-21 13:34:59 -06:00
2019-06-20 13:53:45 -05:00
Example output: ` <26> Mar 22 00:59:03 librenms.host.net librenms[233]:
[Critical] network.device.net: Port Down - port_id => 98939; ifDescr => xe-1/1/0;`
2018-07-21 13:34:59 -06:00
2017-06-25 03:27:42 +01:00
Each fault will be sent as a separate syslog.
2018-07-21 13:34:59 -06:00
**Example:**
2018-07-23 22:05:42 +01:00
| Config | Example |
| ------ | ------- |
| Host | 127.0.0.1 |
| Port | 514 |
| Facility | 3 |
2017-06-25 03:27:42 +01:00
2018-06-13 17:25:09 -04:00
## Telegram
2019-06-20 13:53:45 -05:00
2018-06-13 17:25:09 -04:00
> Thank you to [snis](https://github.com/snis) for these instructions.
2017-07-19 18:25:03 +03:00
2019-06-20 13:53:45 -05:00
1. First you must create a telegram account and add BotFather to you
list. To do this click on the following url:
[https://telegram.me/botfather](https://telegram.me/botfather)
2019-10-21 02:47:40 +02:00
1. Generate a new bot with the command "/newbot" BotFather is then
2019-06-20 13:53:45 -05:00
asking for a username and a normal name. After that your bot is
created and you get a HTTP token. (for more options for your bot
type "/help")
2017-07-19 18:25:03 +03:00
2019-10-21 02:47:40 +02:00
1. Add your bot to telegram with the following url:
2019-06-20 13:53:45 -05:00
` http://telegram.me/<botname>` to use app or
` https://web.telegram.org/<botname>` to use in web, and send some
text to the bot.
2017-07-19 18:25:03 +03:00
2019-10-21 02:47:40 +02:00
1. The BotFather should have responded with a token, copy your token
2019-06-20 13:53:45 -05:00
code and go to the following page in chrome:
` https://api.telegram.org/bot<tokencode>/getUpdates` (this could
take a while so continue to refresh until you see something similar
to below)
2018-02-27 16:21:37 -05:00
2019-10-21 02:47:40 +02:00
1. You see a json code with the message you sent to the bot. Copy the
2019-06-20 13:53:45 -05:00
Chat id. In this example that is “-9787468” within this example:
` "message":{"message_id":7,"from":"id":656556,"first_name":"Joo","last_name":"Doo","username":"JohnDoo"},"chat":{"id":-9787468,"title":"Telegram
Group"},"date":1435216924,"text":"Hi"}}]}`.
2018-02-27 16:21:37 -05:00
2019-10-21 02:47:40 +02:00
1. Now create a new "Telegram transport" in LibreNMS (Global Settings
2019-06-20 13:53:45 -05:00
-> Alerting Settings -> Telegram transport). Click on 'Add Telegram
config' and put your chat id and token into the relevant box.
2018-02-27 16:21:37 -05:00
2019-10-21 02:47:40 +02:00
1. If want to use a group to receive alerts, you need to pick the Chat
2019-06-20 13:53:45 -05:00
ID of the group chat, and not of the Bot itself.
2018-10-20 17:18:26 -03:00
2018-07-21 13:34:59 -06:00
[Telegram Docs](https://core.telegram.org/api)
2018-03-09 13:30:27 -05:00
2018-07-21 13:34:59 -06:00
**Example:**
2018-07-23 22:05:42 +01:00
| Config | Example |
| ------ | ------- |
| Chat ID | 34243432 |
| Token | 3ed32wwf235234 |
2018-11-08 19:26:29 -03:00
| Format | HTML or MARKDOWN |
2018-03-09 13:30:27 -05:00
2018-10-17 09:19:28 -07:00
## Twilio SMS
2019-06-20 13:53:45 -05:00
Twilio will send your alert via SMS. From your Twilio account you
will need your account SID, account token and your Twilio SMS phone
number that you would like to send the alerts from. Twilio's APIs are
located at: [https://www.twilio.com/docs/api?filter-product=sms](https://www.twilio.com/docs/api?filter-product=sms)
2018-10-17 09:19:28 -07:00
**Example:**
| Config | Example |
| ------ | ------- |
| SID | ACxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
| Token | 7xxxx573acxxxbc2xxx308d6xxx652d32 |
| Twilio SMS Number | 8888778660 |
2021-03-22 15:39:58 +00:00
## UKFast PSS
2022-04-26 02:37:39 -05:00
UKFast PSS tickets can be raised from alerts using the UKFastPSS
transport. This required an [API
key](https://my.ukfast.co.uk/applications) with PSS ` write`
permissions
2021-03-22 15:39:58 +00:00
**Example:**
| Config | Example |
| ------ | ------- |
| API Key | ABCDefgfg12 |
| Author | 5423 |
| Priority | Critical |
| Secure | true |
2018-07-21 13:34:59 -06:00
## VictorOps
2019-06-20 13:53:45 -05:00
VictorOps provide a webHook url to make integration extremely
simple. To get the URL required login to your VictorOps account and go to:
2018-03-09 13:30:27 -05:00
2018-06-13 17:25:09 -04:00
Settings -> Integrations -> REST Endpoint -> Enable Integration.
2018-03-09 13:30:27 -05:00
2019-06-20 13:53:45 -05:00
The URL provided will have $routing_key at the end, you need to change
this to something that is unique to the system sending the alerts
such as librenms. I.e:
2018-03-09 13:30:27 -05:00
2018-06-13 17:25:09 -04:00
` https://alert.victorops.com/integrations/generic/20132414/alert/2f974ce1-08fc-4dg8-a4f4-9aee6cf35c98/librenms`
2018-03-09 13:30:27 -05:00
2018-07-21 13:34:59 -06:00
**Example: **
2018-07-23 22:05:42 +01:00
| Config | Example |
| ------ | ------- |
2019-10-21 02:47:40 +02:00
| Post URL | <https://alert.victorops.com/integrations/generic/20132414/alert/2f974ce1-08fc-4dg8-a4f4-9aee6cf35c98/librenms> |
2018-08-22 00:41:59 +03:00
## Kayako Classic
2019-06-20 13:53:45 -05:00
LibreNMS can send alerts to Kayako Classic API which are then
converted to tickets. To use this module, you need REST API feature
enabled in Kayako Classic and configured email account at LibreNMS. To
enable this, do this:
2018-08-22 00:41:59 +03:00
AdminCP -> REST API -> Settings -> Enable API (Yes)
2019-06-20 13:53:45 -05:00
Also you need to know the department id to provide tickets to
appropriate department and a user email to provide, which is used as
ticket author. To get department id: navigate to appropriate
department name at the departments list page in Admin CP and watch the
number at the end of url. Example:
2019-10-21 02:47:40 +02:00
<http://servicedesk.example.com/admin/Base/Department/Edit/17>. Department
2019-06-20 13:53:45 -05:00
ID is 17
2018-08-22 00:41:59 +03:00
2019-06-20 13:53:45 -05:00
As a requirement, you have to know API Url, API Key and API Secret to
connect to servicedesk
2018-08-22 00:41:59 +03:00
2019-06-20 13:53:45 -05:00
[Kayako REST API Docs ](https://classic.kayako.com/article/1502-kayako-rest-api )
2018-08-22 00:41:59 +03:00
**Example: **
| Config | Example |
| ------ | ------- |
2019-10-21 02:47:40 +02:00
| Kayako URL | <http://servicedesk.example.com/api/> |
2018-08-22 00:41:59 +03:00
| Kayako API Key | 8cc02f38-7465-4a0c-8730-bb3af122167b |
| Kayako API Secret | Y2NhZDIxNDMtNjVkMi0wYzE0LWExYTUtZGUwMjJiZDI0ZWEzMmRhOGNiYWMtNTU2YS0yODk0LTA1MTEtN2VhN2YzYzgzZjk5 |
| Kayako Department | 1 |
2021-06-18 00:38:09 +02:00
## Signal CLI
Use the Signal Mesenger for Alerts. Run the Signal CLI with the D-Bus option.
[GitHub Project ](https://github.com/AsamK/signal-cli )
**Example: **
| Config | Example |
| ------ | ------- |
| Path | /opt/signal-cli/bin/signal-cli |
| Recipient type | Group |
| Recipient | dfgjsdkgljior4345== |
2018-08-22 00:41:59 +03:00
## SMSFeedback
2022-04-26 02:37:39 -05:00
SMSFeedback is a SAAS service, which can be used to deliver Alerts via
API, using API url, Username & Password.
2018-08-22 00:41:59 +03:00
They can be in international dialling format only.
[SMSFeedback Api Docs ](https://www.smsfeedback.ru/smsapi/ )
**Example: **
| Config | Example |
| ------ | ------- |
| User | smsfeedback_user |
| Password | smsfeedback_password |
| Mobiles | 71234567890 |
2018-10-17 09:19:28 -07:00
| Sender name| CIA |
2023-02-08 20:55:18 +05:30
## Zenduty
Leveraging LibreNMS<>Zenduty Integration, users can send new LibreNMS
alerts to the right team and notify them based on on-call schedules
via email, SMS, Phone Calls, Slack, Microsoft Teams and mobile push
notifications. Zenduty provides engineers with detailed context around
the LibreNMS alert along with playbooks and a complete incident command
framework to triage, remediate and resolve incidents with speed.
Create a [LibreNMS
Integration ](https://docs.zenduty.com/docs/librenms ) from inside
[Zenduty ](https://www.zenduty.com ), then copy the Webhook URL from Zenduty
to LibreNMS.
For a detailed guide with screenshots, refer to the
[LibreNMS documentation at Zenduty ](https://docs.zenduty.com/docs/librenms ).
**Example: **
| Config | Example |
| ------ | ------- |
| WebHook URL | <https://www.zenduty.com/api/integration/librenms/integration-key/> |