Configuring event actions using pxhpsm-ws-im
To configure an event action to interface with HP Service Manager Web Service you must write the configuration file for the appropriate interface program. Modify the sample script included in the samples directory, and copy it to the \<instance>\script\. If you cannot find the sample file, try re-running setup
to modify your installation. Sample files are automatically installed with complete (typical) installations. You can select them in custom installations.
When you configure an event, you enter the program name or, as of Bravura Security Fabric version 7.0, the target ID you set up earlier. In both cases, the program looks for the default script with the matching name.
You can write an alternative .cfg file; for example when you have multiple HP Service Manager Web Service targets. When you configure an event, you specify the file using the -cfg parameter; for example:
pxhpsm-ws-im.exe -cfg myfile.cfg
or
MYHP -cfg myfile.cfg
Requirements
If you do not use a ticket target to configure events, you must define the variables shown in the table below in every HP Service Manager Web Service script.
Key | Description of the value |
---|---|
adminid | The target system administrator ID you configured earlier. |
adminpwd | The password for the target system administrator. |
server | The URL of the HP Service Manager Web Service. |