Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Configure the integration in PRTG

Prerequisite

Jira Edge Connector (abbreviated as JEC) is a prerequisite for configuring the outgoing authentication of PRTG integration. Download the latest version of the PRTG package from this repository.

  1. In PRTG, go to Setup > Account Settings > Notification Templates.

  2. Select Add new notification > Execute HTTP Action.

  3. Paste the URL you copied while adding the integration in Jira Service Management into URL.

  4. Select Send SNI and enter the URL from Step 3 into the domain and subdomain fields of Virtual Host (SNI). US Region: api.jsm.com

  5. EU Region api.eu.jsm.com

  6. Copy the POST data (from the file linked to, as applicable) and paste it into Postdata.

    1. For PRTG version 16.x.24. and above, use this filepost data.

    2. For other versions, use this filepost data.

  7. Select Save.

Integrate via JEC (for on-premise PRTG)

Use JEC and the PRTG script to update alerts on PRTG. This enables deployment of your own scripts/ability to With this setup, you can deploy your own script, modify the ones provided and execute , or run customized actions on PRTG.

To use the PRTG integration package, follow complete the steps in the following sectionssection:

...

1. Download the latest version of

...

PRTG packages from this repository.

 2. Install the PRTG package:

Expand
title

...

RedHat-based distributions

Run the following command : 

Code Block
rpm -i opsgenie-prtg-<your_version>.rpm
Note

If while installing the rpm package you get an error saying that the package is obsolated, you need to use "rpm -i opsgenie-prtg-1.0.4-rpm-x86-64.rpm --nodeps" instead.

If you get "is already installed" error, use "rpm -i opsgenie-prtg-1.0.4-rpm-x86-64.rpm --force" instead.

Expand
title

...

Debian-based distributions

Run the following command : dpkg -i opsgenie-prtg-<your_version>.deb

Expand
title

...

Windows

Unzip Jira Service Management integration zip file which contains JEC package into a directory (C:\jsm\oec is the preferred path).

...

Follow the instructions here to install JEC on Windows.

...

To learn more about how to run JEC, refer to the Running JEC documentation.

Learn more about running JEC.

3. Configure the integration PRTG

...

integration for JEC.

  • To use the JEC utility, select Send Via JEC.

  • Other configurations regarding PRTG can be done either via integration page or JEC configuration file config.json. The configuration via the integration page precedes the configuration file.

4. Configure JEC.

Use JEC and the PRTG script to update alerts on PRTG. To run actions in PRTG, JEC gets the configuration parameters from the configuration file. The configuration file can be found under /home/opsgenie/oec/conf/config.json.

...

  • apiKey – Copy the API key from the PRTG integration created above.

  • prtgUrl – PRTG with subdomain on it. Example: https://opsgeniejsm.my-prtg.com

  • username – PRTG API Username under Account Settings at PRTG.

  • passhash – PRTG API Passhash under Account Settings at PRTG.

...