Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Overview

With SolarWinds NPM's quick installation, discover devices to start monitoring them. SolarWinds NPM monitors & displays response time, availability, and performance of network devices. It also has an intelligent alerting system and executes actions (sending email, using Get or Post URL Functions etc.) on alert creation and reset.

A SolarWinds NPM alert is an automated notification that a network event has occurred, such as a server becoming unresponsive. The network event that triggers an alert is determined by conditions set up during alert configuration.

What does the integration offer?

Jira Service Management provides a bidirectional integration for SolarWinds NPM. The integration leverages SolarWinds NPM's "Send a Post Request to a Web Server" functionality and JEC utility to automatically create alerts and synchronizes alert status between SolarWinds NPM and Jira Service Management.

With the SolarWinds NPM Integration, Jira Service Management acts as a dispatcher for these alerts, determines the right people to notify based on on-call schedules– notifies via email, text messages (SMS), phone calls, and iPhone & Android push notifications, and escalates alerts until they are acknowledged or closed.

Jira Service Management has a specific API for SolarWinds NPM Integration, SolarWinds NPM sends alerts to Jira Service Management and Jira Service Management handles the automatic creation of alerts.

How does the integration work?

  • SolarWinds NPM triggers an alert when a monitored object satisfies the alert's conditions. When an alert is created in SolarWinds NPM, an alert is automatically created in Jira Service Management through the integration.

  • When the alert is acknowledged in Jira Service Management, an alert is acknowledged automatically in SolarWinds NPM as well, by running the script in OEC.

  • When a note is added to the alert in Jira Service Management, a note is also added to the alert in SolarWinds NPM as well, by running the script in OEC.

Microsoft servers (.NET based apps, MS S Channel, etc.) have problems with handling TLS (https) against Cloudflare; connection failures occur every one hour. Ensure that you have installed the update to improve TLS session resumption interoperability on your Microsoft servers to keep your integration stable.

Add SolarWinds NPM integration

If you're using the Free or Standard plan in Jira Service Management. To access the feature through Settings (gear icon) > Products (under JIRA SETTINGS) > OPERATIONS, you need to be on Premium or Enterprise plan.

Adding an integration from your team’s operations page makes your team the owner of the integration. This means Jira Service Management only assigns the alerts received through this integration to your team.

To add a SolarWinds NPM integration in Jira Service Management:

  1. Go to your team’s operations page.

  2. On the left navigation panel, select Integrations and then Add integration.

  3. Run a search and select “SolarWinds NPM”.

  4. On the next screen, enter a name for the integration.

  5. Optional: Select a team in Assignee team if you want a specific team to receive alerts from the integration.

  6. Select Continue.
    The integration is saved at this point.

  7. Expand the Steps to configure the integration section and copy the API key.
    You will use this API key while configuring the integration in SolarWinds NPM later.

  8. Select Turn on integration.
    The rules you create for the integration will work only if you turn on the integration.

Configure the integration in SolarWinds NPM

Jira Edge Connector is a prerequisite for configuring the outgoing authentication of Solarwinds Orion NPM integration. Download the latest version of the Solarwinds Orion NPM package from this repository.

  1. In SolarWinds NPM, go to Settings > Manage Alerts > Alert Manager.

  2. Select Add New Alert.

  3. Set alert properties as needed.
    Provide information about the alert, including its name, severity, how frequently to evaluate the conditions, and whether to restrict access to the alert using account limitations.

  4. Set trigger conditions as needed.
    The trigger action is executed when trigger conditions meet. SolarWinds NPM has a strong conditioning mechanism that gives users the opportunity to build complex conditions. All fields available in the database can be used in these conditions.
    Because of available variable variety and flexibility, building conditions in SolarWinds rather than Jira Service Management is highly recommended.

  5. Set a reset condition.
    The reset action is executed when the condition is met.

  6. Set the time interval for the alert to monitor your network, either always enabled or restricted to a specified time.

  7. Enter values for the trigger action and select Add Action.
    With this trigger action, SolarWinds NPM posts alert data to Jira Service Management and an alert is created in Jira Service Management. To send alert data back to Jira Service Management, set the trigger action to Send a Get or Post Request to a Web Server.

  8. Select POST method.

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

  10. Enter the variables to send to Jira Service Management in the following format: variable1=val1&variable2=val2.
    All variables sent with a Trigger action to Jira Service Management can be used in the alerts field "Create alert” action of the SolarWinds NPM Integration.

  11. Specify teams, recipients, and tags by putting them into the content. The default trigger action body can be sent from SolarWinds here.
    The "alias" field in the following example becomes the SolarWinds NPM alerts alias field. To make different alias configurations, change the value of the alias field in post content. Make sure the alias configurations in both "Trigger" and "Reset" are the same.

    Jira Service Management parses incoming data and creates robust alerts according to the incoming content. Modifying alert fields with incoming data can be done via dynamic fields.

    Create alerts for any monitored object (Nodes, Volumes, Interfaces etc.) in SolarWinds NPM. Use a "Send Http Request" action to send common fields and monitored object-specific fields. In the SolarWinds NPM Integration, alert-specific fields are available as custom integration fields. It still supports dynamic fields to be sent to Jira Service Management.

    Example: To include a NodeID variable in an alert in Jira Service Management – It's not one of the integration fields available so send it from the SolarWinds NPM to use it in alert configuration, dynamically. Make sure the variable name used in Jira Service Management and SolarWinds NPM is the same.

    Add NodeID variable to Http Post Body by: NodeID=${N=SwisEntity;M=NodeID} and then use it the SolarWinds NPM Integration "Create Alert Action" alert fields like in the following example of {{NodeID}}:

  12. Set the reset action. With a reset action, SolarWinds NPM posts the data that closes the corresponding alert in Jira Service Management. Configure the reset action with Send a Get or Post Request to a Web Server option. Find the default reset action body to send from SolarWinds NPM here.

  13. Review the alert configuration and select SUBMIT.

Configure Jira Service Management to update SolarWinds integration

This is an optional step.

Use the JEC utility and the SolarWinds script to update alerts on SolarWinds. With this setup, you can deploy your own script, modify the ones provided, or run customized actions on SolarWinds. To use the SolarWinds integration package, complete the following steps:

  1. Download the latest version of JEC for the SolarWinds package, go to the jec-scripts repository.

  2. Install the package.

 For Windows

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

To execute actions in SolarWinds, JEC gets the configuration parameters from the configuration file (found under the directory where the zip file is extracted). If you used the preferred path in Windows, it is C:\jsm\jec\config.json.

Learn about running JEC.

3. Select the Send Alert Actions To SolarWinds checkbox on the SolarWinds integration configuration page in Jira Service Management.

 Configuration parameters

Configuration parameter

 Description

url

URL to update SolarWinds alerts when alerts get acknowledged, commented, etc

host

The SolarWinds host

login

The login name to authenticate to the SolarWinds web server to get updates when alerts get acknowledged, commented, etc.

password

The password to authenticate to the SolarWinds web server to get updates when alerts get acknowledged, commented, etc.

The SolarWinds integration package does not support SSL v1.0. If your SolarWinds server has SSL v1.0, upgrade your SSL server.

Sample parameters sent from SolarWinds

 Sample parameters (in text format)
ActionType:Create
alias:1
ObjectID:1
NodeName:172.31.14.211
Acknowledged:Not Acknowledged
AcknowledgedBy:
AcknowledgedTime:Never
AcknowledgeUrl:http://WIN-PM7542TQNF9:8787/Orion/Netperfmon/AckAlert.aspx?AlertDefID=1
AlertDefID:e896e98d-b36b-4d7d-a32b-d6016269841d
AlertDescription:default description
AlertDetailsUrl:http://WIN-PM7542TQNF9:8787/Orion/View.aspx?NetObject=AAT:1
AlertID:49
AlertMessage:deneme was triggered
AlertName:deneme
AlertTriggerCount:312
AlertTriggerTime:Tuesday, January 5, 2016 8:16 AM
Application:SolarWinds.Core.Common
DateTime:Tuesday, January 5, 2016 8:16 AM
DownTime:0
LastEdit:Tuesday, January 5, 2016 8:16 AM
ObjectType:Node
Severity:Critical
TimeOfDay:Alert is always enabled
teams:team1, team2
recipients:test@abc.com, test2@abc.com
tags:tag1,tag2
 Payload parsed by Jira Service Management (in JSON format)
[
    "ActionType": "Create",
    "ObjectID": "1",
    "NodeName": "172.31.14.211",
    "AlertDefID": "e896e98d-b36b-4d7d-a32b-d6016269841d",
    "DownTime": 0,
    "AlertTriggerTime": "Tuesday, January 5, 2016 8:16 AM",
    "DateTime": "Tuesday, January 5, 2016 8:16 AM",
    "AlertTriggerCount": 312,
    "ObjectType": "Node",
    "AlertID": "49",
    "alias": "1",
    "AcknowledgedTime": "Never",
    "AlertMessage": "deneme was triggered",
    "TimeOfDay": "Alert is always enabled",
    "AcknowledgedBy": "",
    "AlertName": "deneme",
    "teams": "[team1, team2]",
    "originalTags": "[tag1, tag2]",
    "AcknowledgeUrl": "http://WIN-PM7542TQNF9:8787/Orion/Netperfmon/AckAlert.aspx?AlertDefID=1",
    "Severity": "Critical",
    "originalExtraProperties": "[AlertDefinitionID:e896e98d-b36b-4d7d-a32b-d6016269841d, ObjectType:Node, ObjectID:1]",
    "tags": "[tag1, tag2]",
    "AlertDescription": "default description",
    "LastEdit": "Tuesday, January 5, 2016 8:16 AM",
    "recipients": "[test@abc.com, test2@abc.com]",
    "AlertDetailsUrl": "http://WIN-PM7542TQNF9:8787/Orion/View.aspx?NetObject=AAT:1",
    "Application": "SolarWinds.Core.Common",
    "Acknowledged": "Not Acknowledged"
]

Troubleshooting

SolarWinds NPM sends the body without making any escapes on data. Hence, if any variables contain any characters that need to be escaped (like &), send the data in advanced mode. Use µ#µ instead of = and §#§ instead of &. Sending the data from SolarWinds NPM to Jira Service Management in either format produces the same results in Jira Service Management. Refer to a troubleshooting version of the default content for the trigger action body and reset action. Ensure that the Body to Post text matches this to Acknowledge/Close/AddNote actions on the SolarWinds side.

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.