Serverless360 Operations Management Suite (OMS) Notification Channel
Tags: oms, azure
Published: 2021-04-28 12:30:40

During our biggest event Integrate2017, we were asked on multiple occasions if Serverless360 is integrated with Microsoft’s OMS which is a cloud-based IT management solution. With more feedback about this channel coming from demo calls, we have realized the need for the integration between the two offerings. We are now happy to announce that you should be able to create Operations Management Suite(OMS) notification channel from your settings panel right now.

## What is OMS?

Microsoft [Operations Management Suite](https://www.serverless360.com/blog/operations-management-suite-oms-notification-channel)(OMS) allows cloud based customer as well as on premise users to manage, monitor and protect their integrations by providing them with a set of tools:

1. Log analytics allow collecting various performance counters as well as applications metrics which can then be correlated and queried from the OMS portal.

2. Azure Automation to automate processes with the use of runbooks which are based on PowerShell. This provides great power to manage any product which can be controlled with a PowerShell script.

3. Azure Backup and Site Recovery will help you to securely store your data for many years to come with minimal investment. Additionally, if something goes wrong site recovery will orchestrate replication, fail over, and recovery of both on cloud and on premise machines.

4. Security and Compliance will intelligently monitor the status of your machines and report any suspicious activity. It will ensure the systems are up to date with latest security patches and report on the status of anti malware systems.
You can read more on the Microsoft’s documentation website

## Serverless360 Notification Channel

With the new channel, you will be able to easily send all notifications from Serverless360 into your OMS portal. To create a new channel, navigate into Notification Channel section located in the Settings. When you click on the “Create New Channel” button you should see a list and with it the Operations Management Suite(OMS) Notification Channel.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ouo662truy3hpnwsgdrd.png)

Once you select it, as always you will be prompted to enter a friendly name which you can use to identify the channel when mapping it to the alarm. When you get to the next screen all you have to do is provide the following 3 details:

1. Lot Type – It is a name of the log, which is the main query parameter when you are in your OMS Portal. Right now, the name/type can only consist of alphabetic characters.

2. Workspace Id – it is a unique identifier of your OMS work space which can be found by going to settings in your OMS portal, followed by Connected Sources and lastly Windows Servers.

3. Shared Key – it is a security key which is found in the same section as “Workspace Id” names as Primary Key (You can also use Secondary Key)

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1u584mp72h1th0pn51pq.png)


Then map it to any of your alarms wait till it triggers an alert and within few minutes you will be able to see it in your log search (The delay is purely on the OMS side processing, Serverless360 is not the reason for the delay).

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tf1nhaxk5lmya1uvdwnl.png)


## Important things to note:

1. The first time you send a notification to your OMS portal you will not be able to see all the fields which we are sending over. This is due to OMS portal analyzing the fields and try to figure out the data type of each property.

2. Even when all the fields have been analyzed properly, it will still take from 5 – 15 min for the notification to show in the OMS portal.

3. To allow you for better querying experience in your log search, every issue (Threshold mismatch) will be sent as a separate record.

4. After OMS is done with analyzing the fields it will append the field name with a letter which represents a data type e.g. String fields will be appended with _s

Log Search in the OMS portal provides a powerful searching capability for the users. The query below can be used to get the count of Healthy, Error and Warning issues from the latest notification sent by Serverless360:

## Query:
TimeGenerated IN {Type=ORDERALERT_CL | measure max(TimeGenerated) by TimeGenerated | Top 1} | measure count() by IssueType_s

## Result:

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nmqaujo8df5mhryjhk7z.png)

I hope this article will be useful when you are going to connect [Serverless360](https://www.serverless360.com) to your OMS portal. If you have any questions, feel free to leave a comment or contact us directly at support@serverless360.com.