Documentation Center

Using Monitoring to check if the Import and Export service is up and running

You can configure Monitoring functionality to monitor the Import and Export service. The service is not a separate process, but it is hosted in the Tridion Service Host. Note that you can also check on the status of an import, export or undo process using the Web service API, using GetProcessInfo and GetProcessID.

Procedure

  1. On the Content Manager server on which you have set up Monitoring, access the folder %TRIDION_HOME%\bin\.
  2. In this folder, create a folder called pollers\ and in it, create a plain text file called IERequestData.xml.
  3. Insert the following content into this file:
    <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope">
      <s:Body>
        <TestConnection xmlns="http://www.sdltridion.com/ContentManager/ImportExport/2013" />
      </s:Body>
    </s:Envelope>
  4. Save and close IERequestData.xml.
  5. On the same machine, navigate to the folder associated with the Monitoring Windows service (typically %TRIDION_HOME%\config\).
  6. In this folder, open the configuration file cd_monitor_conf.xml for editing and find the ServiceHealthMonitors section.
  7. To monitor the Import and Export service, add the following element to this section:
    <XmlHttpServiceHealthMonitor ServiceType="ImportExport" PollInterval="10m" TimeoutInterval="30s">
      <Request URL="http://localhost/webservices/ImportExportService.svc/basicHttp" 
        SOAPAction="http://www.sdltridion.com/ContentManager/ImportExport/2013/IImportExportService/TestConnection" />
      <Authentication Scheme="NTLM" Host="HOSTNAME" Domain="DOMAINNAME" Username="USERNAME" Password="PASSWORD" />
    </XmlHttpServiceHealthMonitor>
  8. In the element or elements you added, make the following changes:
    1. In the Request element, change localhost in the URL attribute to the fully qualified host name of the machine on which Content Porter Server is running.
    2. Replace HOSTNAME and DOMAINNAME with values that identify the machine on which the Import and Export service is running.
    3. Replace USERNAME and PASSWORD with valid credentials to connect to that machine.
    When using single sign-on, make sure to use custom headers.
  9. Save and close cd_monitor_conf.xml, and restart the Windows service.