This
This SyncPack requires a subscription to ScienceLogic Standard solutions.
The label "SyncPack" is used in place of "SyncPack" in the PowerFlow user interface.
Prerequisites for this SyncPack
This SyncPack requires the following:
- A subscription to the SL1 Standard solution
The following table lists the port access required by PowerFlow and this SyncPack:
Source IP | PowerFlow Destination | PowerFlow Source Port | Destination Port | Requirement |
PowerFlow | SL1 API | Any | TCP 443 | SL1 API Access |
PowerFlow | PagerDuty API | Any | TCP 443 | PagerDuty API Access |
PowerFlow | SL1 Database | Any | TCP 7706 | SL1 Database Access |
Contents of the SyncPack
This section lists the contents of the PagerDutySyncPack.
PowerFlow Applications
- Create Event in PagerDuty from SL1 Event. This application sends SL1 event information to PagerDuty. The application translates and formats the event data from SL1 so that it can be consumed by PagerDuty to trigger, acknowledge, or resolve an incident.
- Get PagerDuty log and incident data. This application queries the PagerDuty API to collect log entries and incident data. The collected entries are formatted and passed to subordinate applications that process the data to update, acknowledge, and clear events in SL1.
- Clear resolve event from ScienceLogic. This application clears an event in SL1 that was resolved in PagerDuty. This application is called by the "Create resolve alert data from PagerDuty" application for each event that needs to be cleared.
- Create resolve alert data from PagerDuty. This application is called by the "Get PagerDuty log and incident data" application to process log messages that indicate that an incident has been resolved. This application queries the PagerDuty API for the alerts associated with the resolved incidents. If the alert was triggered from an SL1 event, the application calls the "Clear resolve event from ScienceLogic" application to clear the event.
- Get trigger alert data from PagerDuty. This application is called by the "Get PagerDuty log and incident data" application to process log messages that indicate that an incident has been triggered. This application queries the PagerDuty API for the alerts associated with those triggered incidents. If the alert was triggered from an SL1 event, the application calls the "Post event updates to ScienceLogic" application to add to incident ID to the event.
- Get alert and user data from PagerDuty and ScienceLogic. This application is called by the "Get PagerDuty log and incident data" application to process log messages that indicate that an incident has been acknowledged. This application queries the PagerDuty API for the alerts associated with acknowledged incidents. If the alert was triggered from an SL1 event, the application updates the SL1 event so that the acknowledgment matches PagerDuty. This application also determines the date of the most recently processed alert and stores that value to be used by the next execution of the "Get PagerDuty log and incident data" application.
- Post event updates to ScienceLogic. This application updates SL1 events using the data collected from the PagerDuty API.
For more information about how to configure these applications, see Configuring and Aligning the PagerDuty Applications.
Configuration Object
- PagerDuty Base Config. This configuration object can be used as a template after the SyncPack is installed on the PowerFlow system. The configuration object includes the following:
- Details for connecting to the SL1 API, including the URL, username, and password
- Details for connecting to the PagerDuty API, including the URL, username, and password
- Details for connecting to the PagerDuty REST API, including the URL and API key
- Details for connecting to an HTTP Proxy when communicating with PagerDuty, including the hostname or IP address, username, and password
- An optional identifier that appends the event ID to create a PagerDuty dedup key. This can be used to avoid routing collisions when multiple SL1 platforms connect to the same PagerDuty instance.
- Mapping between SL1 events and PagerDuty incidents including, event summary formats, event data, and indications to resolve or link incidents between SL1 and PagerDuty
Steps
The following steps are included in this SyncPack:
- Acknowledge the alert by user
- Check for since parameter after query
- Check conditional
- Get alert count and acknowledge the alert by user
- Get incident and user data
- Get resolve incident data
- Get trigger incident data
- Get user email from user details
- Convert ScienceLogic event data to PagerDuty event
Installing the SyncPack
A SyncPack file has the .whl file extension type. You can download the SyncPack file from the ScienceLogic Support site.
Downloading the SyncPack
If you are installing or upgrading to the latest version of this SyncPack in an offline deployment, see Installing or Upgrading in an Offline Environment to ensure you install any external dependencies.
To locate and download the SyncPack:
- Go to the ScienceLogic Support Site at https://support.sciencelogic.com/s/.
- Click the PowerPack. tab and select
- In the Search PowerPacks field, search for the SyncPack and select it from the search results. The Release Version page appears.
- On the SyncPack version that you want to install. The Release File Details page appears. tab, click the name of the
- Click the button to start downloading the file.
After you download the SyncPack, you can import it to your PowerFlow system using the PowerFlow user interface.
Importing the SyncPack
To import a SyncPack in the PowerFlow user interface:
- On the SyncPacks page () of the PowerFlow user interface, 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 will need to activate and install the SyncPack in PowerFlow. For more information, see Activating and Installing a Synchronization PowerPack.
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.
Installing the SyncPack
To activate and install a SyncPack in the PowerFlow user interface:
-
On the SyncPacks page of the PowerFlow user interface, 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" 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.