This task describes how to create a blackout script that suspends propagation of state changes (for example, alarms and warnings) on selected application classes and instances.
The PATROL KM for UNIX will create the blackout script for you; you do not have to write the script before you begin this procedure. However, you must ensure that the default BMC PATROL account has read and execute permissions on the directory in which the blackout script resides.
Type a file name (and path, if desired) in the Blackout Script Full File Path field and click OK.
Note
The PATROL default account must have read and execute permissions on the directory in which the script is stored.
The Blackout Instance Selection dialog box is displayed.
Use the following table to perform the actions necessary to select application instances for a blackout period.
To Achieve this Result | Perform the Following Action(s) |
---|---|
suspend monitoring for all application class instances on a computer | Click the Select All Instances option and click Select. |
suspend monitoring for all application instances within selected application classes | 1. In the Application List group box, select all the application classes for which you want to suspend monitoring. 2. Click the Select All Instances in the Highlighted Classes option and click Select. |
suspend monitoring for selected application instances | 1. In the Application List group box, select the application class for which you want to suspend monitoring. 2. Click the Select Only the Highlighted Instances option and click Select. The application class expands to list all instances within the application class. 3. Highlight the instances for which you want to suspend monitoring and click Select. |
clear all of your instance selection choices and start over | Click the Clear All Selections option and click Select. |
Note
If you want to remove an application class or instance from the script, highlight it in the Selected Instances group box and click Select.
Click Done.
The Add New Blackout Script dialog box is displayed.
Note
The Blackout Script Status dialog box is also displayed. This dialog box provides information about the status of the blackout script; you cannot enter data into it.
Use the spinner buttons or type a value in the following fields:
Field | Description |
---|---|
Days | Indicate how many days the blackout period should last |
Hrs | Indicate how many hours the blackout period should last |
Mins | Indicate how many minutes the blackout period should last |
In the Execute Script at:group box, use the spinner buttons or type a value in the following fields to schedule the blackout script:
Field | Description |
---|---|
Month | Indicate the month in which the blackout script should execute |
Day | Indicate the date on which the blackout script should execute |
Year | Indicate the year in which the blackout script should execute |
hh | Indicate at which hour of the day the blackout script should execute Enter hours in military time. For example, if you want to schedule a script to execute at 4 P.M., enter |
mm | Indicate at which minute the blackout script should execute |
ss | Indicate at which second the blackout script should execute |
If you want to set the blackout script to occur at regularly scheduled intervals, use the spinner buttons or type values in the following fields of the Repeat Execution:group box:
Field | Description |
---|---|
Days | Number of days that should pass between blackout script executions |
hh | Number of hours that should pass between blackout script executions |
mm | Number of minutes that should pass between blackout script executions |
ss | Number of seconds that should pass between blackout script executions |