Process availability
OneAgent version 1.237+
You can monitor the availability of key processes on your hosts. After you create a rule, when a matching process is missing on a host, Dynatrace issues an alerting event.
You can analyze the latest activity of the processes defined for process availability in the Process instance snapshots section on the host overview page.
In order to monitor availability of a certain processes, you must first define a monitoring rule. You can create rules at the host, host group, or environment level.
- To define an environment-wide rule, in the Dynatrace menu, go to Settings and select Processes and containers > Process availability.
- To define a rule at the host level, go to a host overview page, select More (…), go to Settings, and select Process availability.
- To define a rule at the host group level, go to the host group page at
https://your-environment/ui/settings/HOST_GROUP-NAME
and select Process availability.
Low-level configuration rules overwrite the high-level configuration rules. For example, the rule created on a host level overwrites a rule with the same name created on the environment level.
-
Select Add monitoring rule. Process availability can comprise a number of individual detection rules. A process is identified if all of the individual detection rules match.
-
Enter Monitoring rule name.
-
Select Add detection rule.
-
Select the object against which your detection rule will be tested: Command line , Executable name, or Executable path. Rules for executable name and executable path are not case sensitive. Rules for command line arguments are case sensitive.
If you add more than one detection rule, a process is identified if all the detection rules match (AND relation).
-
Enter a Condition.
Depending on what you want your rule to match, you can define a string that:
- Starts with – use
$prefix
qualifier, for example$prefix(/usr/sbin/keepalived)
- Ends with – use
$suffix
qualifier, for example$suffix(keepalived)
- Equals – use
$eq
qualifier, for example$eq(-d)
- Contains - use
$contains
qualifier , for example$contains(keepalived)
- Starts with – use
-
OneAgent version 1.249+ Dynatrace version 1.249+
Select Add property to specify a custom key-value property for the event.
For example, a property with a Key set to custom.message
and Value set to The {dt.event.title} is on deployment version: {dt.event.deployment.version}
(including placeholders {dt.event.title}
and {dt.event.deployment.version}
) will extract the event name and deployment version values once the rule is triggered. If the placeholder substitution fails, both the key and the value will be unavailable.
- When you finish defining all the rules, select Save changes.