Open Q&A
If there's no good subforum for your question - ask it here!
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Auto-tag OS services based on the Host tag

Manisha_G
Newcomer

In Dynatrace managed, currently, OS services do not inherit tags from their parent host, which makes downtime management very difficult. It would be valuable if OS services could automatically inherit host tags, upon creation or onboarding. This would reduce manual tagging, simplify automation, and ensure consistent monitoring and dashboards.

4 REPLIES 4

AntonPineiro
DynaMight Guru
DynaMight Guru

Hi,

It was discussed here also.

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

t_pawlak
Champion

Hi,
you can approach this in two ways. One option is described in the discussion that AntonPineiro shared.
The second option is to leverage metadata. For example, you can add a custom metadata key/value pair during OneAgent installation and then create an auto-tag rule based on that metadata.
Additionally, if the monitored environment is Kubernetes, you can map Kubernetes labels directly to Dynatrace tags, which helps keep tagging consistent across hosts, processes, and services.

Team, my requirement is apply a dynamic auto tag with Host Name for associated OS services, so that it can be used in different places for example maintenance windows.  Please help on how this can be acheived

t_pawlak
Champion

You won’t be able to stamp the OS service with a host-name tag directly, but this is exactly what management zones are for.
Here example scenario:

At First Tag your hosts
Make sure the hosts have a tag you can use (for example based on host name, metadata, host group, environment, etc.).

Then Create a management zone based on host tags

Create an MZ rule that matches the host tag / host name.

In the rule, enable propagation so that the zone also includes:

the process groups running on those hosts, and

the services/OS services on those process groups.

and last step. Use the management zone in maintenance windows

Featured Posts