mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Added victorops docs
This commit is contained in:
@@ -20,6 +20,7 @@ Table of Content:
|
|||||||
- [Pushbullet](#transports-pushbullet)
|
- [Pushbullet](#transports-pushbullet)
|
||||||
- [Clickatell](#transports-clickatell)
|
- [Clickatell](#transports-clickatell)
|
||||||
- [PlaySMS](#transports-playsms)
|
- [PlaySMS](#transports-playsms)
|
||||||
|
- [VictorOps](#transports-victorops)
|
||||||
- [Entities](#entities)
|
- [Entities](#entities)
|
||||||
- [Devices](#entity-devices)
|
- [Devices](#entity-devices)
|
||||||
- [BGP Peers](#entity-bgppeers)
|
- [BGP Peers](#entity-bgppeers)
|
||||||
@@ -406,6 +407,22 @@ $config['alert']['transports']['playsms']['to'][] = '+1234567891';
|
|||||||
```
|
```
|
||||||
~~
|
~~
|
||||||
|
|
||||||
|
## <a name="transports-victorops">VictorOps</a>
|
||||||
|
|
||||||
|
VictorOps provide a webHook url to make integration extremely simple. To get the URL required login to your VictorOps account and go to:
|
||||||
|
|
||||||
|
Settings -> Integrations -> REST Endpoint -> Enable Integration.
|
||||||
|
|
||||||
|
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:
|
||||||
|
|
||||||
|
`https://alert.victorops.com/integrations/generic/20132414/alert/2f974ce1-08fc-4dg8-a4f4-9aee6cf35c98/librenms`
|
||||||
|
|
||||||
|
~~
|
||||||
|
```php
|
||||||
|
$config['alert']['transports']['victorops']['url'] = 'https://alert.victorops.com/integrations/generic/20132414/alert/2f974ce1-08fc-4dg8-a4f4-9aee6cf35c98/librenms';
|
||||||
|
```
|
||||||
|
~~
|
||||||
|
|
||||||
# <a name="entities">Entities
|
# <a name="entities">Entities
|
||||||
|
|
||||||
Entities as described earlier are based on the table and column names within the database, if you are unsure of what the entity is you want then have a browse around inside MySQL using `show tables` and `desc <tablename>`.
|
Entities as described earlier are based on the table and column names within the database, if you are unsure of what the entity is you want then have a browse around inside MySQL using `show tables` and `desc <tablename>`.
|
||||||
|
|||||||
Reference in New Issue
Block a user