This task describes how to configure BMC PATROL to stop a process. If the PATROL KM for UNIX detects that the number of running process instances exceeds the value set in the Maximum Count field, and you have provided a command to stop the process in the Stop Command field, the KM will attempt to stop process instances until the number of running instances falls within the set threshold.
In the Monitored Process Stringfield, type the command or a unique command string for the process that is being monitored.
Note
Step 7 through step 15 are optional when you are configuring BMC PATROL to stop a process. If you do not want to set values for the fields as indicated in these steps, you do not have to.
Select the Use Process Owners for Filteringcheck box.
Note
Because the process filtering for the processes is based on owners, the owner of the processes is always a subset of the provided owner set. Therefore, the PROCPPOwnerCheck parameter is deactivated when the Use Process Owners for Filtering check box is selected.
Select the Filter Processes with Parent Process ID 1check box if you want to filter the processes by Parent Process ID 1.
Note
Select the Restart Automatically option if you want the KM to automatically restart a process when it detects that the process count is less than the set minimum.
If you select this option, the KM will attempt to restart the process when it detects that the process instance count has fallen below the specified minimum threshold. The KM uses the value in the Command Execution Attemptsfield to determine how many times it will try to restart a process.
Note
You must specify a start command and a command execution user name in the appropriate fields on this dialog box if you want BMC PATROL to automatically restart a process.
In the Command Execution User Namefield, type the user ID under which the command will be executed.
Note
You must specify a command execution user account and password if you want to use the Start and Stop commands.
In the Command Execution Passwordfield, type the password for the user ID under which the command will be executed. You can leave this field blank. The KM will accept a NULL value.
Note
You must specify a command execution user account and password if you want to use the Start and Stop commands.
Step 17 and step 20 are optional if you are configuring BMC PATROL to stop a process. If you do not want to set values for the fields as indicated in these steps, you do not have to.
Note
The alert thresholds for PROCPPCountCheck must not be modified in order for the product to work as designed. Alerts for process presence monitoring are generated based on the PROCPPCountCheck parameter, which has the following thresholds defined:
Select one of the following options to indicate whether BMC PATROL should monitor the process on one host computer, or across a group of hosts:
Option | Description |
---|---|
Monitor Only On This Host | BMC PATROL will only monitor the process on the selected local host computer. |
Monitor Across Host Group | BMC PATROL will monitor the process across a group of host computers. Select this option if you want to monitor a process in a clustered environment. |