Integration Agent configuration files
The Integration Agent uses two types of XML configuration files:
- Integration Agent configuration file
- Integration services configuration files
You can change a number of settings in these files to customize your installation.
Even if you are running the Integration Agent on Windows, it is recommended that you use Linux-style file path formatting, which works on both platforms.
Integration Agent configuration file
The Integration Agent configuration file is named IAConfig.xml and is located at:
- Windows: <IAHOME>\conf
- Linux: <IAHOME>/conf
Element | Description |
id |
Each Integration Agent must have a unique ID across all collaborating Integration Agents. If you don't specify this parameter, a default agent ID is auto-generated in the format <computername>/<ip>:<service-gateway port>. For example: <id>workstation-198-bsmith/10.2.0.121:8081</id> If you assign a custom agent ID, make sure that any < and & characters in the name are replaced with their XML entity names (in other words replace < with < and & with &). Any leading or trailing whitespace is removed. |
proxy-config |
Use the proxy-config settings if you need to configure the Integration Agent to communicate with xMatters via a proxy server. By default, the proxy-config section commented out, and the Integration Agent does not use a proxy server. Sub-elements:
If the proxy-auth-username and proxy-auth-password-path tags aren't commented out, the Integration Agent sends an authorization header to the proxy server, even if the tags are empty. If the tags are empty; the header contains only a ":" character, which can cause the proxy connection to be refused.
If you're using a wrapper.conf file which specifies proxy settings, those settings will override the proxy settings in IAConfig.xml. Use the wrapper.conf file that was shipped with the Integration Agent, as older wrapper files may not be forward-compatible. |
web-services-auth |
The Integration Agent uses this account to register itself with xMatters and to send and receive incidents and responses. The specified account must exist as a Web Services User in xMatters, and must have the "Register Integration Agent", "Receive APXML", and "Send APXML" privileges. Sub-elements:
|
heartbeat |
The Integration Agent periodically sends a heartbeat request to xMatters to identify the integration services it provides. The heartbeat element settings identify the web server the Integration Agent should target with these registration attempts. The URLs specified must point to the location of the AlarmPointWebService, and begin with https://. The URL cannot have a query or fragment component (the URL must be resolvable from the Integration Agent). For example: https://xyzcustomer/api/services/AlarmPointWebService Sub-elements:
See the Health Monitor section in the full Integration Agent 5.2 guide for more information about the messages associated with these settings. |
ip-authentication |
If enabled, only clients with IP addresses that match a listed address are allowed to submit requests to the Integration Agent. This includes the IP addresses of xMatters Application Server Nodes and users of APClient.bin. Attributes and sub-elements:
|
password-authentication |
If enabled, only clients that provide the correct password are allowed to submit requests to the Integration Agent. This includes xMatters Application Server Nodes and users of APClient.bin. Attributes and sub-elements:
|
external-service-request |
This determines the behavior of xMatters when ExternalServiceRequest2's send() method is called and this Integration Agent is the target. We recommend that you don't change this setting without first talking to someone at support.xmatters.com. |
request-timeout |
The maximum number of seconds that this Integration Agent processes a client request before cancelling it with a timeout exception sent to the client (value: positive integer). This applies to integration service requests, ExternalServiceRequest2 requests, and input and response action scripting. It is not possible to increase the timeout for individual integrations. We strongly recommend that you do not increase this setting, since it can result in extended delays building up. See the information on script timeouts in the Input action scripting section in the full Integration Agent 5.2 guide for more information. |
admin-gateway |
Web Services gateway exposed to the IAdmin utility. Attributes:
|
service-gateway |
Web services gateway exposed to the xMatters web servers (integration service requests are submitted to child paths of this URL). Attributes:
|
apclient-gateway |
HTTP gateway exposed to Management Systems (either directly or via APClient.bin). Attributes:
|
emergency-contact |
Where the Integration Agent sends emergency notification emails when a serious condition occurs (for example, network failure or low memory; see the Health Monitor section in the full Integration Agent 5.2 guide for details. Attributes and sub-elements:
|
service-configs |
The configuration files for integrations are organized within a file structure rooted at <IAHOME>/integrationservices. Attributes and sub-elements:
|
The <outbound-queue>, <threshold> and <polling-interval> settings are covered in the Health Monitor documentation.
Integration service configuration file
This file is unique to each integration. It's located at:
- Windows: <IAHOME>\integration-services\<integration-name>\<integration-name>.xml
- Linux: <IAHOME>/integration-services/<integration-name>/<integration-name>.xml
Element |
Description |
domain |
For integrations that use a workflow, this must be "applications". |
name |
The name of the integration service, which must be unique (regardless of letter case). Names must begin with a letter (a-z or A-Z), followed by any combination of letters (a-z or A-Z), numbers (0-9), or dashes ("-"). |
initial-state |
Only active integration services process requests, though all services are loaded (parsed and configured) regardless of state. A suspended service allows requests to be added to its inbound queues, but the requests aren't processed until the service is active. Suspending a service initially is useful for debugging a configuration since parsing and validation are still performed. |
concurrency (optional element) |
For improved performance, integration services can concurrently process notification requests from your management system and callbacks from xMatters. Messages are grouped in two stages: first by priority then by apia_process_group token. Messages with the same apia_process_group token are processed sequentially in first come, first served order, while messages with different apia_process_group tokens are processed concurrently. Sub-elements:
We recommend you don't change these to exceed their default values. Doing so can reduce throughput. |
script |
Integration service requests are implemented by corresponding methods in a JavaScript file specific to the integration. This element defines the location of the script and related properties. Attribute and sub-element:
|
classpath (optional element) |
Integration service scripts have access to all classes and JARs stored in <IAHOME>/lib. However, to prevent conflicts and enhance security, you can specify that an integration service loads its own classes and resources from an unshared directory. The classpath element allows you to specify multiple paths that will be added to the integration service’s classpath during the processing of an integration service request. Although this classpath augments the default classpath (which is available to all services), the augmented classpath is exclusive to this service. JDBC drivers cannot be specified using this element; instead, they must be placed in <IAHOME>/lib/integrationservices where they will be automatically available without further configuration. Sub-elements:
Notes:
|
mapped-input |
Integration services use the mapped-input element to define how an APClient map-data request is transformed into an APXML message. The first map-data token is always treated as an agent_client_id APXML token. Subsequent map-data tokens are transformed in order according to the following parameter sub-elements. If too few map-data tokens are supplied, the unused parameter subelements are ignored. Conversely, if too many map-data tokens are supplied, the unused tokens are ignored. . Attributes and sub-elements:
|
constants |
Integration services use the constants element to add or replace tokens in a submitted APXML message. In the case of a map-data submission, the constants are applied to the APXML message that results from applying the mapped-input. Sub-elements:
|