{"_id":"55d3b647f77e6d0d00b1b28e","version":{"_id":"55d3b644f77e6d0d00b1b273","project":"55c505b41469ad2500fa2ab7","__v":6,"createdAt":"2015-08-18T22:48:36.632Z","releaseDate":"2015-08-18T22:48:36.632Z","categories":["55d3b645f77e6d0d00b1b274","55d3b645f77e6d0d00b1b275","55d3b645f77e6d0d00b1b276","55d3b645f77e6d0d00b1b277","55d3b645f77e6d0d00b1b278","55d3b645f77e6d0d00b1b279","55d3b645f77e6d0d00b1b27a","55d3b645f77e6d0d00b1b27b","55d3b645f77e6d0d00b1b27c","55d3b645f77e6d0d00b1b27d","55d7c2939510f00d007ec6fe","56fac9925df15a20002972a2","56fb2f7668e1d30e00a0b672","583498d411e8af2500f6b334","58e52a180ab7b03b00f4a97a"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"1.1.0","version":"1.1"},"githubsync":"","category":{"_id":"55d3b645f77e6d0d00b1b27c","__v":4,"pages":["55d3b647f77e6d0d00b1b286","55d3b647f77e6d0d00b1b287","55d3b647f77e6d0d00b1b288","55d3b647f77e6d0d00b1b289","55d3b647f77e6d0d00b1b28a","55d3b647f77e6d0d00b1b28b","55d3b647f77e6d0d00b1b28c","55d3b647f77e6d0d00b1b28d","55d3b647f77e6d0d00b1b28e","55d3b647f77e6d0d00b1b28f","55d3b647f77e6d0d00b1b290","55d3b647f77e6d0d00b1b291","562ea6c53b2af20d006ad03d","56312e4024014b0d00bd9a48","564e4d122b223c2b00496a27"],"project":"55c505b41469ad2500fa2ab7","version":"55d3b644f77e6d0d00b1b273","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-08-10T18:45:23.276Z","from_sync":false,"order":9,"slug":"integration-guides","title":"Integration Guides"},"user":"55c50f4a7c199a2f00665cbf","parentDoc":null,"__v":1,"project":"55c505b41469ad2500fa2ab7","updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-08-10T20:10:00.966Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":7,"body":"## Step 1: Go to your integrations page to get started with LogicMonitor integration.\n[block:image]\n{\n \"images\": [\n {\n \"image\": [\n \"https://files.readme.io/wOal3lctRA6dWOByJeMJ_LogicMonitor.png\",\n \"LogicMonitor.png\",\n \"2842\",\n \"1584\",\n \"#7b0846\",\n \"\"\n ],\n \"caption\": \"LogicMonitor Integration\"\n }\n ]\n}\n[/block]\n## Step 2: Add your LogicMonitor account's read-only credentials\n[block:image]\n{\n \"images\": [\n {\n \"image\": [\n \"https://files.readme.io/fP0njPbQ829F7Yve3hwS_Screen%20Shot%202015-08-11%20at%205.53.33%20PM.png\",\n \"Screen Shot 2015-08-11 at 5.53.33 PM.png\",\n \"1718\",\n \"742\",\n \"#420427\",\n \"\"\n ],\n \"caption\": \"Adding LogicMonitor's read-only credentials\"\n }\n ]\n}\n[/block]\n\n## Step 3: Add Neptune endpoint as a webhook channel in Logic Monitor's custom delivery methods.\nGo to (1) Settings --> (2) Other Alert Settings -->(3) Custom Alert Delivery Methods --> (4) Add --> (5) Custom HTTP Delivery Method\n[block:image]\n{\n \"images\": [\n {\n \"image\": [\n \"https://files.readme.io/i6mRMOVbRDqbG6WosmH9_installLogicMonitorWebhook.png\",\n \"installLogicMonitorWebhook.png\",\n \"2558\",\n \"1356\",\n \"#245f7b\",\n \"\"\n ],\n \"caption\": \"Adding Neptune.io endpoint in LogicMonitor\"\n }\n ]\n}\n[/block]\nIf you are using Logic Monitor's beta UI:\n\nGo to (1) Settings --> (2) Alert Settings -->(3) Custom Delivery Methods --> (4) Add --> (5) Custom HTTP Delivery Method\n[block:image]\n{\n \"images\": [\n {\n \"image\": [\n \"https://files.readme.io/rSGWJ7pLQ0mWIz8IN7ak_installLogicMonitorBetaWebhook.png\",\n \"installLogicMonitorBetaWebhook.png\",\n \"2554\",\n \"1378\",\n \"#c81e44\",\n \"\"\n ],\n \"caption\": \"Adding Neptune.io endpoint in LogicMonitor Beta UI\"\n }\n ]\n}\n[/block]\n## Step 4: Set the following as alert data JSON template\n\nIn custom HTTP alert delivery, choose the data format as \"JSON\" and add the following JSON template in alert data input.\n[block:code]\n{\n \"codes\": [\n {\n \"code\": \"{\\n \\\"type\\\": \\\"##ALERTTYPE##\\\",\\n \\\"status\\\": \\\"##ALERTSTATUS##\\\",\\n \\\"level\\\": \\\"##LEVEL##\\\",\\n \\\"host\\\": \\\"##HOST##\\\",\\n \\\"datasource\\\": \\\"##DATASOURCE##\\\",\\n \\\"eventsource\\\": \\\"##EVENTSOURCE##\\\",\\n \\\"datapoint\\\": \\\"##DATAPOINT##\\\",\\n \\\"start\\\": \\\"##START##\\\",\\n \\\"duration\\\": \\\"##DURATION##\\\",\\n \\\"value\\\": \\\"##VALUE##\\\",\\n \\\"threshold\\\": \\\"##THRESHOLD##\\\",\\n \\\"id\\\": \\\"##ALERTID##\\\",\\n \\\"date\\\": \\\"##DATE##\\\",\\n \\\"dpdescription\\\": \\\"##DPDESCRIPTION##\\\",\\n \\\"dsdescription\\\": \\\"##DSDESCRIPTION##\\\",\\n \\\"startepoch\\\": \\\"##STARTEPOCH##\\\"\\n}\",\n \"language\": \"json\"\n }\n ]\n}\n[/block]\n## Step 5: Add the newly created webhook delivery method to all the escalation chains.\nGo to (1) Settings --> (2) Alert Settings -->(3) Escalation Chains --> (4) Edit --> (5) Add Stage\n[block:image]\n{\n \"images\": [\n {\n \"image\": [\n \"https://files.readme.io/MOT1AOb5R5qdhBgvXjlw_logicMonitorAddToEscalationChain.png\",\n \"logicMonitorAddToEscalationChain.png\",\n \"1763\",\n \"972\",\n \"#193247\",\n \"\"\n ],\n \"caption\": \"Adding webhook methods to escalation chain in LogicMonitor\"\n }\n ]\n}\n[/block]\n**If you are using Logic Monitor's beta UI:**\n\nGo to (1) Settings --> (2) Alert Settings -->(3) Escalation Chains --> (4) Manage --> (5) Recipients --> (6) Add\n[block:image]\n{\n \"images\": [\n {\n \"image\": [\n \"https://files.readme.io/rncZxP7RSWX0UENxvKHN_logicMonitorBetaAddToEscalationChain.png\",\n \"logicMonitorBetaAddToEscalationChain.png\",\n \"1770\",\n \"979\",\n \"#4e7999\",\n \"\"\n ],\n \"caption\": \"Adding webhook methods to escalation chain in LogicMonitor Beta UI\"\n }\n ]\n}\n[/block]\nAll Done! For any other new escalation policies, do not forget to add Neptune.io webhook as a channel.","excerpt":"","slug":"logicmonitor-integration","type":"basic","title":"LogicMonitor"}