HP Systems Insight Manager 6.3 Command Line Interface Guide

Example 21
To create a new task based on the XML contents of the file test_file.xml, enter mxtask -cf
test_file.xml.
All required task configuration information must be specified in a predefined task-specific XML
format. See the mxtask(4) manpage for a detailed description of the required XML format. The
general format is shown below.
<?xml version="1.0" encoding="UTF-8"?>
<task-list>
<task name="task name" type="add|remove|manual|schedule"
owner="taskowner" runmode="runnow|runatstartup">
<toolname>tool name</toolname>
<queryname>query name</queryname>
<scheduleinfo interval="x" periodic="x" time="x" day="x" date="x"/>
<timefilter />
<toolparams />
</task>
</task-list>
Limitations
This command can only be run on the CMS.
See also
HP-UX
mxauth(1M) mxtask(4)
Linux
mxauth(8) mxtask(4)
mxtool
Adds, lists, modifies, or removes tools in Systems Insight Manager.
Synopsis
mxtool -a -f filename
mxtool -m [-i] -f filename [-x force]
mxtool -s -f filename
mxtool -r [-f filename|-c category|-t toolname ] [-x force]
mxtool -l d|f|n|t [-c category...|-t toolname... ]
mxtool -lf [-b encoding ] [-c category...|-t toolname... ]
mxtool
Description
The mxtool enables you to add, list, modify or remove tools.
mxtool -a -f filename
This command enables you to add tools. Tool information is provided in a tool definition file
(see mxtool(4)) that enables you to add one or more tools.
If you are an administrative rights user (see mxuser(1)), Systems Insight Manager will accept
the owner value specified for a tool in the tool definition file. If an owner is not specified, the
tool is enabled in all toolboxes that contain it.
112 Command descriptions