
Working with Ticket Templates
3-2
Connector Installation and Configuration Guide
emctl register_ticket_template connector <ticketTemplate.xml> <server> <port>
<database sid> <username> <password> <connectorTypeName> <connectorName>
<templateName> <description>
The template in
Example 3–1
creates an Incident in Service Manager and supports
AutoClose.
Example 3–1 register_ticket_template connector
C:\OracleHomes\oms10g\BIN\emctl register_ticket_template connector
"C:\OracleHomes\oms10g\sysman\connector\HP_Service_Manager_
Connector\templates\Service_Manager_Default_Incident_AutoClose.xsl" <Host Server
Name> 1521 emrep SYSMAN <password> "HP Service Manager Connector" "HP Service
Manager Connector" "Service Manager Default Incident AutoClose" "This template
creates an Incident in Service Manager and supports autoclose."
emctl Parameters for Ticket Registration
Table 3–1
provides descriptions for each
emctl
parameter for ticket registration.
Verifying Registration
To verify that the templates are registered properly, navigate to the
Ticket Templates
tab on the Configure Management Connector: HP Service Manager Connector page.
The registered templates must be visible in the list as shown in
Figure 3–1
.
Table 3–1 emctl register_ticket_template Parameters
Parameter
Description
ticketTemplate.xsl
Fully-qualified name of the ticket template file. The file resides
in the Connector home directory. Oracle recommends that you
use intuitive names since there may be notification methods
created with the same names, and you may have to choose one
of them when you use the Auto Ticketing feature. Use
xsl
as the
file extension since the format is XSLT; for example,
ServiceCenter_Default_Incident.xsl
. If the file is in a
different directory, provide the complete path for the file.
Server
Host name of the Enterprise Manager repository.
port
Listener port of the repository.
database sid/ Service
Name for RAC DB
Repository database instance ID.
username
Specify
SYSMAN.
password
Password for
SYSMAN.
connectorTypeName
Connector type name. For example, "
HP ServiceCenter
Connector".
The double quotes (" ") are mandatory.
connectorName
Connector name. This should be the same as the connector type
name. For example, "
HP ServiceCenter Connector".
The
double quotes (" ") are mandatory.
templateName
Intuitive name for the ticket template to be displayed in
Enterprise Manager.
It is recommended that this name be the same as the file name,
replacing the underscore in the file name with spaces.
description
Short description for the ticket template. This description is also
displayed in Enterprise Manager.