Integrations guideline
Additional resources
Powered By GitBook
Integrate Spike with LibreNMS

Service and Integration

Make sure to make a LibreNMS integration and copy the webhook URL.

Using webhooks with LibreNMS

Step 1
    From the Alerts menu, choose Alert Transports from the dropdown.
    Create a new Alert Transport
Step 2
    Give a Name to the Alert Transport
    Select Api as Transport type
    Default alert is toggled to ON
    Choose the API Method as POST
    Paste the Spike webhook URL
    In Options, paste the following template given below.
1
device_id={{ $device_id }}
2
hostname= {{ $hostname }}
3
sysName={{ $sysName }}
4
sysDescr={{ $sysDescr }}
5
sysContact={{ $sysContact }}
6
os={{ $os }}
7
type={{ $type }}
8
ip={{ $ip }}
9
hardware={{ $hardware }}
10
version={{ $version }}
11
features={{ $features }}
12
serial={{ $serial }}
13
uptime_short={{ $uptime_short }}
14
uptime_long={{ $uptime_long }}
15
description={{ $description }}
16
notes={{ $notes }}
17
location={{ $location }}
18
uptime={{ $uptime }}
19
ping_avg={{ $ping_avg }}
20
title={{ $title }}
21
elapsed={{ $elapsed }}
22
builder={{ $builder }}
23
id={{ $id }}
24
uid={{ $uid }}
25
state={{ $state }}
26
severity={{ $severity }}
27
alert_notes={{ $alert_notes }}
28
ping_timestamp={{ $ping_timestamp }}
29
ping_loss={{ $ping_loss }}
30
ping_min={{ $ping_min }}
31
ping_max={{ $ping_max }}
32
33
rule={{ $rule }}
34
name={{ $name }}
35
proc={{ $proc }}
36
timestamp={{ $timestamp }}
37
transport={{ $transport }}
38
transport_name={{ $transport_name }}
Copied!
Last modified 2mo ago