The "ServiceNow Events" SyncPack version 1.1.2 adds two new configuration parameters to the "Sync Cached SL1 Events to ServiceNow" application, the new snow_source configuration parameter for both MID-server and MID-serverless versions of the Event Sync, a new report, and a new application to facilitate clearing the PowerFlow queue of events for a specific region.
The "ServiceNow Events" SyncPack contains a set of PowerFlow applications, steps, and other utilities that you can use with the ServiceNow Events Module. This SyncPack provides a bi-directional sync of SL1 Events with ServiceNow Alerts, including event creation, acknowledgment, and resolution.
This SyncPack uses the "ServiceNow Base Pack" PowerPack.
You should not use the "ServiceNow Events" SyncPack and the "ServiceNow Incident" SyncPack on the same PowerFlow system. Also, do not use the "ServiceNow Cases" and "ServiceNow Events" SyncPacks on the same PowerFlow system.
Enhancements and Issues Addressed in this Release
The following features were included in this release of the SyncPack:
- Added two new configuration parameters to the "Sync Cached SL1 Events to ServiceNow" application:
relative_url: This parameter allows you to alter the API endpoint that events are sent to for ServiceNow.
report_retention_days: This parameter determines the retention period for event reports. If this value is set to zero, no reports will be generated.
The relative_url parameter should not be modified without consulting ScienceLogic first.
- Added the new "Clear Events from PowerFlow Queue" hidden application, which facilitates clearing the PowerFlow queue of events for a specific region.
- Added a new report that displays details for each run of the "Sync Cached SL1 Events to ServiceNow" application. The information provided in the report includes the number of events sent to ServiceNow in the run, the number of events remaining in the PowerFlow cache, The ServiceNow response time (in seconds), and the timestamp of the run.
- Added the new snow_source configuration parameter for both MID-server and MID-serverless versions of the Event Sync.
If snow_source is present in the configuration, this value will be sent to ServiceNow as the value for 'source' in the payload. If the key/value pair is missing from the configuration or if the value has not been updated from the default configuration value (For example: snow_source), the 'source' value will match the region. This matches the behavior of previous versions of the SyncPack.
Known Issues
The "ServiceNow Events" SyncPack does not contain any known issues.
System Requirements
The "ServiceNow Events" SyncPack requires:
- SL1 PowerFlow platform version: 2.4.0 or later.
- SL1 version: 11.2.0 or later. For details on upgrading SL1, see the relevant SL1 Platform Release Notes.
- "Base Steps" SyncPack version 1.5.3 or later.
- "ServiceNow Base" SyncPack version: 3.6.3 or later.
- "ServiceNow Base Pack" PowerPack version: 107 or later. You can download the PowerPack from the PowerPacks page.
- ServiceNow version: Tokyo or later with Web Services enabled.
- "ScienceLogic SL1: Event Integration" application version: 1.0.4.
You should always use the most recent version of a SyncPack and its certified application.
The following table lists the port access required by PowerFlow for this SyncPack:
Source IP | PowerFlow Destination | PowerFlow Source Port | Destination Port | Requirement |
PowerFlow | SL1 API | Any | TCP 443 | SL1 API Access |
PowerFlow | ServiceNow API | Any | TCP 443 | ServiceNow API Access |
Prerequisites for the SyncPack
To install this SyncPack, you must have administrator access to both SL1 and ServiceNow. Specifically, you will need:
- ScienceLogic administrator access to the Administration Portal
- ServiceNow administrator access
ScienceLogic highly recommends that you disable all firewall session-limiting policies. Firewalls will drop HTTPS requests, which results in data loss.
Installing or Upgrading the SyncPack
If you are upgrading to this version of the SyncPack from a previous version, make a note of any settings you made on the various applications in this SyncPack, as these settings are not retained when you upgrade.
If you are installing the SyncPack in an offline deployment, see Installing in an Offline Environment.
A SyncPack file has the .whl file extension type. You can download the SyncPack file from the ScienceLogic Support site.
To locate and download the SyncPack:
- Go to the ScienceLogic Support site at https://support.sciencelogic.com/s/.
- Click the PowerPacks & SyncPacks. tab and select
- In the Search field, type the name of this SyncPack and select it from the search results. The Release Version page appears.
- On the SyncPack version that you want to install, and select Show File Details. The Release File Details page appears. tab, click the down arrow next to the
- Click the SyncPack. button to download the
After you download a SyncPack, you can import it to the PowerFlow platform using the PowerFlow user interface.
To import a SyncPack in the PowerFlow user interface:
- On the SyncPacks page, click . The Import SyncPack page appears.
- Click .whl file for the SyncPack you want to install. You can also drag and drop a .whl file to the Import SyncPack page. and select the
- Click PowerFlow registers and uploads the SyncPack. The SyncPack is added to the SyncPacks page. .
You cannot edit the content package in a SyncPack published by ScienceLogic. You must make a copy of a ScienceLogic SyncPack and save your changes to the new SyncPack to prevent overwriting any information in the original SyncPack when upgrading.
To activate and install a SyncPack in the PowerFlow user interface:
- On the SyncPacks page, click the button () for the SyncPack you want to install and select Activate & Install. The Activate & Install SyncPack modal appears.
If you try to activate and install a SyncPack that is already activated and installed, you can choose to "force" installation across all the nodes in the PowerFlow system.
If you do not see the PowerPack that you want to install, click the Filter icon () on the SyncPacks page and select Toggle Inactive SyncPacks to see a list of the imported PowerPacks.
- Click SyncPack is activated, the SyncPacks page displays a green check mark icon for that SyncPack. If the activation or installation failed, then a red exclamation mark icon appears. to confirm the activation and installation. When the
- For more information about the activation and installation process, click the check mark icon or the exclamation mark icon in the Activated column for that SyncPack. For a successful installation, the "Activate & Install SyncPack" PowerFlow application appears, and you can view the Step Log for the steps. For a failed installation, the Error Logs window appears.
- If you have other versions of the same SyncPack on your PowerFlow system, you can click the button () for that SyncPack and select Change active version to activate a different version other than the version that is currently running.
Installing in an Offline Deployment
Use the following procedure if you are installing or upgrading to version 1.1.2 of this SyncPack in an offline deployment.
This release of the SyncPack requires the following external files for an offline deployment:
- Jinja2-2.11.1-py2.py3-none-any.whl, available at this location at pypi.org.
- MarkupSafe-1.1.1-cp37-cp37m-manylinux1_x86_64.whl, available at this location at pypi.org.
To upload the required external files:
-
After downloading the two required external files, SCP the files to the master node.
-
Run the following commands on the host:
devpi use 'https://<is_username>:<is_password>@<is_hostip>:3141/isadmin/dependencies'
devpi login <is_username> --password=<is_password>
cd /tmp/
devpi upload Jinja2-2.11.1-py2.py3-none-any.whl
devpi upload MarkupSafe-1.1.1-cp37-cp37m-manylinux1_x86_64.whl –force
If you cannot run these commands on the host, you can instead run them on the pypiserver container.
-
Perform a docker copy to both files (if you are running commands in the pypiserver container):
docker cp <file1-location> $(docker ps -q -f name=iservices_pypiserver):/tmp
docker cp <file2-location> $(docker ps -q -f name=iservices_pypiserver):/tmp
-
Follow the steps in Installing or Upgrading the SyncPack to install and activate this SyncPack.
Installing the "ScienceLogic SL1: Event Integration" Application in ServiceNow
You must install the "ScienceLogic SL1: Event Integration" application on the ServiceNow instance to enable this SyncPack. This application is also called the "certified" or "scoped" application.
Contents of the Application
This release of the "ServiceNow Events " SyncPack requires version 1.0.4 of the "ScienceLogic SL1: Event Integration" application. Version 1.0.4 includes the following updates:
- Added the ability to sync SL1 events with ServiceNow events using a MID server.
- Added the ability to sync SL1 events with ServiceNow events without using a MID server.
Installing the Application
You must first request the "ScienceLogic SL1: Event Integration" application from the ServiceNow Store, and then you can install it.
The "ScienceLogic SL1: Event Integration" application requires that you have already installed the ServiceNow Event Management plugin on the target ServiceNow instance. You can request this plugin directly from ServiceNow. Also, the MID Server must be configured before you can install this application. For more information, see the ServiceNow Events SyncPack manual.
You must have a ServiceNow HI Service Account to request this application and download it onto your ServiceNow instance.
To request and install the "ScienceLogic SL1: Event Integration" application:
- Go to the ServiceNow Store at https://store.servicenow.com and search for "ScienceLogic SL1".
- Select the "ScienceLogic SL1: Event Integration" application. The detail page for the application appears.
- Click Get and log in with your HI credentials.
- After the request is approved, log in to ServiceNow as an administrator and navigate to Application Manager (System Applications > Applications).
- Click Downloads in the menu header or search for "ScienceLogic".
- Click the version drop-down for the "ScienceLogic SL1: Event Integration" application listing to make sure you are using the correct version of the application that is compatible with your version of the ServiceNow Events SyncPack.
- Click Install for the "ScienceLogic SL1: Event Integration" application. The installation is complete when the button changes to Installed.
- In the filter navigator, search for "ScienceLogic" and locate the application in the navigation menu in the left pane. You might need to log out of ServiceNow and log in again to see the updated left-hand navigation menu.
For more information about configuring the "ScienceLogic SL1: Event Integration" Application in ServiceNow and enabling Event Sync, see the ServiceNow Events SyncPack manual.
Installing the ServiceNow Base Pack PowerPack in SL1
The "ServiceNow Base Pack" PowerPack contains run book automations that you use to integrate with the ServiceNow Events module.
By default, installing a new version of a PowerPack will overwrite all content in that PowerPack that has already been installed on the target system. You can use the Enable Selective PowerPack Field Protection setting in the Behavior Settings page (System > Settings > Behavior) in SL1 to prevent the new version of the PowerPack from overwriting local changes for some commonly customized fields.
To install the latest "ServiceNow Base Pack" PowerPack in SL1:
- Search for and download the "ServiceNow Base Pack" PowerPack from the PowerPacks page at the ScienceLogic Support site at https://support.sciencelogic.com/s/.
- In SL1, go to the PowerPack Manager page (System > Manage > PowerPacks).
- Click the Import PowerPack. The Import PowerPack modal appears. button and choose
- Click PowerPack file from step 1. and navigate to the "ServiceNow Base Pack"
- Select the PowerPack file and click . The PowerPack Installer modal page displays a list of the PowerPack contents.
- Click PowerPack appears on the PowerPack Manager page. . After the installation is complete, the "ServiceNow Base Pack"