# How to alert on usually monitored services that become unmonitored?

**URL:** <https://community.dynatrace.com/t/how-to-alert-on-usually-monitored-services-that-become-unmonitored/36155>\
**Category:** Alerting\
**Tags:** services-classic, problems-classic\
**Created:** [August 8, 2022, 2:20pm UTC](https://community.dynatrace.com/t/how-to-alert-on-usually-monitored-services-that-become-unmonitored/36155 "2022-08-08T14:20:44Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![vlazarova](https://avatars.discourse-cdn.com/v4/letter/v/f19dbf/32.png) [@vlazarova](https://community.dynatrace.com/u/vlazarova)\
**Post date:** [August 8, 2022, 2:20pm UTC](https://community.dynatrace.com/t/how-to-alert-on-usually-monitored-services-that-become-unmonitored/36155/1 "2022-08-08T14:20:44Z")

</div>

Hi,

We are monitoring certain application services on Windows hosts, and we receive alerts when they (the services) are not running for some reason. However, we don’t receive alerts when they become “unmonitored”. How can this be set? Is it through “process availability” for the whole process group?

Example of the issue:

1. Service “X” is being monitored by Dynatrace

2. During Windows patching service “X” is stopped, the server is rebooted, etc.

3. After the server reboot the service doesn’t come up, because it has “Manual” as startup type

4. An hour or two after that the server crashes unexpectedly and reboots itself again. Service “X” doesn’t come up again (set to “Manual”)

5. Since the server crash Dynatrace shows service “X” as “unmonitored” rather than “shutdown”. The service started showing as running (respectively monitored) only after it was manually started on the server.

So, I guess my question is if there’s a way for Dynatrace to raise a problem once a usually monitored services becomes unmonitored and how that can be achieved.

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![mark\_bley](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mark_bley/32/20954_2.png) [@mark\_bley](https://community.dynatrace.com/u/mark_bley)\
**Post date:** [August 31, 2022, 8:29pm UTC](https://community.dynatrace.com/t/how-to-alert-on-usually-monitored-services-that-become-unmonitored/36155/2 "2022-08-31T20:29:42Z")

</div>

Hi [@vlazarova](https://community.dynatrace.com/user/49001)

there is a new feature you can find under Settings \> OS service monitoring

Here you can define a rule specific to that service or e.g. in general all Manual Windows OS Services like follows:

```auto
"value": {
        "enabled": true,
        "system": "WINDOWS",
        "name": "Manual Windows OS Services",
        "monitoring": true,
        "alerting": true,
        "statusConditionWindows": "$not($eq(running))",
        "detectionConditionsWindows": [
          {
            "property": "StartupType",
            "startupCondition": "$eq(manual)"
          }
        ],
        "metadata": []
      }

```

Or in the UI it would look like this

 ![mark_bley_0-1661969694850.png](https://global.discourse-cdn.com/dynatrace/original/3X/a/0/a0126521b44dca84779181fcae705dd19b39be8c.png)

Feel free to add more rules e.g. for a specific service only you may adda rule for its name.

Then in terms of alerting you can play around with alerting profiles if you don’t want to get notified instantly in case the service takes longer to come back

Best,

Mark

---

<div class="post-metadata">

**Author:** ![Malaik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/malaik/32/32673_2.png) [@Malaik](https://community.dynatrace.com/u/Malaik)\
**Post date:** [May 11, 2023, 1:07pm UTC](https://community.dynatrace.com/t/how-to-alert-on-usually-monitored-services-that-become-unmonitored/36155/3 "2023-05-11T13:07:44Z")

</div>

Hi&nbsp;[@mark\_bley](https://community.dynatrace.com/user/13072)

Do you know if this option help in case if the Host is OFF, Shutdown, or the agent removed…

---

<div class="post-metadata">

**Author:** ![mark\_bley](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mark_bley/32/20954_2.png) [@mark\_bley](https://community.dynatrace.com/u/mark_bley)\
**Post date:** [May 16, 2023, 11:06am UTC](https://community.dynatrace.com/t/how-to-alert-on-usually-monitored-services-that-become-unmonitored/36155/4 "2023-05-16T11:06:19Z")

</div>

no, but you can trigger problems if the host is gracefully shut down

![mark_bley_0-1684235120699.png](https://global.discourse-cdn.com/dynatrace/original/2X/6/61b3092381481953acabcdec9f4a5164f542c02a.png)

This setting is available on environment, host group or host level.

Found under Settings \> Anomaly detection \> 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, 3:52am UTC](https://community.dynatrace.com/t/how-to-alert-on-usually-monitored-services-that-become-unmonitored/36155/5 "2024-05-24T03:52:06Z")

</div>

Currently OS Service monitoring incidents are going to default profile to availability and hence creating as P2.

How do we move this&nbsp; different profile so that it creates P3 incident.

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [May 24, 2024, 4:05pm UTC](https://community.dynatrace.com/t/how-to-alert-on-usually-monitored-services-that-become-unmonitored/36155/6 "2024-05-24T16:05:15Z")

</div>

Hi,

You need to add/modify rules in those alerging profiles, base on OS service metadata.

Best regards

---

<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, 4:13pm UTC](https://community.dynatrace.com/t/how-to-alert-on-usually-monitored-services-that-become-unmonitored/36155/7 "2024-05-24T16:13:32Z")

</div>

Could you please share steps with screenshot how to setup and generate slowdown alert

---

<div class="post-metadata">

**Author:** ![mark\_bley](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mark_bley/32/20954_2.png) [@mark\_bley](https://community.dynatrace.com/u/mark_bley)\
**Post date:** [May 24, 2024, 4:16pm UTC](https://community.dynatrace.com/t/how-to-alert-on-usually-monitored-services-that-become-unmonitored/36155/8 "2024-05-24T16:16:00Z")

</div>

You can add event properties, description or title to filter by in your os:service config in order to use these to filter in the alerting profile

os:service config sample:

 ![mark_bley_0-1716567292181.png](https://global.discourse-cdn.com/dynatrace/original/2X/2/2a9dec67607ee37bd125a35c788ac8efd19c72d6.png)

alerting profile sample:

 ![mark_bley_1-1716567348438.png](https://global.discourse-cdn.com/dynatrace/original/3X/e/e/ee11e0757b8c9985de4bc14bf394098796fb7f0d.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 24, 2024, 5:20pm UTC](https://community.dynatrace.com/t/how-to-alert-on-usually-monitored-services-that-become-unmonitored/36155/9 "2024-05-24T17:20:44Z")

</div>

My request is created a slowdown event for OS service issues. Current it is creating as Availablity event. How to do this

---

<div class="post-metadata">

**Author:** ![mark\_bley](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mark_bley/32/20954_2.png) [@mark\_bley](https://community.dynatrace.com/u/mark_bley)\
**Post date:** [May 27, 2024, 8:42am UTC](https://community.dynatrace.com/t/how-to-alert-on-usually-monitored-services-that-become-unmonitored/36155/10 "2024-05-27T08:42:58Z")

</div>

Not possible to change the eventType property.

os:service config will throw an AVAILABILITY\_EVENT, please use any other type of event property and filter by that in your alerting profile and route your tickets accordingly

---

<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 27, 2024, 8:54am UTC](https://community.dynatrace.com/t/how-to-alert-on-usually-monitored-services-that-become-unmonitored/36155/11 "2024-05-27T08:54:22Z")

</div>

Thanks .&nbsp; How do we change when OS service event comes out of dynatrace - it become a slowdown event , not as availability event.
