# How to setup alert for OS Service Monitoring?

**URL:** <https://community.dynatrace.com/t/how-to-setup-alert-for-os-service-monitoring/39245>\
**Category:** Dynatrace Tips\
**Tags:** tips-and-tricks\
**Created:** [April 11, 2023, 10:04am UTC](https://community.dynatrace.com/t/how-to-setup-alert-for-os-service-monitoring/39245 "2023-04-11T10:04:55Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ramanan\_16](https://avatars.discourse-cdn.com/v4/letter/r/e495f1/32.png) [@Ramanan\_16](https://community.dynatrace.com/u/Ramanan_16)\
**Post date:** [April 11, 2023, 10:04am UTC](https://community.dynatrace.com/t/how-to-setup-alert-for-os-service-monitoring/39245/1 "2023-04-11T10:04:55Z")

</div>

In Dynatrace, we can setup service availability monitoring. This can be achieved in two ways.

1) Settings---\>Monitoring---\> OS Service Monitoring

2) Host---\>Settings---\> OS Service Monitoring

Once we setup the services for monitoring, we can see their status in the Host main page under “OS services analysis”. By default, the service availability alert will go to “Default” alerting profile. To send the service alerts to application/infrastructure owners, please follow the below steps.

Edit the Management Zone of which the hosts are part of.

Add a new Rule---\>&nbsp; Rule Type---\>Monitored Entity-----\>Rule Applies To---\>Custom Devices----\>Add Condition---\>property---\>Custom Device Name---\>Select the right operator---\>Value---\> Provide the service name----\>Preview and make sure you see the service name appears.

You are all set. Now, the service availability alerts will trigger to the Alerting profile which is mapped to this Management zone.

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [April 11, 2023, 12:04pm UTC](https://community.dynatrace.com/t/how-to-setup-alert-for-os-service-monitoring/39245/2 "2023-04-11T12:04:54Z")

</div>

If you don’t want to call out the OS Services you can use the blanket rule for the monitored entities. This assumes you have Host Groups set.

Type(“os:service”), fromRelationships.runsOn(type(“HOST”), tag(“Host Group”))

---

<div class="post-metadata">

**Author:** ![mateusz\_marek](https://avatars.discourse-cdn.com/v4/letter/m/ed8c4c/32.png) [@mateusz\_marek](https://community.dynatrace.com/u/mateusz_marek)\
**Post date:** [April 12, 2023, 6:12am UTC](https://community.dynatrace.com/t/how-to-setup-alert-for-os-service-monitoring/39245/3 "2023-04-12T06:12:28Z")

</div>

You can also use entity selectors to choose an OS Service based on its name:

```markup
type(os:service),entityName.startsWith("<name of OS service entity>")

```

host on which OS service is running:

```markup
type(os:service),fromRelationship.runsOn(type(HOST),entityName.startsWith("<name of the host>"))

```

or name of a process, which is associated with the OS service:

```markup
type(os:service),toRelationship.runsOn(type(PROCESS_GROUP_INSTANCE),entityName.startsWith("<name of the process entity>"))

```

---

<div class="post-metadata">

**Author:** ![sundarv1](https://avatars.discourse-cdn.com/v4/letter/s/65b543/32.png) [@sundarv1](https://community.dynatrace.com/u/sundarv1)\
**Post date:** [May 24, 2024, 1:17am UTC](https://community.dynatrace.com/t/how-to-setup-alert-for-os-service-monitoring/39245/4 "2024-05-24T01:17:48Z")

</div>

Currently OS Services incidents are coming as P2 as it is going to Default Profile.&nbsp; How can we reduce this to P3?,

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [May 24, 2024, 11:48am UTC](https://community.dynatrace.com/t/how-to-setup-alert-for-os-service-monitoring/39245/5 "2024-05-24T11:48:28Z")

</div>

when you say ‘coming as’ is that in an event manager?

---

<div class="post-metadata">

**Author:** ![sundarv1](https://avatars.discourse-cdn.com/v4/letter/s/65b543/32.png) [@sundarv1](https://community.dynatrace.com/u/sundarv1)\
**Post date:** [May 24, 2024, 12:10pm UTC](https://community.dynatrace.com/t/how-to-setup-alert-for-os-service-monitoring/39245/6 "2024-05-24T12:10:26Z")

</div>

Currently OS service alerts is choosing default problem profile. Hence all OS service alerts is creating as P2 incident in serviceniw. My ask how do we make this slowdown alert, so P3 incident will be created in Servicenow

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [May 24, 2024, 12:48pm UTC](https://community.dynatrace.com/t/how-to-setup-alert-for-os-service-monitoring/39245/7 "2024-05-24T12:48:30Z")

</div>

okay so with your SNOW integration. So the OS Services is built in alerting, so I don’t think your going to be able to change the priority out of the box in Dynatrace. What you can do, is make a custom event rule, this will then allow you to have more flexibility in the way of what the alert classification is etc…

You can add in custom properties in the OS definition segment but it wont help you with the P rating.

> **[OS services monitoring](https://docs.dynatrace.com/docs/observe/infrastructure-observability/infrastructure-and-operations/hosts/os-services)**
>
> Monitor Windows and Linux OS service status and availability, and configure alerting policies to detect service failures across your hosts.

---

<div class="post-metadata">

**Author:** ![sundarv1](https://avatars.discourse-cdn.com/v4/letter/s/65b543/32.png) [@sundarv1](https://community.dynatrace.com/u/sundarv1)\
**Post date:** [May 24, 2024, 2:46pm UTC](https://community.dynatrace.com/t/how-to-setup-alert-for-os-service-monitoring/39245/8 "2024-05-24T14:46:16Z")

</div>

Thanks. In the customer properties how do we change event type from Availability to Slowdown?

---

<div class="post-metadata">

**Author:** ![sundarv1](https://avatars.discourse-cdn.com/v4/letter/s/65b543/32.png) [@sundarv1](https://community.dynatrace.com/u/sundarv1)\
**Post date:** [May 26, 2024, 3:09am UTC](https://community.dynatrace.com/t/how-to-setup-alert-for-os-service-monitoring/39245/9 "2024-05-26T03:09:49Z")

</div>

Hi Chad

In the custom properties how do we change event type from availablity to slowdown.&nbsp; Could you please help me?

---

<div class="post-metadata">

**Author:** ![sundarv1](https://avatars.discourse-cdn.com/v4/letter/s/65b543/32.png) [@sundarv1](https://community.dynatrace.com/u/sundarv1)\
**Post date:** [May 26, 2024, 4:16am UTC](https://community.dynatrace.com/t/how-to-setup-alert-for-os-service-monitoring/39245/10 "2024-05-26T04:16:45Z")

</div>

Hi Ram - How do change alerts from&nbsp;service availability alert to Slowdown alert for OS Services?

---

<div class="post-metadata">

**Author:** ![Ramanan\_16](https://avatars.discourse-cdn.com/v4/letter/r/e495f1/32.png) [@Ramanan\_16](https://community.dynatrace.com/u/Ramanan_16)\
**Post date:** [May 26, 2024, 7:20pm UTC](https://community.dynatrace.com/t/how-to-setup-alert-for-os-service-monitoring/39245/11 "2024-05-26T19:20:55Z")

</div>

Hi&nbsp;[@sundarv1](https://community.dynatrace.com/user/74312)&nbsp;, I don’t think it is possible from Dynatrace level. I hope you can customize the event processing rule in ServiceNow to achieve it. Unfortunately, I don’t use ServiceNow. Otherwise i would’ve tested it to conform you.

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [May 29, 2024, 2:05pm UTC](https://community.dynatrace.com/t/how-to-setup-alert-for-os-service-monitoring/39245/12 "2024-05-29T14:05:52Z")

</div>

If you create a custom alert by way of the metrics, you can then set the type of alert towards the bottom of the page as you set it up:

 ![ChadTurner_0-1716991537022.png](https://global.discourse-cdn.com/dynatrace/original/3X/9/a/9a8633fa349a75ce0b1d24b88ccf9e4b8de4c495.png)

---

<div class="post-metadata">

**Author:** ![sundarv1](https://avatars.discourse-cdn.com/v4/letter/s/65b543/32.png) [@sundarv1](https://community.dynatrace.com/u/sundarv1)\
**Post date:** [May 29, 2024, 2:24pm UTC](https://community.dynatrace.com/t/how-to-setup-alert-for-os-service-monitoring/39245/13 "2024-05-29T14:24:57Z")

</div>

Hi Chad

How to create metric event for OS Service issues?. Could you please share some examples?.

When OS service goes down, it needs to create a slowdown metric event

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [May 29, 2024, 2:33pm UTC](https://community.dynatrace.com/t/how-to-setup-alert-for-os-service-monitoring/39245/14 "2024-05-29T14:33:54Z")

</div>

So if you want to alert when an OS services isn’t available and list it as an availability issue:

 ![ChadTurner_0-1716993196009.png](https://global.discourse-cdn.com/dynatrace/original/3X/2/1/211fc29e8f53c3a171d13b40b4768b2a78d382c7.png)

Its really up to you, I would recommend tinkering around and setting it the way your organization will need it.

---

<div class="post-metadata">

**Author:** ![sundarv1](https://avatars.discourse-cdn.com/v4/letter/s/65b543/32.png) [@sundarv1](https://community.dynatrace.com/u/sundarv1)\
**Post date:** [May 29, 2024, 2:47pm UTC](https://community.dynatrace.com/t/how-to-setup-alert-for-os-service-monitoring/39245/15 "2024-05-29T14:47:59Z")

</div>

Currently OS Service alerts are coming as Availability event.&nbsp; What we are looking to create as slowdown event for our organization. Does the metric event work for OS Service?

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [May 29, 2024, 2:48pm UTC](https://community.dynatrace.com/t/how-to-setup-alert-for-os-service-monitoring/39245/16 "2024-05-29T14:48:53Z")

</div>

okay, so you would select the desired metric and then classify it as slowdown in the drop down.

---

<div class="post-metadata">

**Author:** ![sundarv1](https://avatars.discourse-cdn.com/v4/letter/s/65b543/32.png) [@sundarv1](https://community.dynatrace.com/u/sundarv1)\
**Post date:** [May 29, 2024, 2:55pm UTC](https://community.dynatrace.com/t/how-to-setup-alert-for-os-service-monitoring/39245/17 "2024-05-29T14:55:31Z")

</div>

ok. if we do this - should we disable what we have done already in Settings - Monitoring - OS Services Monitoring?.

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [May 29, 2024, 3:05pm UTC](https://community.dynatrace.com/t/how-to-setup-alert-for-os-service-monitoring/39245/18 "2024-05-29T15:05:20Z")

</div>

I would yes, because the creation of this defined alert, will be induplicate to what is out of the box by way of the OS Alert Settings.

---

<div class="post-metadata">

**Author:** ![sundarv1](https://avatars.discourse-cdn.com/v4/letter/s/65b543/32.png) [@sundarv1](https://community.dynatrace.com/u/sundarv1)\
**Post date:** [June 26, 2024, 4:10pm UTC](https://community.dynatrace.com/t/how-to-setup-alert-for-os-service-monitoring/39245/19 "2024-06-26T16:10:59Z")

</div>

Hi Chad

For OS Services monitoring when alerts are generated , in the dynatrace console - problem

in the impacted column - OS Service is coming, not the impacted CI. How do we get that?,

Attach is the configuration.

Sundar.v

 ![Service.png](https://global.discourse-cdn.com/dynatrace/original/3X/e/2/e21c0f6a77ba639613908390c2c820eecaea58d7.png)

---

<div class="post-metadata">

**Author:** ![sundarv1](https://avatars.discourse-cdn.com/v4/letter/s/65b543/32.png) [@sundarv1](https://community.dynatrace.com/u/sundarv1)\
**Post date:** [July 1, 2024, 2:04pm UTC](https://community.dynatrace.com/t/how-to-setup-alert-for-os-service-monitoring/39245/20 "2024-07-01T14:04:45Z")

</div>

Chad - Thanks . In the above screenshot where we are defining to send alert if OS service is not running?,

[Next page](https://community.dynatrace.com/t/how-to-setup-alert-for-os-service-monitoring/39245.md?page=2)
