= SLACK Setup Example = == Creating a Workspace to your Institute == * If your Institute doesn't have a slack workspace and if you are the '''Network Admin''', We suggest signing up for a Free account. Others can be added as members later. [[Image(Slack-try-free.png, 600px, nolink)]] * Use your Official Email Account [[Image(Slack-first-email.png​, 400px, nolink)]] * Click Create a Workspace [[Image(Create-workspace.png, 600px, nolink)]] * Give your Institute's name and make sure below option box is ticked. [[Image(Workspace-st1.png, 600px, nolink)]] * Type Monitoring, this will create a specific channel which can be later used for alerting [[Image(Workspace-st2.png, 600px, nolink)]] * Add email addresses of your other colleagues. [[Image(Workspace-st3.png, 400px, nolink)]] * Highly recommend to download the application. [[Image(Download-slack.png, 600px, nolink)]] * Once completed, you will see Monitoring Channel [[Image(Monitoring-Channel.png, 600px, nolink)]] == Creating APP == * Go to https://api.slack.com/messaging/webhooks and follow first three steps. * Create SLACK APP by giving an appopriate App Name, Select your workspace and by clicking Create App.[[br]] [[Image(NSM2021/Agenda/AlertsLibrenms:Create-app.png, 400px, nolink)]] * Select Incoming Webhooks[[br]] [[Image(NSM2021/Agenda/AlertsLibrenms:Incoming-webhooks.png, 400px, nolink)]] * Activate Incoming Webhooks by making the switch to `On`[[br]] [[Image(NSM2021/Agenda/AlertsLibrenms:Webhooks-activate.png, 400px, nolink)]] * Create a new Webhook by clicking the button `Add New Webhook to Workspace`[[br]] [[Image(NSM2021/Agenda/AlertsLibrenms:Add-new-webhook.png, 400px, nolink)]] * Include Monitoring Channel to the Bot[[br]] [[Image(NSM2021/Agenda/AlertsLibrenms:Allow-channel.png, 400px, nolink)]] * Once the webhook is created, copy the url, Make sure to keep it a secret. (You can use the sample content to check connectivity from your console)[[br]] [[Image(NSM2021/Agenda/AlertsLibrenms:Copy-webhook-url.png, 500px, nolink)]]