Configure a ServiceNow MID Server

Before you can configure ServiceNow you must set up a ServiceNow MID server on your Moogsoft AIOps machine or on a Linux machine that is accessible from Moogsoft AIOps. The MID server receives updates from ServiceNow and forwards them to Moogsoft AIOps using the Graze API.

Refer to the ServiceNow documentation for more details.

Follow these steps to configure a ServiceNow MID server for Moogsoft AIOps:

  1. Inside ServiceNow, locate the URL for the 64-bit MID server package for Linux.

  2. Download the 64-bit MID server Linux package to your Moogsoft AIOps machine or to a machine accessible from Moogsoft AIOps.

  3. Create the following directory for the MID server:

    mkdir -p /usr/local/servicenow/moog_mid_server
  4. Unzip the MID server package to the MID server directory. For example:

    sudo unzip <mid server package>.zip -d /usr/local/servicenow/moog_mid_server
  5. Install the latest version of Java 8. See the ServiceNow MID server system requirements for more information. The MID server requires Java 8 (update 152 or later) and will not work with Java 9, 10 or 11.

  6. Configure the wrapper.java.command property to point to the Java 8 binary in the following file: /usr/local/servicenow/moog_mid_server/agent/conf/wrapper-override.conf. For example:

    wrapper.java.command=/usr/java/jre1.8.0_171-amd64/bin/java
  7. If you are configuring the MID server on the same machine as Moogsoft AIOps, make the Tool Runner user the owner of the MID server directory. For example:

    chown -R moogtoolrunner:moogsoft /usr/local/servicenow/moog_mid_server

    See Configure Tool Runner to verify the user for Tool Runner.

When you set up the ServiceNow integration in Moogsoft AIOps, it automatically starts the MID server.