...
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.
In PRTG, go to Setup > Account Settings > Notification Templates.
Select Add new notification > Execute HTTP Action.
Paste the URL you copied while adding the integration in Jira Service Management into URL.
Select Send SNI and enter the URL from Step 3 into the domain and subdomain fields of Virtual Host (SNI).
Copy the POST data (from the file linked to, as applicable) and paste it into Postdata.
For PRTG version 16.x.24. and above, use this post data.
For other versions, use this post data.
Select Save.
...
Authenticate via JEC (for on-premise PRTG)
Use Jira Edge Connector (abbreviated as JEC) is a prerequisite for configuring the outgoing authentication of PRTG integration. You can combinedly use JEC and the PRTG script scripts to update alerts on PRTG. With this setup, you can deploy your own script, modify the ones provided, or run customized actions on PRTG.
To use the PRTG integration package, complete the steps in the following section:
...
STEP 1. Download the latest version of PRTG packages and install the PRTG package from this repository.
2. Install the PRTG package:
Expand | |||||||
---|---|---|---|---|---|---|---|
| |||||||
Run the following command :
If while installing the rpm package you get an error sayingyou figure that the rpm 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.obsolete, run the following command instead:
If you figure that the rpm package is already installed, run the following command instead:
|
Expand | |||
---|---|---|---|
| |||
Run the following command:
|
Expand | ||
---|---|---|
| ||
Learn more about running JEC. |
...
3. STEP 2: Configure the integration PRTG integration for JEC
...
In Jira Service Management, go to the integration configuration page.
Expand the Outgoing section.
...
To use the JEC utility, select Send Via JEC.
Select the Authenticate with Jira Edge Connector only check box.
You can make the other configuration through the integration configuration page or the JEC configuration file, config.json. The configuration
...
set through the integration
...
4. Configure JEC.configuration page takes precedence over what’s in config.json.
...
STEP 3: 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 , config.json (found at /home/opsgeniejsm/oecjec/conf/config.json).
Configuration parameters
apiKey – Copy the The API key from you copied while adding the PRTG integration created above.integration in Jira Service Management
prtgUrl – The PRTG URL with a subdomain on in it. Example: https https://jsm.my-prtg.com
username – The PRTG API Username username under Account Settings at in PRTG.
passhash – The PRTG API Passhash passhash under Account Settings at in PRTG.
The downloaded package that you downloaded also includes the JEC utility which is located under (found in /usr/local/bin) and the script that is needed JEC needs to be run by JEC which is under run (found in /home/opsgenie/oec/scripts. After the configuration of JEC is done, you need to run it. To learn more about how to run JEC, you can refer to the Running JEC documentation.
Troubleshooting
...
). Be sure to run JEC after configuring it.
Learn more about running JEC documentation.
...
Troubleshoot issues
If you have an older setup of the integration and want to make it work bidirectionally, add
sensorId, {{sensorId}}
key-value pair to
...
alert properties in your PRTG Integration configuration.
If you are having trouble sending execute actions to Jira Service Management, enable Send SNI
...
.