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 |
|
Configuring Tasks in Scheduled Task Policies
In the Task page, you specify a command or script that you want to run on the Operations Connector system.
To access
In the Operations Connector user interface, click in the toolbar, then click Event > Scheduled Task. The scheduled task policy editor opens.
Alternatively, double-click an existing scheduled task policy to edit it.
Click Task.
Tasks
How to configure tasks
In Task type, select one of the following options:
-
Command
By default, the command runs under the same account as the agent is running, which is Local System or root by default.
-
Command: Type the complete path and extension of the command that you want to run on the Operations Connector system (for example,
%OvDataDir%\bin\instrumentation\cleanup.exe
). The file that you specify should exist on the system. -
Username: Type the user name under which the command should be run. The user must exist and have permission to run the command on the system. If you specify a non-existent user, the command fails to run.
-
Password: Specify a password for the user. If the password changes, the policy must be updated and reactivated.
-
-
VB Script
Type the VB script in the window. Alternatively, click Load VB script file from Client to load an existing script.
Use the policy method
Rule.Status
to specify whether the task is successful. For example, to specify that the task has failed (and trigger a failure message), useRule.Status=False
.Operations Agent uses a generic Microsoft scripting engine to run VBScript scripts. You can therefore use standard VBScript objects (for example, the FileSystemObject object) in your scripts. Objects that are specific to wscript or cscript (for example, the WScript object) are not supported.
-
Perl Script
Type the Perl script in the window. Alternatively, click Load VB script file from client to load an existing script.
Use the policy method
$Rule->Status
to specify whether the task is successful. For example, to specify that the task has failed (and trigger a failure message), use$Rule.Status(False)
.
The agent runs as a service that has no standard input, standard output, or standard error. Therefore, the predefined file handles STDIN, STDOUT, and STDERR are not available for Perl scripts in scheduled task policies. It is also not possible to open file handles that use command pipes or capture the standard output from commands within backticks (`).
Related tasks
UI Descriptions
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: