Writer instructions | |
---|---|
Page title | For most spaces, this page must be titled Space announcements. For spaces with localized content, this page must be titled Space announcements l10n. |
Purpose | Provide an announcement banner on every page of your space. |
Location | Move this page outside of your home branch. |
Guidelines |
Configuring a Process to Alarm When the Number of Running Instances Exceeds a Set Limit
This task describes how to configure BMC PATROL to alarm when the number of running instances for a process exceeds a set limit.
- Double-click the PROCESS application container.
- Access the PROCESS_PRESENCE application menu as described in Accessing KM Commands and InfoBoxes.
- Select Manage List of Monitored Processes from the pop-up menu.
- On the Manage List of Monitored Processes dialog box, in the Actions group box, select Add New Process, and click OK.
- On the Add New Process dialog box, in the Blackout field, enter a blackout beginning and ending time (use 24-hour time).
- 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.
- 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. This field is optional.
- 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. You must type a value of 1 or greater in this field in order for BMC PATROL to alarm when the process instance count is exceeded. When the number of running process instances exceeds the value you type in this field, BMC PATROL will issue an alert. The value of the Maximum Count field must be greater than the value of the Minimum Count field.
Step 10 through step 21 are optional when you are configuring a process to alarm if the number of running instances exceeds a set limit. If you do not want to set values for the fields as indicated in these steps, you do not have to. - In the Acceptable Process Owners field, type the user IDs for the accounts that can own the process. Separate multiple user IDs with spaces.
Select the Use Process Owners for Filteringcheck box.
- Select the Parent Process ID Must Be 1 option if the parent process ID (PPID) is 1. A process with a PPID of 1 is owned by init, or the UNIX scheduler.
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 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 to 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 Commandfield, type the command string that will start the process instance.
In the Stop Commandfield, 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 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:
- Select one of the following options to indicate whether 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.