Skip to main content

Configuring event actions

To configure an event action to interface with SCSM, you must write a configuration file. Modify the pxmssm.cfg sample script included in the samples directory and copy it to the \<instance>\script\ directory. 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 configuring an event, you enter the program name or the target ID you set up earlier. In both cases, pxmssm looks for the default script with the matching name.

You can write an alternative .cfg file; for example when you have multiple SCSM targets. When you configure an event, you specify the file using the -cfg parameter; for example:

  • pxmssm.exe -cfg myfile.cfg

    or

  • MYMSSM -cfg myfile.cfg

Requirements

If you do not use a ticket target to configure events, you must define the variables shown in table below in every SCSM script.

Table 1. Required variables for SCSM

Variable

Description of the value

adminid

The user ID of a user with permissions to perform all operations that you require.

adminpwd

The password for the above user.

server

The URL/URI of the SCSM web service.