UNIX or Linux Process
Updated: May 13, 2016
Applies To: System Center 2012 R2 Operations Manager, System Center 2012 - Operations Manager, System Center 2012 SP1 - Operations Manager
The UNIX/Linux Process Monitoring template lets you monitor that a particular process installed on an UNIX or Linux computer runs.
The UNIX/Linux Process Monitoring template is useful for monitoring any application as monitoring processes is typically critical to the health of the application.
The following table shows the monitoring activity that the UNIX/Linux Process Monitoring template performs.
Process Count is Outside of Range
When you run the UNIX/Linux Process Monitoring template, you have to provide values for options in the following tables. Each table represents a single page in the wizard.
The following options are available on the General Options page of the wizard.
The name used for the template. This is the name that is displayed in the Operations console.
Optional description of the template.
Management pack to store the class and monitors that the template creates. If you create any additional monitors or rules that are using the process as a targeted process, you must store them in the same management pack.
For more information about management packs, see Selecting a Management Pack File.
The following options are available on the Process Monitoring Details page of the wizard.
The name of the process. You can use the Select a Process button to connect to a monitored UNIX/Linux computer and list current running processes in order to select a process by name. If you wish to target the monitor to only a single computer, you must use the Select a Process button to select a computer and process.
The name of the group of UNIX or Linux computers for the process to monitor. Click the Select a group button to select a group that is installed in your management group. If you have used the Select a Process button to select a running process from a computer, the monitor will be targeted to that computer. After using the Select a Process button to select a process, you can use the Select a Group button to target a group with the monitor for the selected process.
The severity for the alert: Error, Warning, or Information.
Regular Expression to filter process arguments
An optional Regular expression to use in filtering processes by arguments. If this option is used, processes that match the provided process name will be additionally filtered by their arguments. Only processes with arguments that match the Regular expression will be evaluated by the monitor. This is useful to identify a process for a specific application when other applications on the system may use a process with the same name. The Regular expression is evaluated against a concatenated list of process arguments.
Expression Matching Results
If you use the Select a Process button to connect to a monitored computer and select a process by name, the list of all processes with the selected process name for that computer are shown in this field. When you provide a Regular expression to filter process arguments the processes listed in this field are filtered so that you can preview the filtering by argument.
The following options are available on the Process Template Settings page of the wizard.
Minimum number of instances
The minimum number of running instances of the monitored process. To alert if no instances of the process are running, check the box Generate an alert when the number of process instances is less than the specified value, and input a value of 1. The number of process instances is calculated after filtering by process name and the optional Regular expression to filter process arguments. If the number of running instances is less than the provided value, an alert will be generated.
Maximum number of instances
The maximum number of running instances of the monitored process. To alert if more than a specific number of instances of the process are running, check the box Generate an alert when the number of process instances is greater than the specified value, and input the maximum threshold value. The number of process instances is calculated after filtering by process name and the optional Regular expression to filter process arguments. If the number of running instances is greater than the provided value, an alert will be generated.
In addition to performing the specified monitoring, the UNIX/Linux Process Monitoring template creates a target class that you can use for additional monitors and rules. Any monitor or rule that uses this class as a target runs on any agent where the process is installed.
To create a UNIX/Linux Process Monitoring template
If you want to monitor a process on a group of computers, determine the targeted group for the monitor by using the following logic:
If you want to discover the process on all UNIX and Linux computers in the management group, you do not have to create a group. You can use the existing group UNIX/Linux Computer Group.
If you only want the process to be discovered on a certain group of computers, then either ensure that an appropriate group exists or create a one by using the procedure in How to Create Groups in Operations Manager.
Start the Add Monitoring wizard.
On the Select Monitoring Type page, select UNIX/Linux Process Monitoring, and then click Next.
On the General Properties page, in the Name and Description boxes, type a name and optional description for this new template.
Select a management pack in which to save the monitor or click New to create a new management pack. For more information, see Selecting a Management Pack File.
Click the Select a Process button.
Click the Browse button and select a computer that has the process installed, and then click OK.
In the Processes box, select the process to monitor.
Select an Alert Severity.
Optionally, provide a Regular expression to filter the matched process list by process arguments, in the field Regular expression to filter process arguments.
If you want to monitor the process on a group of computers, do the following:
Click the Select a Group button.
Select a group that contains the computers with the process, and then click OK.
Check the appropriate boxes for Generate an alert when the number of process instances is less than the specified value and Generate an alert when the number of process instances is greater than the specified value.
Provide values for Minimum number of instances and Maximum number of instances, if appropriate.
To modify an existing UNIX/Linux Process Monitoring template
Open the Operations console with a user account that has Author credentials.
Open the Authoring workspace.
In the Authoring navigation pane, expand Management Pack Templates, and then select UNIX/Linux Process Monitoring.
In the UNIX/Linux Process Monitoring pane, locate the template to change.
Right-click the template, and then select Properties.
Enter the changes that you want, and then click OK.
To view the state of each monitor
Select the UNIX/Linux Computers view.
In the UNIX/Linux Computers pane, right-click an object, select Open, and then click Health Explorer.
Expand the Availability node, and then click the Application/Service Availability Rollup node to view the individual process monitor.