Automating Failover Event Handling on Two HP Systems Insight Manager Servers White Paper 532451-002, February 2010

19
Tip:
The simplest way to retrieve the XML file is to use the GUI to create
the
event handler that you want and then use the
mxtask
-
If
myEventHandler >> cap.xml
to capture the content and syntax of the
event handler.
For more information, see
Appendix
A
Event handler
.
After
you have the syntax correct
, delete the task using
mxtask
-
r
My
EventHandler
(for this example, the event handler is named
ClaudiasEvents
).
Because there
is no
Modify Task
command
, you must
manipulat
e
the handler by creating and removing it as needed.
The
following figure illustrates
t
he path and parameters for this task.
Figure 17
Manage Custom Tools
In
Command with parameters
textbox, e
nter the
following
command:
C
:
\
Program Files
\
HP
\
Systems Insight Manager
\
bin
\
mxtask
cf C:
\
cap.xml