From 430ef48b3901b7899ad09f0b861cc99b5f5dc996 Mon Sep 17 00:00:00 2001 From: f0o Date: Sat, 21 Nov 2015 16:23:08 +0000 Subject: [PATCH] Added victorops docs --- doc/Extensions/Alerting.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/doc/Extensions/Alerting.md b/doc/Extensions/Alerting.md index c4ffcafac1..d87d30a110 100644 --- a/doc/Extensions/Alerting.md +++ b/doc/Extensions/Alerting.md @@ -20,6 +20,7 @@ Table of Content: - [Pushbullet](#transports-pushbullet) - [Clickatell](#transports-clickatell) - [PlaySMS](#transports-playsms) + - [VictorOps](#transports-victorops) - [Entities](#entities) - [Devices](#entity-devices) - [BGP Peers](#entity-bgppeers) @@ -406,6 +407,22 @@ $config['alert']['transports']['playsms']['to'][] = '+1234567891'; ``` ~~ +## VictorOps + +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'; +``` +~~ + # 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 `.