
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
This post describes the simplest method to integrate Azure Monitor into ServiceNow ITOM Event Management
The main steps are
- ServiceNow: Create an integration user in ServiceNow
- ServiceNow: Setup a Azure Monitor integration in the Integration Launchpad (Service Operation Workspace)
- Azure Monitor: Setup a Webhook Action in Action Groups
Step 1: Create integration user
In your ServiceNow instance go to "User Administration -> Users" and create a user with the role "evt_mgmt_integration" and check the "Web service access only" check box. And enter a password. Note the username and password, you'll need it later.
(Note: Make sure the password does not contain "!" or "*" or any other character that can break the URL structure, I found "&" and "%" are ok, allthought those are also officially "reserved") (uuencoding may be required but this goes beyond the scope of this blog)
Step 2: Setup an Azure Integration in the Service Operation Workspace
In your ServiceNow instance, on the menu bar goto "Workspaces -> Service Operation Workspace". And locate the integration launchpad on the left.
On the integration launchpad locate the "Microsoft Azure to instance" tile and click it. This integration sends Event directly to the ServiceNow instance and does not require a MID Server.
Enter a "Connector name" and press save (top right) and next (bottom right)
Now you use "Copy link to clipboard" and note the link, you'll need it later. Press "Save" and "Activate" (bottom right)
After clicking "Ok" on the pop-up select "Events". We will watch a little later the test event arrive.
Step 3: Azure Monitor: Setup a Webhook Action in Action Groups
Log into your Azure portal https://portal.azure.com/
Locate Monitor and Alerts and Action Groups
Create a new Action Group. Select the relevant Resource group. And follow the next steps until the "Actions" step.
Now construct a URL with the integration user and password and the integration URL so it looks similar to this structure:
Click "Review +Create" to complete the creation of the Action Group. The select the Action Group you just created and select "Test".
Select the sample alert type "Metric alert - Static threshold" for example (others will work too). And press "Test"
If all is well, you'll see "Success".
Returning to the ServiceNow instance. Press the "Refresh List Events" and see the arrival of the Azure Monitor Alert.
Succes!!
The same integration but with Oauth 2.0 is documented here.
- 941 Views
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.