You are here
Slack Monitoring Integration Setup
This sends alerts into a Slack room, for example: #support.
Slack is a 'chat room', that allows teams of Users to collaborate over the internet. The value-add over a chatroom is that Slack allows 'inbound integrations' from various tools such as Opsview. This means that an 'Operations team' can have a chat room, where alerts from Opsview are sent - they can discuss and view Notifications in the same forum - as opposed to a standalone email.
Users need to setup an account on Slack and follow the steps below to activate it on the Opsview system.
- First, in Opsview, activate the method by setting it to 'Enable', click 'Submit Changes' and go to Configuration > Apply Changes to make this change available to the Users screen.
![Opsview Slack Notification Method](http://d22e4d61ky6061.cloudfront.net/sites/default/files/ce3e63e-notif_methods15.png)
- Go to http://www.slack.com and sign up, if you do not already have an account. it will take you through the basic setup process of creating teams and rooms.
- Once the setup is finished, log in and click on Integrations on the left-hand side. Then click on 'Make your own' which will take you down to the bottom of the screen.
![Add Slack as an Integration](http://d22e4d61ky6061.cloudfront.net/sites/default/files/1836654-15cdd95-389-2.png)
- After clicking 'Or, make your own!' click on the 'View button next to 'Incoming WebHooks':
![Incoming Webhooks Window](http://d22e4d61ky6061.cloudfront.net/sites/default/files/490ad39-8cab452-390-3.png)
- Within the 'Incoming WebHooks' window, select the channel you wish to send Opsview Notifications into. In our example, we are going to send Notifications into the #support slack channel:
![Add Incoming Webhooks Integration](http://d22e4d61ky6061.cloudfront.net/sites/default/files/5a478f3-32e6b22-391-4.png)
- Once you have selected a channel, simply click on the 'Add Incoming WebHooks Integration' and your new WebHook is created:
![Webhook has been created](http://d22e4d61ky6061.cloudfront.net/sites/default/files/dc28bf4-4fcfc68-394-5.png)
- Now that we have our WebHook, we can configure the Slack Notification Method :
![Configure Slack Notification Method](http://d22e4d61ky6061.cloudfront.net/sites/default/files/19c6e22-b4e5a96-395-6.png)
The 'WebHook URL' is visible in the screen above, and the 'Channel' was set during the creation of the WebHook; i.e. #support.
A Notification Profile that uses the 'Slack' Notification Method must be configured. This is covered in Section 'Notification Profiles'.
Once the Notification Profile is configured, Notifications should start arriving in the #support Slack room:
![Notifications arriving in Slack](http://d22e4d61ky6061.cloudfront.net/sites/default/files/9f98bff-967365c-396-7.png)