Configuring a Process to Alarm When Its Parent Process ID (PPID) is Not 1
This task describes how to configure BMC PATROL to alarm when the parent process ID (PPID) for a process is not 1. A parent process ID of 1 indicates that a process is owned by init.
- Double-click the NUK_Process_Container application container.
- Access the NUK_Process application menu.
- Select Manage List of Monitored Processes from the pop-up menu. The Manage-List-of-Monitored-Processes-dialog-box is displayed.
- In the Actions group box, select Add New Process, and click OK. The Add-New-Process-or-Modify-Selected-Process-dialog-box is displayed.
- In the Process Instance Label field, type a name for the monitored process icon (maximum 100 characters).
In the Monitored Process Stringfield, type the command or a unique command string for the process that is being monitored.
Step 7 through step 9 are optional when you are configuring BMC PATROL to alarm when the PPID for a process is not 1. If you do not want to set values for the fields as indicated in these steps, you do not have to.
- In the Minimum Count field, type a value to set the minimum number of process instances that must be running on the local computer or in the host group. If the number of running process instances falls below the value set in this field, BMC PATROL will issue an alert.
- In the Maximum Count field, type a value to set the maximum number of process instances that might be running on the local computer or in the host group. If the number of running process instances exceeds this value, BMC PATROL will issue an alert. The value of the Maximum Count field must be greater than the value of the Minimum Count field.
- In the Acceptable Process Owners field, type the user IDs for the accounts that might own the process. Separate multiple user IDs with spaces.
Select the Use Process Owners for Filtering check box.
- Select the Parent Process ID Must Be 1 option.
Step 11 through step 20 are optional when you are configuring BMC PATROL to alarm when the PPID for a process is not 1. If you do not want to set values for the fields as indicated in these steps, you do not have to. Select the Filter Processes with Parent Process ID 1check box if you want to filter the processes by Parent Process ID 1.
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.- In the Command Execution Attempts field, type a value set the number of times the host will attempt to run a Start Process or Stop Process command before it stops trying to run the command.
- In the Start Command field, type the command string that will start the process instance.
- In the Stop Command field, type the command string that will stop the process instance.
In the Command Execution User Namefield, type the user ID under which the command will be executed.
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.
- In the Alert Delay Count field, type a value to set the number of collection intervals that this host will defer an alert while it waits for the process count to be reestablished on a host or across a group of hosts.
If you delay the alert, the system has time to detect that a process has died and restart it automatically before BMC PATROL issues an alarm. - Click the drop-down list button in the Alert Statefield and select the state change that will occur when the process count either falls below the minimum threshold or exceeds the maximum threshold and the alert delay count reaches 0. The state change will apply to the following parameters:
- ProcessCount
- ProcessOwnerCheck
- ProcessParentPID1
- 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:The [confluence_table-plus] macro is a standalone macro and it cannot be used inline.
- Click OK.
The dialog box closes, and the Manage-List-of-Monitored-Processes-dialog-box is displayed. The process that you just added to the monitored queue is listed in the Process List group box.