Searching the Help
To search for information in the Help, type a word or phrase in the Search box. When you enter a group of words, OR is inferred. You can use Boolean operators to refine your search.
Results returned are case insensitive. However, results ranking takes case into account and assigns higher scores to case matches. Therefore, a search for "cats" followed by a search for "Cats" would return the same number of Help topics, but the order in which the topics are listed would be different.

Search for | Example | Results |
---|---|---|
A single word | cat
|
Topics that contain the word "cat". You will also find its grammatical variations, such as "cats". |
A phrase. You can specify that the search results contain a specific phrase. |
"cat food" (quotation marks) |
Topics that contain the literal phrase "cat food" and all its grammatical variations. Without the quotation marks, the query is equivalent to specifying an OR operator, which finds topics with one of the individual words instead of the phrase. |

Search for | Operator | Example |
---|---|---|
Two or more words in the same topic |
|
|
Either word in a topic |
|
|
Topics that do not contain a specific word or phrase |
|
|
Topics that contain one string and do not contain another | ^ (caret) |
cat ^ mouse
|
A combination of search types | ( ) parentheses |
|
- Policy Templates
- Configure ArcSight Logger Policies
- Configure ConfigFile Policies
- Configure BSM Connector High Availability Policies
- Configure Database Policies
- Configure Data Forwarding Policies
- Configure Flexible Management Policies
- Configure Logfile Entry Policies
- Configure Measurement Threshold Policies
- Configure Metric Streaming Configuration Policies
- Configure Node Info Policies
- Configure Open Message Interface Policies
- Configure Perl Script Policies
- Configure REST Web Service Listener Policies
- Configure Scheduled Task Policies
- Configure Service Auto-Discovery Policies
- Configure Service/Process Monitoring Policies
- Configure Structured Log File Policies
- Configure SNMP Interceptor Policies
- Configure Windows Event Log Policies
- Configure Windows Management Interface Policies
- Configure XML File Policies
- Import SiteScope templates
- Troubleshoot the deployment of SiteScope templates
- Develop Instrumentation
- Policy Objects for Scripts
- Pattern Matching in Policy Rules
- Review the policy syntax
Configure Scheduled Task Policies
Scheduled task policies enable you to start commands and scripts on nodes that have the HPE Operations Agent. You can start a task once, or regularly according to a schedule. You can configure the policies to create events when the task starts and if it succeeds or fails.

You can create or edit a Perl Script policy using the Perl Script policy editor, which you can open in the following ways.
You can create or edit a Scheduled Task policy using the Scheduled Task policy editor, which you can open in the following ways.
-
To open the editor from the Edit Aspect dialog box:
-
Open the Management Templates & Aspects manager:
Administration > Monitoring > Management Templates & Aspects
Alternatively, click Management Templates & Aspects.
-
In the Configuration Folders pane, expand the configuration folders.
-
In the Management Templates & Aspects pane, click an aspect, and then click the
Edit Item button.
The Edit Aspect dialog box opens.
-
Click the Policy Templates tab, and then do one of the following:
-
To add a new policy template:
-
Click the
Add Policy Templates From List button. The Add Policy Templates From List dialog box opens.
-
Click the
New Item button, and then click the
Add New Policy Template or the
Add New Policy Template (Raw Mode) button. The Select Type for New Policy Template dialog box opens.
-
Select the appropriate type <DataType> from Perl Script, and then click OK.
-
Select the type Scheduled Task, and then click OK.
-
-
To edit an existing policy template, click the policy template in the list, click the
button, and then click the
Edit Policy Template or the
Edit Policy Template (Raw Mode) button.
The Operations Connector High Availability policy editor opens.
The Perl Script policy editor opens.
The Scheduled Task policy editor opens.
-
-
-
To open the editor from the Policy Templates manager:
-
Open the Policy Templates manager:
Administration > Monitoring > Policy Templates
Alternatively, click Policy Templates.
-
In the Policy Template Groups pane, expand Policy Management > Templates grouped by type.
-
Depending on the type of data collected by the particular policy, expand Configuration, Events, Generic, Metrics, or Topology. Each policy type can be used only for a subset of the available data types.
-
Click the <DataType> from Perl Script item in the appropriate folder, and then do one of the following:
-
To add a new policy template, in the Policy Templates pane, click the
button, and then click the
Add New Policy Template or the
Add New Policy Template (Raw Mode) button.
The New <DataType> from Perl Script policy editor opens.
-
To edit an existing policy template, click the policy template in the Policy Templates pane, click the
button, and then click the
Edit Policy Template or the
Edit Policy Template (Raw Mode) button.
The Edit <DataType> from Perl Script policy editor opens.
-
-
Click the Scheduled Task item, and then do one of the following:
-
To add a new policy template, in the Policy Templates pane, click the
button, and then click the
Add New Policy Template or the
Add New Policy Template (Raw Mode) button.
The New Scheduled Task policy editor opens.
-
To edit an existing policy template, click the policy template in the Policy Templates pane, click the
button, and then click the
Edit Policy Template or the
Edit Policy Template (Raw Mode) button.
The Edit Scheduled Task policy editor opens.
-
-
Tasks

-
In the Scheduled Task Policy Editor, in the Properties page, type a Name for the policy.
Optional. Provide a description of the policy (Description), select the instrumentation that will be deployed with the policy onto the host system where the agent is running (Instrumentation), and select the operating systems with which the policy is compatible (OS Types).
For more information, see Properties Page.
-
In the Task page, click Task Type, and then click one of the following options:
-
Command: Use this option if you want to start a command or program that already exists on the node.
-
VB Script: Use this option if you want to start a VB Script, which you embed in the policy.
-
Perl Script: Use this option if you want to start a Perl Script, which you embed in the policy.
For more details, see Task Page.
-
-
In the Schedule page, specify when you want the task to run. The following options are available:
-
Once: Use this option when you want to run the task at one specific date and time.
-
Once per interval: Use this option when you want to run the task at regular intervals.
-
Advanced: Use this option when you want the task to run to a complex schedule. You have full control over the year, months, days, hours, and minutes at which the task runs.
For more details, see Schedule Page.
-
-
Optional. In the Start Event, Success Event, and Failure Event pages, set attributes for events that you want the policy to send when the task starts, succeeds, or fails. You can also enter instructions that help operators handle the associated event (or add the name of the instruction text interface in order to retrieve event instructions from an external source).
In text boxes, you can use indicators, policy variables, and policy parameters.
For more details, see Event Attributes Tab, Event Correlation Tab, Custom Attributes Tab, Instructions Tab, and Advanced Tab
-
Click Save and Close to save the policy template and exit the wizard.
UI Reference
User interface elements are described below (listed alphabetically):

Description |
|
---|---|
Event Drilldown | |
Event Drilldown URL |
URL of the event in a third-party system. This is the complete path of the URL, and includes the Event drilldown information enables OMi users to launch the user interface of the third-party system in the context of an event. Tip To drill down to a specific event in the third-party system, add the source event ID to the URL. |
OM Attributes | |
Application |
Application that caused the event to occur. Unlike the Related CI attribute, which is a direct relationship to a CI in the RTSM, the application attribute is a simple string-type attribute (for example, Oracle and OS). |
Object |
Device such as a computer, printer, or modem. Unlike the Related CI attribute, which is a direct relationship to a CI in the RTSM, the object attribute is a simple string-type attribute (for example, |
Type |
String used to organize different types of events within an event category or subcategory (for example, users or applications, accounts and security). |
HPOM Service ID |
ID of the service associated with the event. A service ID is a unique identifier for a service and can be used in OMi to identify the node and CI associated with the event. |
Agent MSI | |
Enable Agent MSI |
The message stream interface (MSI) allows external applications to interact with the internal event flow of Divert events. Divert an event to the MSI instead of to the server when an event is requested by an external application. Copy events. Send the event to the server, and a copy of the event to the MSI. |

Description |
|
---|---|
![]() |
Create New Custom Attribute: Creates a new custom attribute with the default name CA_n. To rename the custom attribute, double-click the name to select it and type the new name. |
![]() |
Delete Custom Attribute: Deletes an existing custom attribute. |
Name |
The name of the custom attribute. The name is case-insensitive. Custom attributes are additional attributes that contain any information that is meaningful to you. For example, you might add a company name, contact information, or a city location to an event. You can have more than one custom attribute attached to a single event. The following custom attribute names cannot be used because they are reserved for internal use:
|
Value |
Value of the custom attribute. |

Description |
|
---|---|
Title |
Brief description of the nature of the event. |
Description |
Detailed description of the event. |
Severity |
Severity assigned to the event (Critical, Major, Minor, Warning, Normal, Unknown). |
Category |
Name of the logical group to which the event belongs (for example, Database, Security, or Network). The event category is similar in concept to the HP Operations Manager message group. |
Subcategory |
Name of the logical subgroup (category) to which the event belongs (for example, Oracle (database), Accounts (security), or Routers (network)). |
ETI |
Contains the event type indicator (ETI) resolution hint, which OMi uses to associate the event with an ETI and for event correlation. Use the format |
Node |
Name of the system where the event occurred (for example, node.example.com). |
Related CI |
Contains the CI that is related to the metric (for example, oraclesid01@@node.example.com or C:@@server.example.com). Use the format ![]() It is necessary to differentiate between CIs that have a Composition relationship to a node, and those that do not have such a relationship:
For more information about CI resolution in OMi, see the OMi Help. |
Sub Component |
Information used to identify a subcomponent of a CI. This CI subcomponent is used to calculate an aggregated status within OMi's Service Health for selected CIs. If an HI is populated by events from multiple components, you can specify a component name in this field in order to ensure the correct calculation of the HI state. For example, if you have a Computer CI with two CPUs, |
Source CI |
Contains the source related CI. For example, type the name and instance of the OMi server that provides events (for example, OMi@@mgmt.example.com). If you enter a source related CI, OMi tries to find the corresponding CI in the RTSM. |
Source Event ID |
Reserved for future use. |
Send with closed status (For the Open Message Interface, SNMP Interceptor, and Scheduled Task policies) |
Sets the event's lifecycle status to Closed before sending it to OMi. |

Description |
|
---|---|
Event Key | An identifier used to identify duplicates and for Close Events with Key. |
Close Events with Key |
If events with the event key that you type here exist in the OMi event database when this event is received, these events are automatically closed. You can use pattern matching and variables to match multiple event keys. For example, consider the following pattern:
This pattern is evaluated by first replacing the variables with the values that they resolve to, for example:
This pattern is then compared using pattern matching rule against the event keys for all events in the OMi event database. Any key that you provide in the policy is treated as a simplified OM pattern in OMi. Therefore a plain string is treated as a substring and not as a complete match. The key in our example will match: critical:cabbage.example.com:TEST critical:cabbage.example.com:TEST1 critical:cabbage.example.com:TEST2A and so on. To ensure that that the key matches only exact values, enclose the attribute value in an OM Pattern Expression, starting with ^ (start of line) and ending with $ (end of line), for example: ^critical:cabbage.example.com:TEST$ |
Suppress Deduplication on Server | Stops automatic discarding of new events that are duplicates of existing events. |

Description |
|
---|---|
![]() |
Refresh. Loads the configured indicators from the OMi server. Note Loading indicators from the OMi server may take a few seconds. |
<Search …> |
Entered search string is used to search the indicators and highlight only the indicators containing the specified string. To search for indicators with specific text strings in the name, type the string in the <Search …> field and click the |
<Indicators> |
Hierarchy of configuration item types with associated health indicators (HIs), which are applicable for the event integration only, and event type indicators (ETIs). To insert an indicator with a state in a policy, drag and drop the indicator from the Indicators tab to the relevant field in the policy. |

Specify if you want the instructions to accompany the event.
Events generated by a policy can include instructions that explain what to do when the event is generated. This instruction text can often help an operator to solve a problem when a particular type of event is received. The operator can view the instructions included with an event by checking the Event Details pane in the Event Browser. You can define default instructions for all rules in a policy. You can also override the default with different instructions for any rule.
Description |
|
---|---|
Type |
You can select one of the following options from the Type drop-down list:
|

Description |
|
---|---|
![]() |
Load From Local File System: Click to open the Select file to upload dialog box. Use the dialog box to upload a policy file. Policy files are data files and their filenames end in |
![]() |
Save To Local File System: Click to download the policy to a policy data file on your system. You can then update the policy more comfortably in an editor of your choice. After completing your changes to the policy, upload the policy data file by clicking the The policy editor automatically asks you to download policies that exceed 1 MB in file size. |
![]() |
Check Syntax: Validates the syntax of the policy data. If the policy syntax is incorrect, the validation tool reports an error and points to the corresponding line and position of the unexpected token (for example the incorrect keyword). |
<policy data> |
Policy data in text form. The policy editor highlights the policy syntax. If the policy exceeds 1,000 lines, syntax highlighting is automatically disabled. If the policy exceeds 1 MB in file size, the policy editor automatically asks you to download the policy to a file. |


Policy Variables Tab for Database and REST Web Service Policies (Events only)
Policy Variables Tab for XML File and Structured Log File Policies (Events only)
Policy Variables Tab for Open Message Interface, Scheduled Task, and SNMP Interceptor Policies (Events only)
Policy Variables Tab for All Policy Types (Metrics only)

Description |
|
---|---|
Name |
Name of the policy. You can use spaces in the name. The equal sign (=) is not allowed. The name is set when the policy is created and cannot be changed in new versions of a policy. |
Description | Description of what the policy does. You might also add other notes (for example, data sources that are used). |
Template ID | ![]() |
Version ID | ![]() |
Version |
The current version of the policy. If you modify an existing policy, you create a new version of the policy in the database with a unique version number. By default, the minor version number increases by one automatically after you modify the policy and save it. If you want to save the policy with a specific version number, you can select the major or minor version number that you want. It is not possible to replace an existing version of a policy. However, you can delete a specific version of a policy. Note If you modify a policy template that is part of an HPE Operations Manager i Management Pack, increase the minor version number only. The next version of the Management Pack normally uses the next major version number. |
Change Log |
Text that describes what is new or modified in this version of the policy. |
Last Modification |
The
![]() The date and time displays using the current time zone of the computer on which the Web browser runs. The language setting of the Web browser determines the date and time format (for example, |
Last Modified by |
The name of the user active when the policy was saved. |
Instrumentation |
Instrumentation selected for this policy. Instrumentation consists of one or more programs (for example scripts or executable files) that some policies may require to complete a configuration or monitoring task. Instrumentation is deployed to nodes that have HPE Operations Agent installed when the policy is deployed. Instrumentations are unavailable if they are grayed out and their names end with "(Placeholder)". Upload them by using the Content Manager. |
OS Types |
Types of operating system with which this policy is compatible. To enable platform neutrality, you can create several platform specific variations of the same policy, and include them all in one aspect. OMi ensures that a policy is deployed only to host nodes that have the operating systems that you specify. If you leave all the OS type check boxes clear, the policy can be deployed to host nodes with any operating system. |

Description |
|
---|---|
![]() |
Clears the selection. |
![]() |
Select All. Selects all units of time. |
Scheduling Options |
The following options are available:
|
Once | |
Set to current time | Selects the current time in the schedule. |
Minute of Hour | 0 to 59 minutes. |
Hours of Day | 1 to 12 AM and 1 to 12 PM. |
Date: <> ![]() |
Date when the command should run. Click the calendar icon to open a calendar view for the current month. |
Once per interval | |
Interval: <> d <> h <> m <> s |
Interval in days, hours, minutes, and seconds. The interval must be bigger than 0 seconds. |
Advanced (daily execution) | |
Minute of Hour | 0 to 59 minutes. |
Hours of Day | 1 to 12 AM and 1 to 12 PM. |
Days of Month | 1 to 31 days of the month. |
Months of Year | Months from January to December. |
Days of Week | Days of the week from Sunday to Saturday. |
Restrict schedule to the year | Select to schedule the task for the specified year only. |

We welcome your comments!
To open the configured email client on this computer, open an email window.
Otherwise, copy the information below to a web mail client, and send this email to ovdoc-asm@hpe.com.
Help Topic ID:
Product:
Topic Title:
Feedback: