Kerry DeVilbiss

LogicMonitor Integration with IFTTT (If This, Then That)

Recommended Posts

IFTTT is a free SaaS platform that helps you "do more with all your apps and devices" - by providing an integration point between commonly used services and platforms. In the following example, we're using the IFTTT Applet webhooks "trigger" to activate a Philips Hue wireless lighting "action" - blinking the lights of the connected Hue platform as a result of a LogicMonitor alert!

Other things you might be able to do with LogicMonitor alerts, through IFTTT (lots of untested possibilities!) :

The Finished Result

step0-finalResult.thumb.png.0e8f70139f4d5cfd817a83a71139cd68.png

The following tutorial assumes that you have an IFTTT account created and permissions to add an integration to your LogicMonitor account.

Step 1: Log into your IFTTT account and create a new 'Applet'

step1-newApplet.thumb.png.93fcd85ce4c07d377eb9b2378f0713df.png

 

Step 2: Search for and choose the 'Webhooks' service.

step2-chooseServiceWebhook.thumb.png.04dfc68d9ab52c7b6183e79233995fef.png

 

Step 3: Choose the 'Receive a Web Request' trigger.

step3-chooseTrigger.thumb.png.783b5ba846f2f17b71069c9b569767f3.png

 

Step 4: Configure (and remember) the event name that will be recognized by the incoming webhook to trigger the event.

 step4-chooseEventName.thumb.png.ccf622eb997e38d402a44d7be19b7547.png

 

Step 5: Configure the 'Action' that will be taken when this event is triggered in IFTTT - lots of intriguing possibilities!

step5-chooseAction.thumb.png.d0252ccc073f7dbe0671cf78422fa041.png

 

Step 6: Once you've added and configured the 'Action,' review the applet settings and click 'Finish' to save the Applet.

step6-reviewApplet.thumb.png.07ee01de939fd88e99fe856a13974608.png

 

Step 7: Select 'Services' from the account dropdown - we will be looking up the incoming webhook URL for our account so we know where to send our alerts.

step7-savedApplet-Services.thumb.png.75e01bf52c11cb7b1898d007824f1f51.png

 

Step 8: Search for the 'Webhooks' service and select it to proceed.

step8-servicesWebhooks.thumb.png.99fc6f86eac904debb6c23e80fc870cf.png

 

Step 9: Select the 'Documentation' link from the 'Webhooks' services page.

step9-servicesWebhooksDocumentation.thumb.png.01c80ad3c2b4094affc1488e02939b2e.png

 

Step 10: Copy the incoming Event trigger URL along with the key for your account. You will replace {event} in the URL with the one you configured above.

step10-webhookURL.thumb.png.0a129967ca83a628c0366e9ee4860b08.png

 

Step 11: Moving to your LogicMonitor account, navigate to 'Settings -> Integrations' and add a new 'Custom HTTP Delivery' integration using the event name from Step 4 and the URL (with key) from Step 10 :

step11-lmIntegrationCustomWebhook.thumb.png.bcce456d64d414840b37dcbf6f6d4250.png

 

Step 12: IFTTT allows you to include an (optional!) payload - which will show in the 'Activity Log' of the IFTTT Applet.

step12-lmintegrationOptionalPayload.thumb.png.03979698414fa5eb302ada2d570ca700.png

 

Step 13: Test Alert Delivery and you should see output similar to below in the IFTTT Activity Log.

step13-activityLog.thumb.png.e4ebd1daa3f9935a46c076b75dc37976.png

 

Step 14: Save your integration, assign it to an Escalation Chain, and assign the Escalation Chain to an Alert Rule - and now we've configured a simple integration between LogicMonitor and IFTTT that could form the basis of a handful of interesting alert actions!

Edited by Kerry DeVilbiss
added more links and published.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now