Lots of teams are making use of new collaboration tools and services in place of email to help increase productivity and transparency. In this guide we’d like to share a quick and easy method for integrating Meraki network alerts with your collaboration tool to help everyone stay on top of events. In this example, we will be using WebEx Teams, although the method is also possible with other popular services such as Slack.
Select an automation engine
Popular services include Zapier and IFTTT. For this example we will be using Zapier. Create a new account, or sign in if you have an existing one.
Create a new rule
Automation rules consist of a trigger and at least one action. In Zapier, these are called Zaps. We’re going to use the Zapier “webhooks” trigger, which provides you with a custom hook URL that you can begin sending new webhook alerts to. Once you have selected Webhook as the trigger, choose Catch Hook and leave the Child Key field blank:
Enable and configure Meraki alerts
Once you have created a new webhook trigger, you should have a new Hook URL in the step above. You will now want to go to dashboard.meraki.com and configure your Meraki network alerts (Network wide > Alerts & administration). Be sure to add the newly created hook URL under Webhook Servers, and specify the Zapier URL from the previous step:
Add HTTP servers by defining their unique URL and shared secret
[ network-wide > alerts ]
Once setup you can then add the Webhook server to whichever alerts you would like to receive. Meraki offers a variety of alerts for each of our products. In this example, I have enabled alerts as the default alert recipient for all enabled alerts:
Connect your collaboration app
Zapier fully supports Cisco WebEx Teams, along with several other communication platforms. When prompted to Choose your Action app, search for your app by name, and select it. You will now be prompted to connect and authorize access. Once you have granted Zapier access, you can now create an action.
Create an action
Choose the option to Post a message. You can now choose to create a new channel (room) in WebEx Teams, or just post to an existing one. In this example we are using an already-created channel named “Meraki-alerts”. Once you have selected the desired channel (room ID), you can now specify the text you would like to be sent whenever a new alert is produced. You will likely want to include the object Body plain as this will ensure the full contents of the network alert are sent. Now for the fun part – go ahead and test the action to ensure a new test message gets posted successfully:
Select finish and rejoice – your team will now immediately be notified of any network events that you have enabled!
There are lots of possibilities with automation engines. Some in our developer community have even created a bot that lets you generate new networks or make configuration changes to an existing network via message instructions. Give it a try and let us know what you think!